FrameBuffer
fun FrameBuffer(width: Int, height: Int, hasDepth: Boolean = false, hasStencil: Boolean = false, hasPackedDepthStencil: Boolean = false, format: Pixmap.Format = Pixmap.Format.RGBA8888, minFilter: TexMinFilter = TexMinFilter.LINEAR, magFilter: TexMagFilter = TexMagFilter.LINEAR)
Parameters
width
the width of the framebuffer in pixels
height
the height of the framebuffer in pixels
hasDepth
whether to attach a depth buffer. Defaults to false.
hasStencil
whether to attach a stencil buffer. Defaults to false.
format
the format of the color buffer