Export (0) Print
Expand All

Transformation State Variables

Applies to: desktop apps only

GL_MODELVIEW_MATRIX
Description:Modelview matrix stack
Attribute group:
Initial value:Identity
Get command: glGetFloatv

 

GL_PROJECTION_MATRIX
Description:Projection matrix stack
Attribute group:
Initial value:Identity
Get command: glGetFloatv

 

GL_TEXTURE_MATRIX
Description:Texture matrix stack
Attribute group:
Initial value:Identity
Get command: glGetFloatv

 

GL_VIEWPORT
Description:Viewport origin and extent
Attribute group:viewport
Initial value:
Get command: glGetIntegerv

 

GL_DEPTH_RANGE
Description:Depth range near and far
Attribute group:viewport
Initial value:0, 1
Get command: glGetFloatv

 

GL_MODELVIEW_STACK_DEPTH
Description:Modelview matrix stack pointer
Attribute group:
Initial value:1
Get command: glGetIntegerv

 

GL_PROJECTION_STACK_DEPTH
Description:Projection matrix stack pointer
Attribute group:
Initial value:1
Get command: glGetIntegerv

 

GL_TEXTURE_STACK_DEPTH
Description:Texture matrix stack pointer
Attribute group:
Initial value:1
Get command: glGetIntegerv

 

GL_MATRIX_MODE
Description:Current matrix mode
Attribute group:transform
Initial value:GL_MODELVIEW
Get command: glGetIntegerv

 

GL_NORMALIZE
Description:Current normal normalization on/off
Attribute group:transform/enable
Initial value:GL_FALSE
Get command: glIsEnabled

 

GL_CLIP_PLANE i
Description:User clipping plane coefficients
Attribute group:transform
Initial value:0, 0, 0, 0
Get command: glGetClipPlane

 

GL_CLIP_PLANE i
Description:i th user clipping plane enabled
Attribute group:transform/enable
Initial value:GL_FALSE
Get command: glIsEnabled

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft