define the scissor box


glScissor( GLint ( x ) , GLint ( y ) , GLsizei ( width ) , GLsizei ( height ) )-> void
glScissor( x , y , width , height )


x, y
Specify the lower left corner of the scissor box. Initially (0, 0).
width, height
Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the dimensions of that window.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

OpenGLContext OpenGLContext/passes/ Lines: 238
OpenGLContext OpenGLContext/passes/ Lines: 516
OpenGLContext OpenGLContext/passes/ Lines: 254
{LGPL} PyUI pyui/renderers/ Lines: 262
{LGPL} PyUI2 renderers/ Lines: 262
{LGPL} Pyggel pyggel/ Lines: 80, 97