Reference Manual glGetPixelMap Subroutine Purpose Returns the specified pixel map. The glGetPixelMap subroutine returns in the Values parameter the contents of the pixel map specified by the Map parameter. Pixel maps are used during the execution of glReadPixels , glDrawPixels , glCopyPixels , glTexImage1D , and glTexImage2D to map color indices, stencil indices, color components, and depth components to other values. Parameters Map Specifies the name of the pixel map to return.
Values Returns the pixel map contents.
If an error is generated, no change is made to the contents of the Values parameter. The glGetPixelMap subroutine is called between a call to glBegin and the corresponding call to glEnd . Associated Gets Associated gets for the glGetPixelMap subroutine are as follows. OpenGL Overview .