Signature
Parameters
Variables | Description |
---|---|
pname |
Specifies the symbolic name of the parameter to be set.
Six values affect the packing of pixel data into memory:
GL_PACK_SWAP_BYTES
,
GL_PACK_LSB_FIRST
,
GL_PACK_ROW_LENGTH
,
GL_PACK_IMAGE_HEIGHT
,
GL_PACK_SKIP_PIXELS
,
GL_PACK_SKIP_ROWS
,
GL_PACK_SKIP_IMAGES
, and
GL_PACK_ALIGNMENT
.
Six more affect the unpacking of pixel data
from
memory:
GL_UNPACK_SWAP_BYTES
,
GL_UNPACK_LSB_FIRST
,
GL_UNPACK_ROW_LENGTH
,
GL_UNPACK_IMAGE_HEIGHT
,
GL_UNPACK_SKIP_PIXELS
,
GL_UNPACK_SKIP_ROWS
,
GL_UNPACK_SKIP_IMAGES
, and
GL_UNPACK_ALIGNMENT
.
|
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.
glPixelStorei