Transformation State Variables

GL\_MODELVIEW\_MATRIX
Property Value
Description: Modelview matrix stack
Attribute group:
Initial value: Identity
Get command: glGetFloatv

 

GL\_PROJECTION\_MATRIX
Property Value
Description: Projection matrix stack
Attribute group:
Initial value: Identity
Get command: glGetFloatv

 

GL\_TEXTURE\_MATRIX
Property Value
Description: Texture matrix stack
Attribute group:
Initial value: Identity
Get command: glGetFloatv

 

GL\_VIEWPORT
Property Value
Description: Viewport origin and extent
Attribute group: viewport
Initial value:
Get command: glGetIntegerv

 

GL\_DEPTH\_RANGE
Property Value
Description: Depth range near and far
Attribute group: viewport
Initial value: 0, 1
Get command: glGetFloatv

 

GL\_MODELVIEW\_STACK\_DEPTH
Property Value
Description: Modelview matrix stack pointer
Attribute group:
Initial value: 1
Get command: glGetIntegerv

 

GL\_PROJECTION\_STACK\_DEPTH
Property Value
Description: Projection matrix stack pointer
Attribute group:
Initial value: 1
Get command: glGetIntegerv

 

GL\_TEXTURE\_STACK\_DEPTH
Property Value
Description: Texture matrix stack pointer
Attribute group:
Initial value: 1
Get command: glGetIntegerv

 

GL\_MATRIX\_MODE
Property Value
Description: Current matrix mode
Attribute group: transform
Initial value: GL_MODELVIEW
Get command: glGetIntegerv

 

GL\_NORMALIZE
Property Value
Description: Current normal normalization on/off
Attribute group: transform/enable
Initial value: GL_FALSE
Get command: glIsEnabled

 

GL\_CLIP\_PLANE *i*
Property Value
Description: User clipping plane coefficients
Attribute group: transform
Initial value: 0, 0, 0, 0
Get command: glGetClipPlane

 

GL\_CLIP\_PLANE *i*
Property Value
Description: i th user clipping plane enabled
Attribute group: transform/enable
Initial value: GL_FALSE
Get command: glIsEnabled