resizeFbo

fun resizeFbo(newWidth: Int, newHeight: Int)

Resizes the internal FrameBuffer to the new width and height. This will dispose of the previous FrameBuffer and the texture.

Parameters

newWidth

the new width of the FrameBuffer

newHeight

the new width of the FrameBuffer