glPixelTransfer

set pixel transfer modes

Signature

glPixelTransfer( )->
glPixelTransferf( GLenum ( pname ) , GLfloat ( param ) )-> void
glPixelTransferf( pname , param )
glPixelTransferi( GLenum ( pname ) , GLint ( param ) )-> void
glPixelTransferi( pname , param )

Parameters

VariablesDescription
pname
Specifies the symbolic name of the pixel transfer parameter to be set. Must be one of the following: GL_MAP_COLOR , GL_MAP_STENCIL , GL_INDEX_SHIFT , GL_INDEX_OFFSET , GL_RED_SCALE , GL_RED_BIAS , GL_GREEN_SCALE , GL_GREEN_BIAS , GL_BLUE_SCALE , GL_BLUE_BIAS , GL_ALPHA_SCALE , GL_ALPHA_BIAS , GL_DEPTH_SCALE , or GL_DEPTH_BIAS .
param
Specifies the value that pname is set to.

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.

glPixelTransferf
Visvis wobjects/textures.py Lines: 167, 168, 169, 170, 171, 172, 177, 178, 179, 180, 181, 182