Transformation State Variables

  • 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_PLANEi

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

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