open fun setViewPort(width: Int, height: Int): Unit
Sets the GL Viewport used. User code is free to override this method, so long as the viewport is set somewhere (and the projection matrix updated).
width
- Int: int
The viewport width in pixels.
height
- Int: int
The viewport height in pixels.
open fun setViewPort(width: Int, height: Int): Unit
Sets the GL Viewport used. User code is free to override this method, so long as the viewport is set somewhere (and the projection matrix updated).
width
- Int: int
The viewport width in pixels.
height
- Int: int
The viewport height in pixels.