Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Pixel State Variables

Pixel State Variables

GL_UNPACK_SWAP_BYTES
Description:Value of GL_UNPACK_SWAP_BYTES
Attribute group:
Initial value:GL_FALSE
Get command: glGetBooleanv

 

GL_UNPACK_LSB_FIRST
Description:Value of GL_UNPACK_LSB_FIRST
Attribute group:
Initial value:GL_FALSE
Get command: glGetBooleanv

 

GL_UNPACK_ROW_LENGTH
Description:Value of GL_UNPACK_ROW_LENGTH
Attribute group:
Initial value:0
Get command: glGetIntegerv

 

GL_UNPACK_SKIP_ROWS
Description:Value of GL_UNPACK_SKIP_ROWS
Attribute group:
Initial value:0
Get command: glGetIntegerv

 

GL_UNPACK_SKIP_PIXELS
Description:Value of GL_UNPACK_SKIP_PIXELS
Attribute group:
Initial value:0
Get command: glGetIntegerv

 

GL_UNPACK_ALIGNMENT
Description:Value of GL_UNPACK_ALIGNMENT
Attribute group:
Initial value:4
Get command: glGetIntegerv

 

GL_PACK_SWAP_BYTES
Description:Value of GL_PACK_SWAP_BYTES
Attribute group:
Initial value:GL_FALSE
Get command: glGetBooleanv

 

GL_PACK_LSB_FIRST
Description:Value of GL_PACK_LSB_FIRST
Attribute group:
Initial value:GL_FALSE
Get command: glGetBooleanv

 

GL_PACK_ROW_LENGTH
Description:Value of GL_PACK_ROW_LENGTH
Attribute group:
Initial value:0
Get command: glGetIntegerv

 

GL_PACK_SKIP_ROWS
Description:Value of GL_PACK_SKIP_ROWS
Attribute group:
Initial value:0
Get command: glGetIntegerv

 

GL_PACK_SKIP_PIXELS
Description:Value of GL_PACK_SKIP_PIXELS
Attribute group:
Initial value:0
Get command: glGetIntegerv

 

GL_PACK_ALIGNMENT
Description:Value of GL_PACK_ALIGNMENT
Attribute group:
Initial value:4
Get command: glGetIntegerv

 

GL_MAP_COLOR
Description:True if colors are mapped
Attribute group:pixel
Initial value:GL_FALSE
Get command: glGetBooleanv

 

GL_MAP_STENCIL
Description:True if stencil values are mapped
Attribute group:pixel
Initial value:GL_FALSE
Get command: glGetBooleanv

 

GL_INDEX_SHIFT
Description:Value of GL_INDEX_SHIFT
Attribute group:pixel
Initial value:0
Get command: glGetIntegerv

 

GL_INDEX_OFFSET
Description:Value of GL_INDEX_OFFSET
Attribute group:pixel
Initial value:0
Get command: glGetIntegerv

 

GL_x_SCALE
Description:Value of GL_x_SCALE; is GL_RED, GL_BLUE, GL_ALPHA, or GL_DEPTH
Attribute group:pixel
Initial value:1
Get command: glGetFloatv

 

GL_x_BIAS
Description:Value of GL_x_BIAS; x is GL_RED GL_BLUE, GL_ALPHA, or GL_DEPTH
Attribute group:pixel
Initial value:0
Get command: glGetFloatv

 

GL_ZOOM_X
Description:x zoom factor
Attribute group:pixel
Initial value:1.0
Get command: glGetFloatv

 

GL_ZOOM_Y
Description:y zoom factor
Attribute group:pixel
Initial value:1.0
Get command: glGetFloatv

 

GL_x
Description:glPixelMap translation tables
Attribute group:pixel
Initial value:0's
Get command: glGetPixelMap

 

GL_x_SIZE
Description:Size of table x
Attribute group:pixel
Initial value:1
Get command: glGetIntegerv

 

GL_READ_BUFFER
Description:Read source buffer
Attribute group:pixel
Initial value:
Get command: glGetIntegerv

 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft