Previous: OpenGL.GL.framebufferobjects OpenGL. GL. glget Next: OpenGL.GL.images

OpenGL. GL. glget

Implementation of the special "glGet" functions
For comparison, here's what a straightforward implementation looks like:
def glGetDoublev( pname ): "Natural writing of glGetDoublev using standard ctypes" output = c_double*sizes.get( pname ) result = output() result = platform.OpenGL.glGetDoublev( pname, byref(result) ) return Numeric.array( result )

Functions

Previous: OpenGL.GL.framebufferobjects OpenGL. GL. glget Next: OpenGL.GL.images