Rediger

Del via


Pixel State Variables

GL\_UNPACK\_SWAP\_BYTES
Property Value
Description: Value of GL_UNPACK_SWAP_BYTES
Attribute group:
Initial value: GL_FALSE
Get command: glGetBooleanv

 

GL\_UNPACK\_LSB\_FIRST
Property Value
Description: Value of GL_UNPACK_LSB_FIRST
Attribute group:
Initial value: GL_FALSE
Get command: glGetBooleanv

 

GL\_UNPACK\_ROW\_LENGTH
Property Value
Description: Value of GL_UNPACK_ROW_LENGTH
Attribute group:
Initial value: 0
Get command: glGetIntegerv

 

GL\_UNPACK\_SKIP\_ROWS
Property Value
Description: Value of GL_UNPACK_SKIP_ROWS
Attribute group:
Initial value: 0
Get command: glGetIntegerv

 

GL\_UNPACK\_SKIP\_PIXELS
Property Value
Description: Value of GL_UNPACK_SKIP_PIXELS
Attribute group:
Initial value: 0
Get command: glGetIntegerv

 

GL\_UNPACK\_ALIGNMENT
Property Value
Description: Value of GL_UNPACK_ALIGNMENT
Attribute group:
Initial value: 4
Get command: glGetIntegerv

 

GL\_PACK\_SWAP\_BYTES
Property Value
Description: Value of GL_PACK_SWAP_BYTES
Attribute group:
Initial value: GL_FALSE
Get command: glGetBooleanv

 

GL\_PACK\_LSB\_FIRST
Property Value
Description: Value of GL_PACK_LSB_FIRST
Attribute group:
Initial value: GL_FALSE
Get command: glGetBooleanv

 

GL\_PACK\_ROW\_LENGTH
Property Value
Description: Value of GL_PACK_ROW_LENGTH
Attribute group:
Initial value: 0
Get command: glGetIntegerv

 

GL\_PACK\_SKIP\_ROWS
Property Value
Description: Value of GL_PACK_SKIP_ROWS
Attribute group:
Initial value: 0
Get command: glGetIntegerv

 

GL\_PACK\_SKIP\_PIXELS
Property Value
Description: Value of GL_PACK_SKIP_PIXELS
Attribute group:
Initial value: 0
Get command: glGetIntegerv

 

GL\_PACK\_ALIGNMENT
Property Value
Description: Value of GL_PACK_ALIGNMENT
Attribute group:
Initial value: 4
Get command: glGetIntegerv

 

GL\_MAP\_COLOR
Property Value
Description: True if colors are mapped
Attribute group: pixel
Initial value: GL_FALSE
Get command: glGetBooleanv

 

GL\_MAP\_STENCIL
Property Value
Description: True if stencil values are mapped
Attribute group: pixel
Initial value: GL_FALSE
Get command: glGetBooleanv

 

GL\_INDEX\_SHIFT
Property Value
Description: Value of GL_INDEX_SHIFT
Attribute group: pixel
Initial value: 0
Get command: glGetIntegerv

 

GL\_INDEX\_OFFSET
Property Value
Description: Value of GL_INDEX_OFFSET
Attribute group: pixel
Initial value: 0
Get command: glGetIntegerv

 

GL\_*x*\_SCALE
Property Value
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
Property Value
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
Property Value
Description: x zoom factor
Attribute group: pixel
Initial value: 1.0
Get command: glGetFloatv

 

GL\_ZOOM\_Y
Property Value
Description: y zoom factor
Attribute group: pixel
Initial value: 1.0
Get command: glGetFloatv

 

GL\_*x*
Property Value
Description: glPixelMap translation tables
Attribute group: pixel
Initial value: 0's
Get command: glGetPixelMap

 

GL\_*x*\_SIZE
Property Value
Description: Size of table x
Attribute group: pixel
Initial value: 1
Get command: glGetIntegerv

 

GL\_READ\_BUFFER
Property Value
Description: Read source buffer
Attribute group: pixel
Initial value:
Get command: glGetIntegerv