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.PLATFORM.GL.glGetDoublev( pname, byref(result) ) return Numeric.array( result )

Functions

addGLGetConstant( constant , arraySize )
Add a glGet* constant to return an output array of correct size
addGLGetTexParameterConstant( constant , arraySize )
GL_GET_PIXEL_MAP_SIZE( pname )
Given a pname, lookup the size using a glGet query...

AltStyle によって変換されたページ (->オリジナル) /