setUpScissor

fun setUpScissor(x: Int, y: Int, width: Int, height: Int)

Sets up a GL scissor test for the specified region of the screen.

Uses the same coordinate system as all the rendering methods. The native OpenGL method GL11.glScissor uses a different coordinate system. This method takes care of the coordinate transform for you.

See also