Export (0) Print
Expand All

Implementation-Dependent State Variables

GL_MAX_LIGHTS
Description: Maximum number of lights
Attribute group:
Initial value: 8
Get command: glGetIntegerv

GL_MAX_CLIP_PLANES
Description: Maximum number of user clipping planes
Attribute group:
Initial value: 6
Get command: glGetIntegerv

GL_MAX_MODELVIEW_STACK_DEPTH
Description: Maximum modelview-matrix stack depth
Attribute group:
Initial value: 32
Get command: glGetIntegerv

GL_MAX_PROJECTION_STACK_DEPTH
Description: Maximum projection-matrix stack depth
Attribute group:
Initial value: 2
Get command: glGetIntegerv

GL_MAX_MAX_TEXTURE_STACK_DEPTH
Description: Maximum depth of texture matrix stack
Attribute group:
Initial value: 2
Get command: glGetIntegerv

GL_SUBPIXEL_BITS
Description: Number of bits of subpixel precision in x and y
Attribute group:
Initial value: 4
Get command: glGetIntegerv

GL_MAX_TEXTURE_SIZE
Description: Maximum height or width of a texture image (without borders)
Attribute group:
Initial value: 64
Get command: glGetIntegerv

GL_MAX_PIXEL_MAP_TABLE
Description: Maximum size of a glPixelMap translation table
Attribute group:
Initial value: 32
Get command: glGetIntegerv

GL_MAX_NAME_STACK_DEPTH
Description: Maximum selection-name stack depth
Attribute group:
Initial value: 64
Get command: glGetIntegerv

GL_MAX_LIST_NESTING
Description: Maximum display-list call nesting
Attribute group:
Initial value: 64
Get command: glGetIntegerv

GL_MAX_EVAL_ORDER
Description: Maximum evaluator polynomial order
Attribute group:
Initial value: 8
Get command: glGetIntegerv

GL_MAX_VIEWPORT_DIMS
Description: Maximum viewport dimensions
Attribute group:
Initial value:
Get command: glGetIntegerv

GL_MAX_ATTRIB_STACK_DEPTH
Description: Maximum depth of the attribute stack
Attribute group:
Initial value: 16
Get command: glGetIntegerv

GL_AUX_BUFFERS
Description: Number of auxiliary buffers
Attribute group:
Initial value: 0
Get command: glGetBooleanv

GL_RGBA_MODE
Description: True if color buffers store RGBA
Attribute group:
Initial value:
Get command: glGetBooleanv

GL_INDEX_MODE
Description: True if color buffers store indexes
Attribute group:
Initial value:
Get command: glGetBooleanv

GL_DOUBLEBUFFER
Description: True if front and back buffers exist
Attribute group:
Initial value:
Get command: glGetBooleanv

GL_STEREO
Description: True if left and right buffers exist
Attribute group:
Initial value:
Get command: glGetFloatv

GL_POINT_SIZE_RANGE
Description: Range (low to high) of antialiased point sizes
Attribute group:
Initial value: 1, 1
Get command: glGetFloatv

GL_POINT_SIZE_GRANULARITY
Description: Antialiased point size granularity
Attribute group:
Initial value:
Get command: glGetFloatv

GL_LINE_WIDTH_RANGE
Description: Range (low to high) of antialiased line widths
Attribute group:
Initial value: 1, 1
Get command: glGetFloatv

GL_LINE_WIDTH_GRANULARITY
Description: Antialiased line-width granularity
Attribute group:
Initial value:
Get command: glGetFloatv


  

Community Additions

Show:
© 2015 Microsoft