glGetPixelMap

return the specified pixel map

Signature

glGetPixelMap( )->
glGetPixelMapfv( GLenum ( map ) , GLfloat * ( data ) )-> void
glGetPixelMapfv( map , values )
glGetPixelMapuiv( GLenum ( map ) , GLuint * ( data ) )-> void
glGetPixelMapuiv( map , values )
glGetPixelMapusv( GLenum ( map ) , GLushort * ( data ) )-> void
glGetPixelMapusv( map , values )

Parameters

VariablesDescription
map
Specifies the name of the pixel map to return. Accepted values are GL_PIXEL_MAP_I_TO_I , GL_PIXEL_MAP_S_TO_S , GL_PIXEL_MAP_I_TO_R , GL_PIXEL_MAP_I_TO_G , GL_PIXEL_MAP_I_TO_B , GL_PIXEL_MAP_I_TO_A , GL_PIXEL_MAP_R_TO_R , GL_PIXEL_MAP_G_TO_G , GL_PIXEL_MAP_B_TO_B , and GL_PIXEL_MAP_A_TO_A .
data
Returns the pixel map contents.

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.

glGetPixelMapfv
OpenGLContext tests/glgetpixelmap.py Lines: 14