Signature
Parameters
Variables | Description |
---|---|
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