#******************************************************************************
#
#       Copyright:      2005-2022 Paul Obermeier (obermeier@tcl3d.org)
#
#                       See the file "Tcl3D_License.txt" for information on
#                       usage and redistribution of this file, and for a
#                       DISCLAIMER OF ALL WARRANTIES.
#
#       Module:         TclOgl
#       Filename:       glSpec20.txt
#
#       Author:         Paul Obermeier
#
#       Description:    The ASCII representation of the OpenGL state variables.
#                       This is a linearized version of the state tables
#                       listed in chapter 6.2 of the OpenGL Reference 
#                       specification (Version 2.0 - October 22, 2004).
#
#******************************************************************************

# Tested on SuSE 9.3 GL_VERSION: 2.0.0 NVIDIA 76.67
#
# The following OpenGL 2.0 commands are not yet implemented in NVidia driver:
# GetShaderiv, GetShaderLogInfo, GetProgramInfoLog
#
# The following OpenGL 2.0 enumerations are not yet implemented in NVidia driver:
# GL_POINT_SPRITE_COORD_ORIGIN

# The following OpenGL 2.0 commands are available in NVidia driver with the old names:
# GetShaderSource       is available as         GetShaderSourceARB
# GetProgramiv          is available as         GetProgramivARB
# GetAttachedShaders    is available as         GetAttachedObjectsARB
# GetUniformLocation    is available as         GetUniformLocationARB
# GetActiveUniform      is available as         GetActiveUniformARB
# GetUniform            is available as         GetUniformfvARB
# GetAttribLocation     is available as         GetAttribLocationARB
# GetActiveAttrib       is available as         GetActiveAttribARB
#
# GetVertexAttribute            -->     GetVertexAttribfvARB
# CURRENT_VERTEX_ATTRIB
#
# GetVertexAttrib               -->     GetVertexAttribivARB
# VERTEX_ATTRIB_ARRAY_ENABLED
# VERTEX_ATTRIB_ARRAY_SIZE
# VERTEX_ATTRIB_ARRAY_STRIDE
# VERTEX_ATTRIB_ARRAY_TYPE
# VERTEX_ATTRIB_ARRAY_NORMALIZED
#
# GetVertexAttribPointer        -->     GetVertexAttribPointervARB
# VERTEX_ATTRIB_ARRAY_POINTER
#
# GetTexParameter               -->     GetTexParameterfv
# TEXTURE_BORDER_COLOR
#
# GetTexParameter               -->     GetTexParameteriv
# TEXTURE_MIN_FILTER
# TEXTURE_MAG_FILTER
# TEXTURE_WRAP_S
# TEXTURE_WRAP_T
# TEXTURE_WRAP_R
# GENERATE_MIPMAP
# TEXTURE_WIDTH
# TEXTURE_HEIGHT
# TEXTURE_DEPTH
# TEXTURE_BORDER
# TEXTURE_INTERNAL_FORMAT
# TEXTURE_RED_SIZE
# TEXTURE_GREEN_SIZE
# TEXTURE_BLUE_SIZE
# TEXTURE_ALPHA_SIZE
# TEXTURE_LUMINANCE_SIZE
# TEXTURE_INTENSITY_SIZE
# TEXTURE_DEPTH_SIZE
# TEXTURE_COMPRESSED
# TEXTURE_COMPRESSED_IMAGE_SIZE
# 
# GetTexParameterfv             -->     GetTexParameteriv
# TEXTURE_BASE_LEVEL
# TEXTURE_MAX_LEVEL
#
# FOG_COORD_SRC                 -->     FOG_COORD_SOURCE



CURRENT_COLOR
C
GetIntegerv,GetFloatv
1,1,1,1 
Current color
2.7
current

CURRENT_SECONDARY_COLOR
C
GetIntegerv,GetFloatv
0,0,0,1 
Current secondary color
2.7 
current

CURRENT_INDEX
CI
GetIntegerv,GetFloatv
1
Current color index
2.7
current

CURRENT_TEXTURE_COORDS
2** T
GetFloatv
0,0,0,1
Current texture coordinates
2.7
current

CURRENT_NORMAL
N
GetFloatv
0,0,1
Current normal
2.7
current

CURRENT_FOG_COORD
R
GetIntegerv,GetFloatv
0 
Current fog coordinate
2.7
current

CURRENT_RASTER_POSITION
R4
GetFloatv
0,0,0,1 
Current raster position
2.13
current

CURRENT_RASTER_DISTANCE
R+
GetFloatv
0
Current raster distance
2.13
current

CURRENT_RASTER_COLOR
C
GetFloatv
1,1,1,1
Color associated with raster position
2.13
current

CURRENT_RASTER_INDEX
CI
GetIntegerv
1
Color index associated with raster position
2.13
current

CURRENT_RASTER_TEXTURE_COORDS
2**T
GetFloatv
0,0,0,1
Texture coordinates associated with raster position
2.13
current

CURRENT_RASTER_POSITION_VALID
B
GetBooleanv 
True
Raster position valid bit
2.13
current

EDGE_FLAG 
B
GetBooleanv
True
Edge flag
2.6.2
current




CLIENT_ACTIVE_TEXTURE
Z2* 
GetIntegerv
TEXTURE0
Client active texture unit selector
2.7
vertex-array

VERTEX_ARRAY
B
IsEnabled
False
Vertex array enable
2.8
vertex-array

VERTEX_ARRAY_SIZE
Z+
GetIntegerv
4
Coordinates per vertex
2.8 
vertex-array

VERTEX_ARRAY_TYPE
Z4
GetIntegerv
FLOAT
Type of vertex coordinates
2.8
vertex-array

VERTEX_ARRAY_STRIDE
Z+
GetIntegerv
0 
Stride between vertices
2.8
vertex-array

VERTEX_ARRAY_POINTER
Y
GetPointerv
0
Pointer to the vertex array
2.8
vertex-array

NORMAL_ARRAY
B
IsEnabled
False
Normal array enable
2.8
vertex-array

NORMAL_ARRAY_TYPE
Z5
GetIntegerv
FLOAT
Type of normal coordinates
2.8
vertex-array

NORMAL_ARRAY_STRIDE
Z+
GetIntegerv
0 
Stride between normals
2.8
vertex-array

NORMAL_ARRAY_POINTER 
Y 
GetPointerv
0
Pointer to the normal array
2.8
vertex-array

FOG_COORD_ARRAY
B
IsEnabled
False
Fog coord array enable
2.8
vertex-array

FOG_COORD_ARRAY_TYPE
Z2
GetIntegerv 
FLOAT
Type of fog coord components
2.8
vertex-array

FOG_COORD_ARRAY_STRIDE 
Z+
GetIntegerv
0 
Stride between fog coords
2.8
vertex-array

FOG_COORD_ARRAY_POINTER
Y
GetPointerv
0 
Pointer to the fog coord array
2.8
vertex-array

COLOR_ARRAY
B
IsEnabled
False
Color array enable
2.8
vertex-array

COLOR_ARRAY_SIZE
Z+
GetIntegerv
4
Color components per vertex
2.8
vertex-array

COLOR_ARRAY_TYPE
Z8
GetIntegerv
FLOAT
Type of color components
2.8
vertex-array

COLOR_ARRAY_STRIDE
Z+
GetIntegerv
0
Stride between colors
2.8
vertex-array

COLOR_ARRAY_POINTER
Y
GetPointerv
0 
Pointer to the color array
2.8 
vertex-array

SECONDARY_COLOR_ARRAY
B
IsEnabled
False
Secondary color array enable
2.8
vertex-array

SECONDARY_COLOR_ARRAY_SIZE
Z+
GetIntegerv 
3
Secondary color components per vertex
2.8
vertex-array

SECONDARY_COLOR_ARRAY_TYPE
Z8 
GetIntegerv
FLOAT
Type of secondary color components
2.8 
vertex-array

SECONDARY_COLOR_ARRAY_STRIDE
Z+
GetIntegerv
0
Stride between secondary colors
2.8
vertex-array

SECONDARY_COLOR_ARRAY_POINTER
Y
GetPointerv
0
Pointer to the secondary color array
2.8 
vertex-array

INDEX_ARRAY
B
IsEnabled
False
Index array enable
2.8 
vertex-array

INDEX_ARRAY_TYPE
Z4 
GetIntegerv
FLOAT
Type of indices
2.8 
vertex-array

INDEX_ARRAY_STRIDE
Z+
GetIntegerv
0 
Stride between indices
2.8 
vertex-array

INDEX_ARRAY_POINTER
Y 
GetPointerv
0 
Pointer to the index array
2.8
vertex-array

TEXTURE_COORD_ARRAY
2**B
IsEnabled
False
Texture coordinate array enable
2.8 
vertex-array

TEXTURE_COORD_ARRAY_SIZE
2**Z+
GetIntegerv
4 
Coordinates per element
2.8 
vertex-array

TEXTURE_COORD_ARRAY_TYPE
2**Z4
GetIntegerv
FLOAT
Type of texture coordinates
2.8 
vertex-array

TEXTURE_COORD_ARRAY_STRIDE
2**Z+
GetIntegerv
0 
Stride between texture coordinates
2.8 
vertex-array

TEXTURE_COORD_ARRAY_POINTER
2**Y
GetPointerv
0
Pointer to the texture coordinate array
2.8 
vertex-array

VERTEX_ATTRIB_ARRAY_ENABLED
16+*B
GetVertexAttribiv
False 
Vertex attrib array enable
2.8 
vertex-array

VERTEX_ATTRIB_ARRAY_SIZE
16+*Z
GetVertexAttribiv
4 
Vertex attrib array size
2.8 
vertex-array

VERTEX_ATTRIB_ARRAY_STRIDE
16+ *Z+
GetVertexAttribiv
0 
Vertex attrib array stride
2.8 
vertex-array

VERTEX_ATTRIB_ARRAY_TYPE
16 +* Z4
GetVertexAttribiv
FLOAT
Vertex attrib array type
2.8 
vertex-array

VERTEX_ATTRIB_ARRAY_NORMALIZED
16 +* B
GetVertexAttribiv
False
Vertex attrib array normalized
2.8 
vertex-array

VERTEX_ATTRIB_ARRAY_POINTER
16 +* P
GetVertexAttribPointerv
NULL 
Vertex attrib array pointer
2.8 
vertex-array

EDGE_FLAG_ARRAY
B
IsEnabled
False
Edge flag array enable
2.8
vertex-array

EDGE_FLAG_ARRAY_STRIDE
Z+
GetIntegerv
0
Stride between edge flags
2.8 
vertex-array

EDGE_FLAG_ARRAY_POINTER
Y
GetPointerv
0
Pointer to the edge flag array
2.8 
vertex-array

ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0
Current buffer binding
2.9 
vertex-array

VERTEX_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0 
Vertex array buffer binding
2.9 
vertex-array

NORMAL_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0 
Normal array buffer binding
2.9 
vertex-array

COLOR_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0
Color array buffer binding
2.9 
vertex-array

INDEX_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0
Index array buffer binding
2.9 
vertex-array

TEXTURE_COORD_ARRAY_BUFFER_BINDING
2** Z+
GetIntegerv
0 
Texcoord array buffer binding
2.9 
vertex-array

EDGE_FLAG_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0 
Edge flag array buffer binding
2.9 
vertex-array

SECONDARY_COLOR_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0
Secondary color array buffer binding
2.9 
vertex-array

FOG_COORD_ARRAY_BUFFER_BINDING
Z+
GetIntegerv
0 
Fog coordinate array buffer binding
2.9 
vertex-array

ELEMENT_ARRAY_BUFFER_BINDING 
Z+
GetIntegerv
0
Element array buffer binding 
2.9.2 
vertex-array

-
n*BMU
GetBufferSubData
-
buffer data
2.9
-

BUFFER_SIZE
n* Z+
GetBufferParameteriv
0
Buffer data size
2.9
-

BUFFER_USAGE
n* Z 9
GetBufferParameteriv 
STATIC_DRAW
Buffer usage pattern
2.9
-

BUFFER_ACCESS
n* Z 3
GetBufferParameteriv 
READ_WRITE
Buffer access flag
2.9
-

BUFFER_MAPPED
n* B
GetBufferParameteriv 
FALSE
Buffer map flag
2.9
-

BUFFER_MAP_POINTER
n* Y
GetBufferPointerv
NULL
Mapped buffer pointer
2.9 
-

COLOR_MATRIX
2**M4
GetFloatv
Identity 
Color matrix stack
3.6.3
-

TRANSPOSE_COLOR_MATRIX
2**M4
GetFloatv
Identity 
Color matrix stack
3.6.3
-

MODELVIEW_MATRIX
32**M4
GetFloatv
Identity
Model-view matrix stack
2.11.2
-

TRANSPOSE_MODELVIEW_MATRIX
32**M4
GetFloatv
Identity
Model-view matrix stack
2.11.2
-

PROJECTION_MATRIX
2**M4
GetFloatv
Identity
Projection matrix stack
2.11.2
-

TRANSPOSE_PROJECTION_MATRIX
2**M4
GetFloatv
Identity
Projection matrix stack
2.11.2
-

TEXTURE_MATRIX
2* x2 *xM4
GetFloatv
Identity
Texture matrix stack
2.11.2
-

TRANSPOSE_TEXTURE_MATRIX
2* x2 *xM4
GetFloatv
Identity
Texture matrix stack
2.11.2
-

VIEWPORT
4* Z
GetIntegerv
see 2.11.1
Viewport origin & extent
2.11.1
viewport

DEPTH_RANGE
2* R +
GetFloatv
0,1
Depth range near & far
2.11.1
viewport

COLOR_MATRIX_STACK_DEPTH
Z+
GetIntegerv
1 
Color matrix stack pointer
3.6.3
-

MODELVIEW_STACK_DEPTH
Z+
GetIntegerv
1 
Model-view matrix stack pointer
2.11.2
-

PROJECTION_STACK_DEPTH
Z+
GetIntegerv
1
Projection matrix stack pointer
2.11.2
-

TEXTURE_STACK_DEPTH
2** Z+
GetIntegerv
1 
Texture matrix stack pointer
2.11.2
-

MATRIX_MODE
Z4
GetIntegerv
MODELVIEW
Current matrix mode
2.11.2
transform

NORMALIZE
B
IsEnabled
False 
Current normal normalization on/off
2.11.3 
transform/enable

RESCALE_NORMAL
B
IsEnabled
False
Current normal rescaling on/off
2.11.3 
transform/enable

CLIP_PLANE0
6**R4
GetClipPlane
0,0,0,0
User clipping plane 0 coefficients
2.12
transform

CLIP_PLANE1
6**R4
GetClipPlane
0,0,0,0
User clipping plane 1 coefficients
2.12
transform

CLIP_PLANE2
6**R4
GetClipPlane
0,0,0,0
User clipping plane 2 coefficients
2.12
transform

CLIP_PLANE3
6**R4
GetClipPlane
0,0,0,0
User clipping plane 3 coefficients
2.12
transform

CLIP_PLANE4
6**R4
GetClipPlane
0,0,0,0
User clipping plane 4 coefficients
2.12
transform

CLIP_PLANE5
6**R4
GetClipPlane
0,0,0,0
User clipping plane 5 coefficients
2.12
transform

CLIP_PLANE0
6**B
IsEnabled
False 
User clipping plane 0 enabled
2.12
transform/enable

CLIP_PLANE1
6**B
IsEnabled
False 
User clipping plane 1 enabled
2.12
transform/enable

CLIP_PLANE2
6**B
IsEnabled
False 
User clipping plane 2 enabled
2.12
transform/enable

CLIP_PLANE3
6**B
IsEnabled
False 
User clipping plane 3 enabled
2.12
transform/enable

CLIP_PLANE4
6**B
IsEnabled
False 
User clipping plane 4 enabled
2.12
transform/enable

CLIP_PLANE5
6**B
IsEnabled
False 
User clipping plane 5 enabled
2.12
transform/enable


FOG_COLOR
C 
GetFloatv
0,0,0,0
Fog color
3.10
fog

FOG_INDEX
CI 
GetFloatv
0
Fog index
3.10 
fog

FOG_DENSITY
R 
GetFloatv
1.0
Exponential fog density
3.10 
fog

FOG_START
R 
GetFloatv
0.0 
Linear fog start
3.10 
fog

FOG_END
R 
GetFloatv
1.0 
Linear fog end
3.10 
fog

FOG_MODE
Z3
GetIntegerv
EXP
Fog mode
3.10 
fog

FOG
B
IsEnabled
False
True if fog enabled
3.10 
fog/enable

FOG_COORD_SOURCE
Z2
GetIntegerv
FRAGMENT_DEPTH
Source of coordinate for fog calculation
3.10 
fog

COLOR_SUM
B
IsEnabled
False 
True if color sum enabled
3.9 
fog/enable

SHADE_MODEL
Z+
GetIntegerv
SMOOTH
ShadeModel setting
2.14.7
lighting

LIGHTING
B
IsEnabled
False 
True if lighting is enabled
2.14.1
lighting/enable

COLOR_MATERIAL
B
IsEnabled
False
True if color tracking is enabled
2.14.3
lighting/enable

COLOR_MATERIAL_PARAMETER
Z5
GetIntegerv
AMBIENT_AND_DIFFUSE
Material properties tracking current color
2.14.3
lighting

COLOR_MATERIAL_FACE
Z3
GetIntegerv
FRONT_AND_BACK
Face(s) affected by color tracking
2.14.3
lighting

AMBIENT
2* C
GetMaterialfv
(0.2,0.2,0.2,1.0)
Ambient material color
2.14.1
lighting

DIFFUSE
2* C
GetMaterialfv
(0.8,0.8,0.8,1.0) 
Diffuse material color
2.14.1
lighting

SPECULAR
2* C
GetMaterialfv
(0.0,0.0,0.0,1.0) 
Specular material color
2.14.1
lighting

EMISSION
2* C
GetMaterialfv
(0.0,0.0,0.0,1.0) 
Emissive material color
2.14.1
lighting

SHININESS
2* R
GetMaterialfv
0.0 
Specular exponent of material
2.14.1
lighting

LIGHT_MODEL_AMBIENT
C
GetFloatv
(0.2,0.2,0.2,1.0)
Ambient scene color 
2.14.1
lighting

LIGHT_MODEL_LOCAL_VIEWER
B
GetBooleanv
False
Viewer islocal
2.14.1
lighting

LIGHT_MODEL_TWO_SIDE
B
GetBooleanv
False
Use two-sided lighting
2.14.1
lighting

LIGHT_MODEL_COLOR_CONTROL
Z2
GetIntegerv
SINGLE_COLOR
Color control 
2.14.1
lighting

AMBIENT
8** C
GetLightfv
(0.0,0.0,0.0,1.0)
Ambient intensity of light i
2.14.1
lighting

DIFFUSE 
8** C
GetLightfv
see table 2.10
Diffuse intensity of light i
2.14.1
lighting

SPECULAR
8** C
GetLightfv
see table 2.10
Specular intensity of light i 
2.14.1
lighting

POSITION 
8** P
GetLightfv
(0.0,0.0,1.0,0.0)
Position of light i
2.14.1
lighting

CONSTANT_ATTENUATION
8** R +
GetLightfv
1.0
Constant atten. factor
2.14.1
lighting

LINEAR_ATTENUATION
8** R +
GetLightfv
0.0 
Linear atten. factor
2.14.1
lighting

QUADRATIC_ATTENUATION
8** R +
GetLightfv
0.0
Quadratic atten. factor
2.14.1
lighting

SPOT_DIRECTION
8** D
GetLightfv
(0.0,0.0,-1.0)
Spotlight direction of light i
2.14.1
lighting

SPOT_EXPONENT
8** R +
GetLightfv
0.0
Spotlight exponent of light i
2.14.1
lighting

SPOT_CUTOFF
8** R +
GetLightfv
180.0
Spot. angle of light i
2.14.1
lighting

LIGHT0
8**B
IsEnabled
False
True if light 0 enabled
2.14.1
lighting/enable

LIGHT1
8**B
IsEnabled
False
True if light 1 enabled
2.14.1
lighting/enable

LIGHT2
8**B
IsEnabled
False
True if light 2 enabled
2.14.1
lighting/enable

LIGHT3
8**B
IsEnabled
False
True if light 3 enabled
2.14.1
lighting/enable

LIGHT4
8**B
IsEnabled
False
True if light 4 enabled
2.14.1
lighting/enable

LIGHT5
8**B
IsEnabled
False
True if light 5 enabled
2.14.1
lighting/enable

LIGHT6
8**B
IsEnabled
False
True if light 6 enabled
2.14.1
lighting/enable

LIGHT7
8**B
IsEnabled
False
True if light 7 enabled
2.14.1
lighting/enable

COLOR_INDEXES
2* 3* R
GetMaterialfv
0,1,1
am ,d m, and sm for color index lighting
2.14.1
lighting

POINT_SIZE
R +
GetFloatv
1.0
Point size
3.3
point

POINT_SMOOTH
B
IsEnabled
False
Point antialiasing on
3.3
point/enable

POINT_SPRITE
B
IsEnabled
False
Point sprite enable
3.3
point/enable

POINT_SIZE_MIN
R +
GetFloatv
0.0 
Attenuated minimum point size
3.3
point

POINT_SIZE_MAX
R +
GetFloatv
1
Attenuated maximum point size. 1 Max. of the impl. dependent max. aliased and smooth point sizes.
3.3
point

POINT_FADE_THRESHOLD_SIZE
R +
GetFloatv
1.0
Threshold for alpha attenuation
3.3
point

POINT_DISTANCE_ATTENUATION
3* R +
GetFloatv
1,0,0 
Attenuation coefficients
3.3
point

POINT_SPRITE_COORD_ORIGIN
Z2
GetIntegerv 
UPPER_LEFT
Origin orientation for point sprites
3.3
point

LINE_WIDTH
R +
GetFloatv
1.0
Line width
3.4
line

LINE_SMOOTH
B
IsEnabled
False
Line antialiasing on
3.4 
line/enable

LINE_STIPPLE_PATTERN
Z+
GetIntegerv
1's
Line stipple
3.4.2
line

LINE_STIPPLE_REPEAT
Z+
GetIntegerv
1
Line stipple repeat
3.4.2
line

LINE_STIPPLE
B
IsEnabled
False
Line stipple enable
3.4.2
line/enable

CULL_FACE
B
IsEnabled
False
Polygon culling enabled
3.5.1
polygon/enable

CULL_FACE_MODE
Z3 
GetIntegerv 
BACK 
Cull front/back facing polygons
3.5.1
polygon

FRONT_FACE
Z2
GetIntegerv
CCW
Polygon front face CW/CCW indicator
3.5.1
polygon

POLYGON_SMOOTH
B
IsEnabled
False
Polygon antialiasing on
3.5
polygon/enable

POLYGON_MODE
2* Z3
GetIntegerv
FILL
Polygon rasterization mode (front & back)
3.5.4
polygon

POLYGON_OFFSET_FACTOR
R 
GetFloatv
0
Polygon offset factor
3.5.5
polygon

POLYGON_OFFSET_UNITS
R
GetFloatv
0
Polygon offset units
3.5.5
polygon

POLYGON_OFFSET_POINT
B
IsEnabled
False
Polygon offset enable for POINT mode rasterization
3.5.5
polygon/enable

POLYGON_OFFSET_LINE
B
IsEnabled
False
Polygon offset enable for LINE mode rasterization
3.5.5
polygon/enable

POLYGON_OFFSET_FILL
B
IsEnabled
False
Polygon offset enable for FILL mode rasterization
3.5.5
polygon/enable

-
I
GetPolygonStipple
1's
Polygon stipple
3.5
polygon-stipple

POLYGON_STIPPLE
B 
IsEnabled
False
Polygon stipple enable
3.5.2
polygon/enable


MULTISAMPLE
B 
IsEnabled
True
Multisample rasterization
3.2.1
multisample/enable

SAMPLE_ALPHA_TO_COVERAGE 
B
IsEnabled
False 
Modify coverage from alpha
4.1.3 
multisample/enable

SAMPLE_ALPHA_TO_ONE
B
IsEnabled
False
Set alpha tomaximum
4.1.3
multisample/enable

SAMPLE_COVERAGE 
B
IsEnabled
False
Mask tomodify cov erage
4.1.3
multisample/enable

SAMPLE_COVERAGE_VALUE 
R +
GetFloatv
1
Coverage mask value
4.1.3
multisample

SAMPLE_COVERAGE_INVERT
B 
GetBooleanv
False
Invert coverage mask value
4.1.3 
multisample



TEXTURE_1D
2** 3* B
IsEnabled
False
True if 1D texturing is enabled
3.8.15
texture/enable

TEXTURE_2D
2** 3* B
IsEnabled
False
True if 2D texturing is enabled
3.8.15
texture/enable

TEXTURE_3D
2** 3* B
IsEnabled
False
True if 3D texturing is enabled
3.8.15
texture/enable

TEXTURE_CUBE_MAP
2** B
IsEnabled
False
True if cube map texturing isenabled
3.8.13
texture/enable

TEXTURE_BINDING_1D
2** 3* Z+
GetIntegerv
0
Texture object bound to TEXTURE_1D
3.8.12
texture

TEXTURE_BINDING_2D
2** 3* Z+
GetIntegerv
0
Texture object bound to TEXTURE_2D
3.8.12
texture

TEXTURE_BINDING_3D
2** 3* Z+
GetIntegerv
0
Texture object bound to TEXTURE_3D
3.8.12
texture

TEXTURE_BINDING_CUBE_MAP
2** Z+
GetIntegerv
0
Texture object bound to TEXTURE_CUBE_MAP
3.8.11
texture

TEXTURE_1D
n*I
GetTexImage
see 3.8
1D texture image at l.o.d. i
3.8
-

TEXTURE_2D
n*I
GetTexImage
see 3.8
2D texture image at l.o.d. i
3.8
-

TEXTURE_3D
n*I
GetTexImage
see 3.8
3D texture image at l.o.d. i
3.8
-

TEXTURE_CUBE_MAP_POSITIVE_X
n* I
GetTexImage
see 3.8.1
+x face cube map texture image atl.o.d.  i
3.8.1
-

TEXTURE_CUBE_MAP_NEGATIVE_X
n* I
GetTexImage
see 3.8.1
-x face cube map texture image atl.o.d.  i
3.8.1
-

TEXTURE_CUBE_MAP_POSITIVE_Y 
n* I
GetTexImage
see 3.8.1
+y face cube map texture image atl.o.d.  i
3.8.1
-

TEXTURE_CUBE_MAP_NEGATIVE_Y 
n* I
GetTexImage
see 3.8.1
-y face cube map texture image atl.o.d.  i
3.8.1
-

TEXTURE_CUBE_MAP_POSITIVE_Z 
n* I
GetTexImage
see 3.8.1
+z face cube map texture image atl.o.d.  i
3.8.1
-

TEXTURE_CUBE_MAP_NEGATIVE_Z 
n* I
GetTexImage
see 3.8.1
-z face cube map texture image atl.o.d.  i
3.8.1
-

TEXTURE_BORDER_COLOR
n* C
GetTexParameterfv
0,0,0,0
Texture border color
3.8
texture

TEXTURE_MIN_FILTER
n* Z6
GetTexParameteriv
see 3.8
Texture minification function
3.8.8
texture

TEXTURE_MAG_FILTER
n* Z2
GetTexParameteriv
see 3.8
Texture magnification function
3.8.9
texture

TEXTURE_WRAP_S
n* Z5
GetTexParameteriv
REPEAT
Texcoord s wrap mode
3.8.7
texture

TEXTURE_WRAP_T
n* Z5
GetTexParameteriv
REPEAT
Texcoord t wrap mode (2D, 3D, cube map textures only)
3.8.7
texture

TEXTURE_WRAP_R
n* Z5
GetTexParameteriv
REPEAT
Texcoord r wrap mode (3D textures only) 
3.8.7
texture

TEXTURE_PRIORITY
n* R [0, 1]
GetTexParameterfv
1
Texture object priority 
3.8.12
texture

TEXTURE_RESIDENT
n* B
GetTexParameteriv
see 3.8.12
Texture residency
3.8.12 
texture

TEXTURE_MIN_LOD
n* R
GetTexParameterfv
-1000
Minimum level of detail
3.8
texture

TEXTURE_MAX_LOD
n* R
GetTexParameterfv
1000 
Maximum level of detail
3.8
texture

TEXTURE_BASE_LEVEL
n* Z+
GetTexParameteriv
0
Base texture array
3.8 
texture

TEXTURE_MAX_LEVEL
n* Z+
GetTexParameteriv
1000 
Maximum texture array level
3.8 
texture

TEXTURE_LOD_BIAS
n* R
GetTexParameterfv
0.0
Texture level ofdetail bias bia stex ob j 
3.8.8 
texture

DEPTH_TEXTURE_MODE
n* Z3
GetTexParameteriv
LUMINANCE
Depth texture mode
3.8.5 
texture

TEXTURE_COMPARE_MODE
n* Z2
GetTexParameteriv
NONE
Texture comparison mode
3.8.14 
texture

TEXTURE_COMPARE_FUNC
n* Z8
GetTexParameteriv
LEQUAL
Texture comparison function 
3.8.14 
texture

GENERATE_MIPMAP
n* B
GetTexParameteriv
FALSE 
Automatic mipmap generation
3.8.8 
texture


TEXTURE_WIDTH
n* Z+
GetTexLevelParameteriv
0
2D/3D texture image's specified width 
3.8 
-

TEXTURE_HEIGHT
n* Z+
GetTexLevelParameteriv
0 
2D/3D texture image's specified height 
3.8 
-

TEXTURE_DEPTH
n* Z+
GetTexLevelParameteriv
0 3D 
texture image's specified depth
3.8
-

TEXTURE_BORDER
n* Z+
GetTexLevelParameteriv
0 
texture image's specified border width 
3.8 
-

TEXTURE_INTERNAL_FORMAT
n* Z42 *
GetTexLevelParameteriv
1 
texture image's internal image format 
3.8 
-

TEXTURE_RED_SIZE
n* Z+
GetTexLevelParameteriv
0 
texture image's red resolution
3.8
-

TEXTURE_GREEN_SIZE
n* Z+
GetTexLevelParameteriv
0
texture image's green resolution
3.8 
-

TEXTURE_BLUE_SIZE
n* Z+
GetTexLevelParameteriv
0
texture image's blue resolution 
3.8 
-

TEXTURE_ALPHA_SIZE
n* Z+
GetTexLevelParameteriv
0
texture image's alpha resolution 
3.8 
-

TEXTURE_LUMINANCE_SIZE
n* Z+
GetTexLevelParameteriv
0
texture image's luminance resolution 
3.8 
-

TEXTURE_INTENSITY_SIZE
n* Z+
GetTexLevelParameteriv
0
texture image's intensity resolution 
3.8 
-

TEXTURE_DEPTH_SIZE
n* Z+
GetTexLevelParameteriv
0
texture image's depth resolution
3.8
-

TEXTURE_COMPRESSED
n* B
GetTexLevelParameteriv
False 
True if texture image has a compressed internal format 
3.8.3
-

TEXTURE_COMPRESSED_IMAGE_SIZE 
n* Z+
GetTexLevelParameteriv
0 
size (in ubytes) of compressed texture image 
3.8.3 
-


COORD_REPLACE
2** B
GetTexEnviv
False
Coordinate replacement enable
3.3
point

ACTIVE_TEXTURE
Z2*
GetIntegerv
TEXTURE0
Active texture unit selector
2.7
texture

TEXTURE_ENV_MODE
2** Z6
GetTexEnviv
MODULATE
Texture application function 
3.8.13
texture

TEXTURE_ENV_COLOR
2** C
GetTexEnvfv
0,0,0,0
Texture environment color 
3.8.13
texture

TEXTURE_LOD_BIAS
2** R
GetTexEnvfv
0.0
Texture level of detail bias bias texunit 
3.8.8
texture

TEXTURE_GEN_S
2** 4* B
IsEnabled
False
Texgen enabled for S
2.11.4
texture/enable

TEXTURE_GEN_T
2** 4* B
IsEnabled
False
Texgen enabled for S
2.11.4
texture/enable

TEXTURE_GEN_R
2** 4* B
IsEnabled
False
Texgen enabled for R
2.11.4
texture/enable

TEXTURE_GEN_Q
2** 4* B
IsEnabled
False
Texgen enabled for Q
2.11.4
texture/enable

EYE_PLANE
2** 4* R 4
GetTexGenfv
see 2.11.4
Texgen plane equation coefficients (for S,T,R and Q)
2.11.4
texture

OBJECT_PLANE
2** 4* R 4
GetTexGenfv 
see 2.11.4
Texgen object linear coefficients (for S,T,R and Q)
2.11.4
texture

TEXTURE_GEN_MODE
2** 4* Z5
GetTexGeniv
EYE_LINEAR
Function used for texgen (for S,T,R and Q)
2.11.4
texture

COMBINE_RGB
2** Z8
GetTexEnviv
MODULATE
RGB combiner function 
3.8.13
texture

COMBINE_ALPHA
2** Z6
GetTexEnviv
MODULATE
Alpha combiner function 
3.8.13
texture

SRC0_RGB
2** Z3
GetTexEnviv
TEXTURE
RGB source 0
3.8.13
texture

SRC1_RGB 
2** Z3
GetTexEnviv
PREVIOUS
RGB source 1
3.8.13
texture

SRC2_RGB
2** Z3
GetTexEnviv
CONSTANT
RGB source 2
3.8.13
texture

SRC0_ALPHA
2** Z3
GetTexEnviv
TEXTURE
Alpha source 0
3.8.13
texture

SRC1_ALPHA
2** Z3
GetTexEnviv
PREVIOUS
Alpha source 1
3.8.13
texture

SRC2_ALPHA
2** Z3
GetTexEnviv
CONSTANT
Alpha source 2
3.8.13
texture

OPERAND0_RGB
2** Z4
GetTexEnviv
SRC_COLOR
RGB operand 0
3.8.13
texture

OPERAND1_RGB
2** Z4
GetTexEnviv
SRC_COLOR
RGB operand 1
3.8.13
texture

OPERAND2_RGB
2** Z4
GetTexEnviv
SRC ALPHA
RGB operand 2
3.8.13
texture

OPERAND0_ALPHA
2** Z2
GetTexEnviv
SRC ALPHA
Alpha operand 0
3.8.13
texture

OPERAND1_ALPHA
2** Z2
GetTexEnviv
SRC ALPHA
Alpha operand 1
3.8.13
texture

OPERAND2_ALPHA
2** Z2
GetTexEnviv
SRC_ALPHA
Alpha operand 2
3.8.13
texture

RGB_SCALE
2** R 3
GetTexEnvfv
1.0
RGB post-combiner scaling
3.8.13
texture

ALPHA_SCALE
2** R 3
GetTexEnvfv
1.0 
Alpha post-combiner scalin g 
3.8.13
texture

SCISSOR_TEST
B
IsEnabled
False
Scissoring enabled
4.1.2
scissor/enable

SCISSOR_BOX
4* Z
GetIntegerv
see 4.1.2
Scissor box
4.1.2
scissor

ALPHA_TEST
B
IsEnabled
False
Alpha test enabled
4.1.4
color-buffer/enable

ALPHA_TEST_FUNC
Z8
GetIntegerv
ALWAYS
Alpha test function
4.1.4
color-buffer

ALPHA_TEST_REF
R +
GetIntegerv
0
Alpha test reference value
4.1.4
color-buffer

STENCIL_TEST
B
IsEnabled
False
Stenciling enabled
4.1.5
stencil-buffer/enable

STENCIL_FUNC
Z8
GetIntegerv
ALWAYS
Front stencil function 
4.1.5
stencil-buffer

STENCIL_VALUE_MASK
Z+
GetIntegerv
1's
Front stencil mask 
4.1.5 
stencil-buffer

STENCIL_REF
Z+
GetIntegerv
0
Front stencil reference valu e 
4.1.5
stencil-buffer

STENCIL_FAIL
Z8
GetIntegerv
KEEP
Front stencil fail action 
4.1.5
stencil-buffer

STENCIL_PASS_DEPTH_FAIL
Z8
GetIntegerv
KEEP
Front stencil depth buffer fail action 
4.1.5
stencil-buffer

STENCIL_PASS_DEPTH_PASS
Z8
GetIntegerv
KEEP
Front stencil depth buffer pas s action 
4.1.5 
stencil-buffer

STENCIL_BACK_FUNC
Z8
GetIntegerv
ALWAYS
Back stencil function 
4.1.5
stencil-buffer

STENCIL_BACK_VALUE_MASK
Z+
GetIntegerv
1's
Back stencil mask 
4.1.5
stencil-buffer

STENCIL_BACK_REF
Z+
GetIntegerv
0
Back stencil reference value
4.1.5 
stencil-buffer

STENCIL_BACK_FAIL 
Z8
GetIntegerv
KEEP
Back stencil fail action
4.1.5
stencil-buffer

STENCIL_BACK_PASS_DEPTH_FAIL
Z8
GetIntegerv
KEEP
Back stencil depth buffer fail action 
4.1.5
stencil-buffer

STENCIL_BACK_PASS_DEPTH_PASS
Z8
GetIntegerv
KEEP
Back stencil depth buffer pas s action 
4.1.5
stencil-buffer

DEPTH_TEST
B
IsEnabled
False
Depth buffer enabled
4.1.6
depth-buffer/enable

DEPTH_FUNC
Z8
GetIntegerv
LESS
Depth buffer test function 
4.1.6
depth-buffer


BLEND
B
IsEnabled
False
Blending enabled
4.1.8
color-buffer/enable

BLEND_SRC_RGB
Z15 
GetIntegerv
ONE
Blending source RGB function
4.1.8 
color-buffer

BLEND_SRC
Z15 
GetIntegerv
ONE
Blending source RGB function (V1.3)
4.1.8 
color-buffer

BLEND_SRC_ALPHA
Z15
GetIntegerv
ONE
Blending source Alpha function
4.1.8
color-buffer

BLEND_DST_RGB
Z14
GetIntegerv
ZERO
Blending destination RGB function
4.1.8 
color-buffer

BLEND_DST
Z14
GetIntegerv
ZERO
Blending destination RGB function (V1.3)
4.1.8 
color-buffer

BLEND_DST_ALPHA
Z14
GetIntegerv
ZERO
Blending destination Alpha function
4.1.8
color-buffer

BLEND_EQUATION_RGB 
Z
GetIntegerv
FUNC_ADD
RGB blending equation
4.1.8
color-buffer

BLEND_EQUATION
Z
GetIntegerv
FUNC_ADD
RGB blending equation (V1.5)
4.1.8
color-buffer


BLEND_EQUATION_ALPHA
Z
GetIntegerv
FUNC_ADD
Alpha blending equation
4.1.8
color-buffer

BLEND_COLOR
C
GetFloatv
0,0,0,0
Constant blend color
4.1.8
color-buffer

DITHER
B
IsEnabled
True
Dithering enabled
4.1.9
color-buffer/enable

INDEX_LOGIC_OP
B
IsEnabled
False
Index logic op enabled
4.1.10
color-buffer/enable

LOGIC_OP
B
IsEnabled
False
Index logic op enabled (V1.0)
4.1.10
color-buffer/enable

COLOR_LOGIC_OP
B
IsEnabled
False 
Color logic op enabled
4.1.10
color-buffer/enable

LOGIC_OP_MODE
Z16
GetIntegerv
COPY
Logic op function
4.1.10
color-buffer

DRAW_BUFFER_i
1+* Z10 *
GetIntegerv
see 4.2.1
Draw buffer selected for output color i
4.2.1
color-buffer

INDEX_WRITEMASK
Z+
GetIntegerv
1's
Color index writemask
4.2.2
color-buffer

COLOR_WRITEMASK
4* B
GetBooleanv
True
Color write enables; R,G, B,or A
4.2.2
color-buffer

DEPTH_WRITEMASK
B
GetBooleanv
True
Depth buffer enabled for writing 
4.2.2
depth-buffer

STENCIL_WRITEMASK
Z+
GetIntegerv
1's
Front stencil buffer writemask 
4.2.2
stencil-buffer

STENCIL_BACK_WRITEMASK
Z+
GetIntegerv
1's
Back stencil buffer writemask 
4.2.2
stencil-buffer

COLOR_CLEAR_VALUE
C
GetFloatv
0,0,0,0 
Color buffer clear value (RGBA mode)
4.2.3
color-buffer

INDEX_CLEAR_VALUE
CI
GetFloatv
0 
Color buffer clear value (color index mode) 
4.2.3
color-buffer

DEPTH_CLEAR_VALUE
R +
GetIntegerv
1 
Depth buffer clear value
4.2.3
depth-buffer

STENCIL_CLEAR_VALUE
Z+
GetIntegerv
0
Stencil clear value
4.2.3
stencil-buffer

ACCUM_CLEAR_VALUE
4* R +
GetFloatv
0
Accumulation buffer clear value 
4.2.3
accum-buffer

UNPACK_SWAP_BYTES
B
GetBooleanv
False
Value of UNPACK_SWAP_BYTES
3.6.1
pixel-store

UNPACK_LSB_FIRST
B
GetBooleanv
False
Value of UNPACK_LSB_FIRST 
3.6.1
pixel-store

UNPACK_IMAGE_HEIGHT
Z+
GetIntegerv
0 
Value of UNPACK_IMAGE_HEIGHT
3.6.1
pixel-store

UNPACK_SKIP_IMAGES
Z+
GetIntegerv
0 
Value of UNPACK_SKIP_IMAGES
3.6.1
pixel-store

UNPACK_ROW_LENGTH
Z+
GetIntegerv
0 
Value of UNPACK_ROW_LENGTH
3.6.1
pixel-store

UNPACK_SKIP_ROWS 
Z+
GetIntegerv
0
Value of UNPACK_SKIP_ROWS
3.6.1
pixel-store

UNPACK_SKIP_PIXELS 
Z+
GetIntegerv
0
Value of UNPACK_SKIP_PIXELS 
3.6.1
pixel-store

UNPACK_ALIGNMENT
Z+
GetIntegerv
4
Value of UNPACK_ALIGNMENT 
3.6.1
pixel-store

PACK_SWAP_BYTES 
B
GetBooleanv
False
Value of PACK_SWAP_BYTES 
4.3.2
pixel-store

PACK_LSB_FIRST
B
GetBooleanv
False
Value of PACK_LSB_FIRST 
4.3.2
pixel-store

PACK_IMAGE_HEIGHT 
Z+
GetIntegerv
0
Value of PACK_IMAGE_HEIGHT 
4.3.2
pixel-store

PACK_SKIP_IMAGES
Z+
GetIntegerv
0
Value of PACK_SKIP_IMAGES
4.3.2
pixel-store

PACK_ROW_LENGTH
Z+
GetIntegerv
0
Value of PACK_ROW_LENGTH
4.3.2
pixel-store

PACK_SKIP_ROWS
Z+
GetIntegerv
0
Value ofPACK_SKIP_ROWS 
4.3.2
pixel-store

PACK_SKIP_PIXELS
Z+
GetIntegerv
0
Value of PACK_SKIP_PIXELS
4.3.2
pixel-store

PACK_ALIGNMENT
Z+
GetIntegerv
4
Value of PACK_ALIGNMENT 
4.3.2
pixel-store

MAP_COLOR
B
GetBooleanv
False
True if colors are mapped 
3.6.3
pixel

MAP_STENCIL
B
GetBooleanv
False
True if stencil values are mapped 
3.6.3 
pixel

INDEX_SHIFT
Z
GetIntegerv
0
Value of INDEX_SHIFT 
3.6.3
pixel

INDEX_OFFSET
Z
GetIntegerv
0
Value of INDEX_OFFSET
3.6.3
pixel

RED_SCALE
R
GetFloatv
1
Value of RED_SCALE
3.6.3
pixel

GREEN_SCALE
R
GetFloatv
1
Value of GREEN_SCALE
3.6.3
pixel

BLUE_SCALE
R
GetFloatv
1
Value of BLUE_SCALE
3.6.3
pixel

ALPHA_SCALE
R
GetFloatv
1
Value of ALPHA_SCALE
3.6.3
pixel

DEPTH_SCALE
R
GetFloatv
1
Value of DEPTH_SCALE
3.6.3
pixel

RED_BIAS
R
GetFloatv
0
Value of RED_BIAS
3.6.3
pixel

GREEN_BIAS
R
GetFloatv
0
Value of GREEN_BIAS
3.6.3
pixel

BLUE_BIAS
R
GetFloatv
0
Value of BLUE_BIAS
3.6.3
pixel

ALPHA_BIAS
R
GetFloatv
0
Value of ALPHA_BIAS
3.6.3
pixel

DEPTH_BIAS
R
GetFloatv
0
Value of DEPTH_BIAS
3.6.3
pixel

COLOR_TABLE 
B
IsEnabled
False
True if color table lookup is done 
3.6.3 
pixel/enable

POST_CONVOLUTION_COLOR_TABLE 
B
IsEnabled
False
True if post convolution color table lookup is done
3.6.3 
pixel/enable

POST_COLOR_MATRIX_COLOR_TABLE
B
IsEnabled
False 
True if post color matrix color table lookup is done 
3.6.3 
pixel/enable

COLOR_TABLE
I
GetColorTable
empty
Color table
3.6.3
-

POST_CONVOLUTION_COLOR_TABLE
I
GetColorTable
empty
Post convolution color table 
3.6.3 
-

POST_COLOR_MATRIX_COLOR_TABLE 
I 
GetColorTable
empty
Post color matrix color table
3.6.3
-

COLOR_TABLE_FORMAT
2* 3* Z42
GetColorTableParameteriv
RGBA
Color tables' internal image format 
3.6.3
-

COLOR_TABLE_WIDTH
2* 3* Z+
GetColorTableParameteriv
0 
Color tables' specified width 
3.6.3
-

COLOR_TABLE_RED_SIZE
6* 2* 3* Z+
GetColorTableParameteriv
0
RED color table component resolution
3.6.3
-

COLOR_TABLE_GREEN_SIZE
6* 2* 3* Z+
GetColorTableParameteriv
0
GREEN color table component resolution
3.6.3
-

COLOR_TABLE_BLUE_SIZE
6* 2* 3* Z+
GetColorTableParameteriv
0
BLUE color table component resolution
3.6.3
-

COLOR_TABLE_ALPHA_SIZE
6* 2* 3* Z+
GetColorTableParameteriv
0
ALPHA color table component resolution
3.6.3
-

COLOR_TABLE_LUMINANCE_SIZE
6* 2* 3* Z+
GetColorTableParameteriv
0
LUMINANCE color table component resolution
3.6.3
-

COLOR_TABLE_INTENSITY_SIZE
6* 2* 3* Z+
GetColorTableParameteriv
0
INTENSITY color table component resolution
3.6.3
-

COLOR_TABLE_SCALE
3* R 4
GetColorTableParameterfv
1,1,1,1 
Scale factors applied to color table entries 
3.6.3
pixel

COLOR_TABLE_BIAS
3* R 4
GetColorTableParameterfv
0,0,0,0 
Bias factors applied to color table entries 
3.6.3 
pixel

CONVOLUTION_1D
B
IsEnabled
False 
True if 1D convolution is done 
3.6.3 
pixel/enable

CONVOLUTION_2D
B
IsEnabled
False 
True if 2D convolution is done 
3.6.3
pixel/enable

SEPARABLE_2D
B
IsEnabled
False 
True if separable 2D convolution is done 
3.6.3 
pixel/enable

CONVOLUTION_1D 
2*I
GetConvolutionFilter
empty 
1D Convolution filter
3.6.3
-

CONVOLUTION_2D 
2*I
GetConvolutionFilter
empty 
2D Convolution filter
3.6.3
-

SEPARABLE_2D
2* I
GetSeparableFilter
empty
Separable convolution filter 
3.6.3
-

CONVOLUTION_BORDER_COLOR
3* C
GetConvolutionParameterfv
0,0,0,0 
Convolution border color 
3.6.5 
pixel

CONVOLUTION_BORDER_MODE 
3* Z4
GetConvolutionParameteriv
REDUCE
Convolution border mode 
3.6.5
pixel

CONVOLUTION_FILTER_SCALE 
3* R 4
GetConvolutionParameterfv
1,1,1,1 
Scale factors applied to convolution filter entries 
3.6.3
pixel

CONVOLUTION_FILTER_BIAS 
3* R 4
GetConvolutionParameterfv
0,0,0,0 
Bias factors applied to convolution filter entries 
3.6.3 
pixel

CONVOLUTION_FORMAT
3* Z42
GetConvolutionParameteriv
RGBA 
Convolution filter internal format 
3.6.5
-

CONVOLUTION_WIDTH 
3* Z+
GetConvolutionParameteriv
0
Convolution filter width 
3.6.5
-

CONVOLUTION_HEIGHT 
2* Z+
GetConvolutionParameteriv
0
Convolution filter height 
3.6.5
-

POST_CONVOLUTION_RED_SCALE
R
GetFloatv
1
RED component scale factors after convolution 
3.6.3
pixel

POST_CONVOLUTION_GREEN_SCALE
R
GetFloatv
1
GREEN component scale factors after convolution 
3.6.3
pixel

POST_CONVOLUTION_BLUE_SCALE
R
GetFloatv
1
BLUE component scale factors after convolution 
3.6.3
pixel

POST_CONVOLUTION_ALPHA_SCALE
R
GetFloatv
1
ALPHA component scale factors after convolution 
3.6.3
pixel

POST_CONVOLUTION_RED_BIAS
R
GetFloatv
0
RED component bias factors after convolution
3.6.3
pixel

POST_CONVOLUTION_GREEN_BIAS
R
GetFloatv
0
GREEN component bias factors after convolution
3.6.3
pixel

POST_CONVOLUTION_BLUE_BIAS
R
GetFloatv
0
BLUE component bias factors after convolution
3.6.3
pixel

POST_CONVOLUTION_ALPHA_BIAS
R
GetFloatv
0
ALPHA component bias factors after convolution
3.6.3
pixel

POST_COLOR_MATRIX_RED_SCALE
R
GetFloatv
1
RED component scale factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_GREEN_SCALE
R
GetFloatv
1
GREEN component scale factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_BLUE_SCALE
R
GetFloatv
1
BLUE component scale factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_ALPHA_SCALE
R
GetFloatv
1
ALPHA component scale factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_RED_BIAS
R
GetFloatv
0
RED component bias factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_GREEN_BIAS
R
GetFloatv
0
GREEN component bias factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_BLUE_BIAS
R
GetFloatv
0
BLUE component bias factors after color matrix
3.6.3
pixel

POST_COLOR_MATRIX_ALPHA_BIAS
R
GetFloatv
0
ALPHA component bias factors after color matrix
3.6.3
pixel

HISTOGRAM
B
IsEnabled
False
True if histogramming is enabled 
3.6.3 
pixel/enable

HISTOGRAM
I
GetHistogram
empty
Histogram table 
3.6.3
-

HISTOGRAM_WIDTH
2* Z+
GetHistogramParameteriv
0
Histogram table width 
3.6.3
-

HISTOGRAM_FORMAT 
2* Z42
GetHistogramParameteriv
RGBA 
Histogram table internal format 
3.6.3
-

HISTOGRAM_RED_SIZE
5x2xZ+
GetHistogramParameteriv
0
RED histogram table component resolution
3.6.3
-

HISTOGRAM_GREEN_SIZE
5x2xZ+
GetHistogramParameteriv
0
GREEN histogram table component resolution
3.6.3
-

HISTOGRAM_BLUE_SIZE
5x2xZ+
GetHistogramParameteriv
0
BLUE histogram table component resolution
3.6.3
-

HISTOGRAM_ALPHA_SIZE
5x2xZ+
GetHistogramParameteriv
0
ALPHA histogram table component resolution
3.6.3
-

HISTOGRAM_LUMINANCE_SIZE
5x2xZ+
GetHistogramParameteriv
0
LUMINANCE histogram table component resolution
3.6.3
-

HISTOGRAM SINK
B
GetHistogramParameteriv
False
True if histogramming consumes pixelgroups 
3.6.3
-

MINMAX
B
IsEnabled
False 
True ifminmax is enabled
3.6.3
pixel/enable

MINMAX
Rn
GetMinmax
(M,M,M,M),(m,m,m,m)
Minmax table
3.6.3
-

MINMAX_FORMAT
Z42
GetMinmaxParameteriv
RGBA 
Minmax table internal format 
3.6.3
-

MINMAX_SINK
B
GetMinmaxParameteriv
False 
True if minmax consumes pixelgroups 
3.6.3
-

ZOOM_X
R
GetFloatv
1.0
xzoom factor
3.6.4
pixel

ZOOM_Y
R 
GetFloatv
1.0 
yzoom factor
3.6.4
pixel

PIXEL_MAP_I_TO_I
8* 32* *R
GetPixelMapfv
0's
Index-to-index PixelMap translation tables.
3.6.3
-

PIXEL_MAP_S_TO_S
8* 32* *R
GetPixelMapfv
0's
Stencil-to-stencil PixelMap translation tables.
3.6.3
-

PIXEL_MAP_I_TO_R
8* 32* *R
GetPixelMapfv
0's
Index-to-red PixelMap translation tables.
3.6.3
-

PIXEL_MAP_I_TO_G
8* 32* *R
GetPixelMapfv
0's
Index-to-green PixelMap translation tables.
3.6.3
-

PIXEL_MAP_I_TO_B
8* 32* *R
GetPixelMapfv
0's
Index-to-blue PixelMap translation tables.
3.6.3
-

PIXEL_MAP_I_TO_A
8* 32* *R
GetPixelMapfv
0's
Index-to-alpha PixelMap translation tables.
3.6.3
-

PIXEL_MAP_R_TO_R
8* 32* *R
GetPixelMapfv
0's
Red-to-red PixelMap translation tables.
3.6.3
-

PIXEL_MAP_G_TO_G
8* 32* *R
GetPixelMapfv
0's
Green-to-green PixelMap translation tables.
3.6.3
-

PIXEL_MAP_B_TO_B
8* 32* *R
GetPixelMapfv
0's
Blue-to-blue PixelMap translation tables.
3.6.3
-

PIXEL_MAP_A_TO_A
8* 32* *R
GetPixelMapfv
0's
Alpha-to-alpha PixelMap translation tables.
3.6.3
-

PIXEL_MAP_I_TO_I_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table I_TO_I
3.6.3
-

PIXEL_MAP_S_TO_S_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table S_TO_S
3.6.3
-

PIXEL_MAP_I_TO_R_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table I_TO_R
3.6.3
-

PIXEL_MAP_I_TO_G_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table I_TO_G
3.6.3
-

PIXEL_MAP_I_TO_B_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table I_TO_B
3.6.3
-

PIXEL_MAP_I_TO_A_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table I_TO_A
3.6.3
-

PIXEL_MAP_R_TO_R_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table R_TO_R
3.6.3
-

PIXEL_MAP_G_TO_G_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table G_TO_G
3.6.3
-

PIXEL_MAP_B_TO_B_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table B_TO_B
3.6.3
-

PIXEL_MAP_A_TO_A_SIZE
Z+
GetIntegerv
1 
Size of PixelMap translation table A_TO_A
3.6.3
-

READ_BUFFER
Z3
GetIntegerv 
see 4.3.2
Read source buffer
4.3.2 
pixel

ORDER
9xZ8*
GetMapiv
1 
1d map order 
5.1
-

ORDER 
9* 2* Z8*
GetMapiv
1,1
2d map orders 
5.1
-

COEFF 
9* 8** R n
GetMapfv
see 5.1
1d control points 
5.1
-

COEFF 
9* 8** 8** R n 
GetMapfv
see 5.1 
2d control points 
5.1
-

DOMAIN 
9* 2* R
GetMapfv
see 5.1
1d domain endpoints 
5.1
-

DOMAIN 
9* 4* R
GetMapfv
see 5.1
2d domain endpoints 
5.1
-

# OPA TODO: Add all other map types
MAP1_NORMAL
9* B
IsEnabled
False
1d map enables: xis map type 
5.1 
eval/enable

# OPA TODO: Add all other map types
MAP2_NORMAL
9* B
IsEnabled
False
2d map enables: xis map type 
5.1
eval/enable

MAP1_GRID_DOMAIN
2* R
GetFloatv
0,1
1d grid endpoints 
5.1 
eval

MAP2_GRID_DOMAIN
4* R
GetFloatv
0,1;0,1
2d grid endpoints 
5.1 
eval

MAP1_GRID_SEGMENTS
Z+
GetFloatv
1
1d grid divisions 
5.1 
eval

MAP2_GRID_SEGMENTS
2* Z+
GetFloatv
1,1
2d grid divisions 
5.1 
eval

AUTO_NORMAL
B
IsEnabled
False 
True if automatic normal generation enabled 
5.1 
eval/enable

#SHADER_TYPE
#Z2
#GetShaderiv
#-
#Type of shader (vertex or fragment)
#2.15.1
#-

#DELETE_STATUS
#B
#GetShaderiv
#False
#Shader flagged for deletion
#2.15.1
#-

#COMPILE_STATUS
#B
#GetShaderiv
#False
#Last compile succeeded
#2.15.1
#-

#-
#0+* char
#GetShaderInfoLog
#empty
#Info log for shader objects 
#6.1.14
#-

#INFO_LOG_LENGTH
#Z+
#GetShaderiv
#0
#Length of info log
#6.1.14
#-

-
0+* char
GetShaderSource
empty
Source code for a shader
2.15.1
-

#SHADER_SOURCE_LENGTH
#Z+
#GetShaderiv
#0 
#Length of source code 
#6.1.14
#-

CURRENT_PROGRAM
Z+
GetIntegerv
0
Name of current program object 
2.15.2
-

DELETE_STATUS
B
GetProgramiv
False 
Program object deleted
2.15.2
-

LINK_STATUS
B
GetProgramiv
False
Last link attempt succeeded 
2.15.2
-

VALIDATE_STATUS
B
GetProgramiv
False 
Last validate attempt succeeded 
2.15.2
-

ATTACHED_SHADERS 
Z+
GetProgramiv
0
Number of attached shader objects 
6.1.14
-

-
0+* H
GetAttachedObjects
empty
Shader objects attached 
6.1.14 
-

#-
#0+* char
#GetProgramInfoLog
#empty
#Info log for program object 
#6.1.14
#-

INFO_LOG_LENGTH
Z+
GetProgramiv
0
Length of info log
2.15.3
-

ACTIVE_UNIFORMS
Z+
GetProgramiv
0
Number of active uniforms 
2.15.3
-

-
0+* Z
GetUniformLocation
-
Location of active uniforms 
6.1.14
-

- 
0+* Z+
GetActiveUniform
-
Size of active uniform 
2.15.3
-

- 
0+* Z+
GetActiveUniform
-
Type of active uniform 
2.15.3
-

- 
0+* char
GetActiveUniform
empty 
Name of active uniform
2.15.3
-

ACTIVE_UNIFORM_MAX_LENGTH
Z+
GetProgramiv
0
Maximum active uniform name length 
6.1.14
-

-
512 +* R
GetUniformfv
0
Uniform value 
2.15.3
-

ACTIVE_ATTRIBUTES
Z+
GetProgramiv
0
Number of active attributes 
2.15.3
-

- 
0+* Z
GetAttribLocation
-
Location of active generic attribute 
2.15.3 
-

-
0+* Z+
GetActiveAttrib
-
Size of active attribute 
2.15.3
-

-
0+* Z+
GetActiveAttrib
- 
Type of active attribute
2.15.3
-

-
0+* char
GetActiveAttrib
empty
Name of active attribute 
2.15.3
-

ACTIVE_ATTRIBUTES_MAX_LENGTH
Z+
GetProgramiv
0 
Maximum active attribute name length 
6.1.14
-

VERTEX_PROGRAM_TWO_SIDE
B
IsEnabled
False 
Two-sided color mode 
2.14.1
enable

CURRENT_VERTEX_ATTRIB 
16 +* R4
GetVertexAttribfv
0,0,0,1
Generic vertex attribute 
2.7
current

VERTEX_PROGRAM_POINT_SIZE
B
IsEnabled
False
Point size mode
3.3 
enable

PERSPECTIVE_CORRECTION_HINT
Z3
GetIntegerv
DONT_CARE
Perspective correction hint 
5.6 
hint

POINT_SMOOTH_HINT
Z3
GetIntegerv
DONT_CARE
Point smooth hint
5.6
hint

LINE_SMOOTH_HINT
Z3
GetIntegerv
DONT_CARE
Line smooth hint 
5.6
hint

POLYGON_SMOOTH_HINT 
Z3
GetIntegerv
DONT_CARE
Polygon smooth hint
5.6
hint

FOG_HINT
Z3
GetIntegerv
DONT_CARE
Fog hint
5.6
hint

GENERATE_MIPMAP_HINT
Z3
GetIntegerv
DONT_CARE
Mipmap generation hint 
5.6
hint

TEXTURE_COMPRESSION_HINT 
Z3
GetIntegerv
DONT_CARE
Texture compression quality hint 
5.6
hint

FRAGMENT_SHADER_DERIVATIVE_HINT
Z3
GetIntegerv
DONT_CARE
Fragment shader derivative accuracy hint 
5.6
hint

MAX_LIGHTS
Z+
GetIntegerv
8
Maximum number of lights 
2.14.1
-

MAX_CLIP_PLANES
Z+
GetIntegerv
6
Maximum number of user clip ping planes 
2.12
-

MAX_COLOR_MATRIX_STACK_DEPTH
Z+
GetIntegerv
2
Maximum color matrix stack depth 
3.6.3
-

MAX_MODELVIEW_STACK_DEPTH 
Z+
GetIntegerv
32
Maximum model-view stack depth 
2.11.2
-

MAX_PROJECTION_STACK_DEPTH 
Z+
GetIntegerv
2
Maximum projection matrix stack depth 
2.11.2
-

MAX_TEXTURE_STACK_DEPTH
Z+
GetIntegerv
2
Maximum number depth of texture matrix stack 
2.11.2
-

SUBPIXEL_BITS
Z+
GetIntegerv
4
Number of bits of subpixel precision in screen xw and yw 
3 
-

MAX_3D_TEXTURE_SIZE
Z+
GetIntegerv
16
Maximum 3D texture image dimension 
3.8.1
-

MAX_TEXTURE_SIZE
Z+
GetIntegerv
64
Maximum 2D/1D texture imag e dimension 
3.8.1
-

MAX_TEXTURE_LOD_BIAS 
R +
GetFloatv
2.0
Maximum absolute texture level of detail bias 
3.8.8
-

MAX_CUBE_MAP_TEXTURE_SIZE 
Z+
GetIntegerv
16
Maximum cube map texture image dimension 
3.8.1
-

MAX_PIXEL_MAP_TABLE 
Z+
GetIntegerv
32
Maximum size of a PixelMap translation table 
3.6.3
-

MAX_NAME_STACK_DEPTH 
Z+
GetIntegerv
64
Maximum selection name stack depth 
5.2
-

MAX_LIST_NESTING
Z+
GetIntegerv
64
Maximum display list call nesting 
5.4
-

MAX_EVAL_ORDER
Z+
GetIntegerv
8
Maximum evaluator polynomi al order 
5.1
-

MAX_VIEWPORT_DIMS 
2* Z+
GetIntegerv
see 2.11.1
Maximum viewport dimensio ns 
2.11.1 
-


MAX_ATTRIB_STACK_DEPTH 
Z+
GetIntegerv
16
Maximum depth of the server attribute stack 
6 
-

MAX_CLIENT_ATTRIB_STACK_DEPTH 
Z+
GetIntegerv
16
Maximum depth of the client attribute stack
6
-

-
3* Z+
-
32
Maximum size of a color table
3.6.3
-

-
Z+
-
32
Maximum size of the histogram table
3.6.3
-

AUX_BUFFERS
Z+
GetIntegerv
0
Number of auxiliary buffers 
4.2.1
-

RGBA_MODE
B
GetBooleanv 
- 
True if color buffers store rgba 
2.7
-

INDEX_MODE
B
GetBooleanv
-
True if color buffers store indexes 
2.7
-

DOUBLEBUFFER
B
GetBooleanv
-
True if front & back buffers exist 
4.2.1
-

STEREO 
B
GetBooleanv
-
True if left & right buffers exist 
6 
-

ALIASED_POINT_SIZE_RANGE
2* R +
GetFloatv
1,1
Range (lo tohi) of aliased point sizes 
3.3 
-

SMOOTH_POINT_SIZE_RANGE
2*R+
GetFloatv
1,1
Range (lo tohi) of antialiased point sizes
3.3
-

POINT_SIZE_RANGE
2*R+
GetFloatv
1,1
Range (lo tohi) of antialiased point sizes (V1.1)
3.3
-

SMOOTH_POINT_SIZE_GRANULARITY
R+
GetFloatv
-
Antialiased point size granularity
3.3
-

POINT_SIZE_GRANULARITY
R+
GetFloatv
-
Antialiased point size granularity (V1.1)
3.3
-

ALIASED_LINE_WIDTH_RANGE
2* R +
GetFloatv
1,1
Range (lo tohi) ofaliased line widths 
3.4 
-

SMOOTH_LINE_WIDTH_RANGE 
2*R+
GetFloatv
1,1
Range (lo tohi) of antialiased line widths 
3.4 
-

LINE_WIDTH_RANGE 
2*R+
GetFloatv
1,1
Range (lo tohi) of antialiased line widths (V1.1)
3.4 
-

SMOOTH_LINE_WIDTH_GRANULARITY 
R+
GetFloatv
-
Antialiased line width granularity 
3.4 
-

LINE_WIDTH_GRANULARITY 
R+
GetFloatv
-
Antialiased line width granularity (V1.1)
3.4 
-

MAX_CONVOLUTION_WIDTH
3* Z+
GetConvolutionParameteriv
3
Maximum width of convolution filter 
4.3
-

MAX_CONVOLUTION_HEIGHT 
2* Z+
GetConvolutionParameteriv
3
Maximum height of convolution filter 
4.3 
-

MAX_ELEMENTS_INDICES 
Z+
GetIntegerv
-
Recommended maximum number of DrawRangeElements indices 
2.8
-

MAX_ELEMENTS_VERTICES 
Z+
GetIntegerv 
-
Recommended maximum number of DrawRangeElements vertices 
2.8 
-

SAMPLE_BUFFERS
Z+
GetIntegerv
0
Number of multisample buffers 
3.2.1 
-

SAMPLES
Z+
GetIntegerv
0
Coverage mask size 
3.2.1 
-

COMPRESSED_TEXTURE_FORMATS
0* Z
GetIntegerv
-
Enumerated compressed texture formats 
3.8.3 
-

NUM_COMPRESSED_TEXTURE_FORMATS 
Z 
GetIntegerv
0
Number of enumerated compressed texture formats 
3.8.3
-

QUERYCOUNTER_BITS
Z+
GetQueryiv
see 6.1.12
Occlusion query counter bits 
6.1.12 
-

EXTENSIONS 
S
GetString
-
Supported extensions 
6.1.11 
-

RENDERER
S
GetString
-
Renderer string
6.1.11 
-

SHADING_LANGUAGE_VERSION
S
GetString
-
Shading Language version supported 
6.1.11 
-

VENDOR
S
GetString
-
Vendor string
6.1.11
-

VERSION
S
GetString
-
OpenGL version supported 
6.1.11 
-

MAX_TEXTURE_UNITS 
Z+
GetIntegerv 
2 
Number of fixed-function texture units 
2.6 
-

MAX_VERTEX_ATTRIBS 
Z+
GetIntegerv 
16 
Number of active vertex attributes 
2.7 
-

MAX_VERTEX_UNIFORM_COMPONENTS 
Z+ 
GetIntegerv
512
Number of words for vertex shader uniform variables 
2.15.3 
-

MAX_VARYING_FLOATS 
Z+
GetIntegerv
32
Number of floats for varying variables 
2.15.3
-

MAX_COMBINED_TEXTURE_IMAGE_UNITS
Z+
GetIntegerv
2
Total number of texture units accessible by the GL 
2.15.4 
-

MAX_VERTEX_TEXTURE_IMAGE_UNITS
Z+
GetIntegerv
0
Number of texture image units accessible by a vertex shader 
2.15.4 
-

MAX_TEXTURE_IMAGE_UNITS 
Z+
GetIntegerv
2
Number of texture image units accessible by fragment processing 
2.15.4 
-

MAX_TEXTURE_COORDS 
Z+
GetIntegerv
2
Number of texture coordinate sets 
2.7 
-

MAX_FRAGMENT_UNIFORM_COMPONENTS
Z+
GetIntegerv
64
Number of words for fragment shader uniform variables 
3.11.1
-

MAX_DRAW_BUFFERS 
Z+
GetIntegerv
1+ 
Maximum number of active drawbuffers
4.2.1
-

RED_BITS
Z+
GetIntegerv
-
Number of bits in RED color buffer component.
4
-

GREEN_BITS
Z+
GetIntegerv
-
Number of bits in GREEN color buffer component.
4
-

BLUE_BITS
Z+
GetIntegerv
-
Number of bits in BLUE color buffer component.
4
-

ALPHA_BITS
Z+
GetIntegerv
-
Number of bits in ALPHA color buffer component.
4
-

INDEX_BITS
Z+
GetIntegerv
-
Number of bits in INDEX color buffer component.
4
-

DEPTH_BITS
Z+
GetIntegerv
-
Number of depth buffer planes 
4 
-

STENCIL_BITS
Z+
GetIntegerv
-
Number of stencil planes 
4 
-

ACCUM_RED_BITS
Z+
GetIntegerv
-
Number of bits in RED accumulation buffer component.
4
-

ACCUM_GREEN_BITS
Z+
GetIntegerv
-
Number of bits in GREEN accumulation buffer component.
4
-

ACCUM_BLUE_BITS
Z+
GetIntegerv
-
Number of bits in BLUE accumulation buffer component.
4
-

ACCUM_ALPHA_BITS
Z+
GetIntegerv
-
Number of bits in ALPHA accumulation buffer component.
4
-

LIST_BASE
Z+
GetIntegerv
0
Setting of ListBase
5.4
list

LIST_INDEX
Z+
GetIntegerv
0
Number of display list under construction; 0if none 
5.4 
-

LIST_MODE
Z+
GetIntegerv
0
Mode of display list under construction; undefined ifnone 
5.4 
-

-
16* *A
-
empty
Server attribute stack 
6 
-

ATTRIB_STACK_DEPTH
Z+
GetIntegerv
0
Server attribute stack pointer
6
-

-
16* *A
-
empty 
Client attribute stack 
6 
-

CLIENT_ATTRIB_STACK_DEPTH
Z+
GetIntegerv
0
Client attribute stack pointer 
6 
-

NAME_STACK_DEPTH
Z+
GetIntegerv
0
Name stack depth
5.2
-

RENDER_MODE
Z3
GetIntegerv
RENDER
RenderMode setting
5.2
-

SELECTION_BUFFER_POINTER
Y
GetPointerv
0
Selection buffer pointer 
5.2 
select

SELECTION_BUFFER_SIZE
Z+
GetIntegerv
0
Selection buffer size 
5.2 
select

FEEDBACK_BUFFER_POINTER
Y
GetPointerv
0
Feedback buffer pointer 
5.3 
feedback

FEEDBACK_BUFFER_SIZE
Z+
GetIntegerv
0 
Feedback buffer size 
5.3 
feedback

FEEDBACK_BUFFER_TYPE
Z5
GetIntegerv
2D
Feedback type 
5.3 
feedback

-
n* Z8
GetError
0
Current error code(s)
2.5 
-

-
n* B
-
False
True if there is a corresponding error 
2.5 
-

-
B
-
False
Occlusion query active 
4.1.7 
-

CURRENT_QUERY
Z+
GetQueryiv
0
Active occlusion query ID 
4.1.7 
-

-
Z+
-
0
Occlusion samples-passed count 
4.1.7
-


