A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://pyopengl.sourceforge.net/documentation/pydoc/OpenGL.GL.glget.html below:

OpenGL.GL.glget

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...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4