Rediger

Del via


Implementation-Dependent State Variables

GL\_MAX\_LIGHTS
Property Value
Description: Maximum number of lights
Attribute group:
Initial value: 8
Get command: glGetIntegerv

 

GL\_MAX\_CLIP\_PLANES
Property Value
Description: Maximum number of user clipping planes
Attribute group:
Initial value: 6
Get command: glGetIntegerv

 

GL\_MAX\_MODELVIEW\_STACK\_DEPTH
Property Value
Description: Maximum modelview-matrix stack depth
Attribute group:
Initial value: 32
Get command: glGetIntegerv

 

GL\_MAX\_PROJECTION\_STACK\_DEPTH
Property Value
Description: Maximum projection-matrix stack depth
Attribute group:
Initial value: 2
Get command: glGetIntegerv

 

GL\_MAX\_TEXTURE\_STACK\_DEPTH
Property Value
Description: Maximum depth of texture matrix stack
Attribute group:
Initial value: 2
Get command: glGetIntegerv

 

GL\_SUBPIXEL\_BITS
Property Value
Description: Number of bits of subpixel precision in x and y
Attribute group:
Initial value: 4
Get command: glGetIntegerv

 

GL\_MAX\_TEXTURE\_SIZE
Property Value
Description: Maximum height or width of a texture image (without borders)
Attribute group:
Initial value: 64
Get command: glGetIntegerv

 

GL\_MAX\_PIXEL\_MAP\_TABLE
Property Value
Description: Maximum size of a glPixelMap translation table
Attribute group:
Initial value: 32
Get command: glGetIntegerv

 

GL\_MAX\_NAME\_STACK\_DEPTH
Property Value
Description: Maximum selection-name stack depth
Attribute group:
Initial value: 64
Get command: glGetIntegerv

 

GL\_MAX\_LIST\_NESTING
Property Value
Description: Maximum display-list call nesting
Attribute group:
Initial value: 64
Get command: glGetIntegerv

 

GL\_MAX\_EVAL\_ORDER
Property Value
Description: Maximum evaluator polynomial order
Attribute group:
Initial value: 8
Get command: glGetIntegerv

 

GL\_MAX\_VIEWPORT\_DIMS
Property Value
Description: Maximum viewport dimensions
Attribute group:
Initial value:
Get command: glGetIntegerv

 

GL\_MAX\_ATTRIB\_STACK\_DEPTH
Property Value
Description: Maximum depth of the attribute stack
Attribute group:
Initial value: 16
Get command: glGetIntegerv

 

GL\_AUX\_BUFFERS
Property Value
Description: Number of auxiliary buffers
Attribute group:
Initial value: 0
Get command: glGetBooleanv

 

GL\_RGBA\_MODE
Property Value
Description: True if color buffers store RGBA
Attribute group:
Initial value:
Get command: glGetBooleanv

 

GL\_INDEX\_MODE
Property Value
Description: True if color buffers store indexes
Attribute group:
Initial value:
Get command: glGetBooleanv

 

GL\_DOUBLEBUFFER
Property Value
Description: True if front and back buffers exist
Attribute group:
Initial value:
Get command: glGetBooleanv

 

GL\_STEREO
Property Value
Description: True if left and right buffers exist
Attribute group:
Initial value:
Get command: glGetFloatv

 

GL\_POINT\_SIZE\_RANGE
Property Value
Description: Range (low to high) of antialiased point sizes
Attribute group:
Initial value: 1, 1
Get command: glGetFloatv

 

GL\_POINT\_SIZE\_GRANULARITY
Property Value
Description: Antialiased point size granularity
Attribute group:
Initial value:
Get command: glGetFloatv

 

GL\_LINE\_WIDTH\_RANGE
Property Value
Description: Range (low to high) of antialiased line widths
Attribute group:
Initial value: 1, 1
Get command: glGetFloatv

 

GL\_LINE\_WIDTH\_GRANULARITY
Property Value
Description: Antialiased line-width granularity
Attribute group:
Initial value:
Get command: glGetFloatv