A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
313
stars
12
forks
source link
Add ability to reuse `GlFrameBuffer` and optimize `FrameBuffer` to not create a `GlFrameBuffer` object per `begin()` & `end()` call #228
Closed
LeHaine closed 7 months ago
fbo: add new GlFrameBuffer.EmptyGlFrameBuffer companion object function
gl: update GL.getBoundFrameBuffer to allow for optional 'out' param to prevent constant creation of new GlFrameBuffers
gl: update backend GlFrameBuffers to allow changing referene
fbo: optimze FrameBuffer to reuse GlFrameBuffer objects instead of creating new one on each begin() and end() call