GLGET(3G) GLGET(3G)
NAME
glGetBooleanv,, glGetDoublev,, glGetFloatv,, glGetIntegerv - return the
value or values of a selected parameter
C SPECIFICATION
void glGetBooleanv( GLenum pname,
GLboolean *params )
C SPECIFICATION
void glGetDoublev( GLenum pname,
GLdouble *params )
C SPECIFICATION
void glGetFloatv( GLenum pname,
GLfloat *params )
C SPECIFICATION
void glGetIntegerv( GLenum pname,
GLint *params )
PARAMETERS
pname Specifies the parameter value to be returned. The symbolic
constants in the list below are accepted.
params Returns the value or values of the specified parameter.
DESCRIPTION
These four commands return values for simple state variables in GL.
pname is a symbolic constant indicating the state variable to be
returned, and params is a pointer to an array of the indicated type in
which to place the returned data.
Type conversion is performed if params has a different type than the
state variable value being requested. If glGetBooleanv is called, a
floating-point (or integer) value is converted to GLFALSE if and only
if it is 0.0 (or 0). Otherwise, it is converted to GLTRUE. If
glGetIntegerv is called, boolean values are returned as GLTRUE or
GLFALSE, and most floating-point values are rounded to the nearest
integer value. Floating-point colors and normals, however, are returned
with a linear mapping that maps 1.0 to the most positive representable
integer value, and -1.0 to the most negative representable integer
value. If glGetFloatv or glGetDoublev is called, boolean values are
returned as GLTRUE or GLFALSE, and integer values are converted to
floating-point values.
The following symbolic constants are accepted by pname:
GLACUMALPHABITS params returns one value, the number of alpha
bitplanes in the accumulation buffer.
GLACUMBLUEBITS params returns one value, the number of blue
bitplanes in the accumulation buffer.
GLACUMCLEARVALUE params returns four values: the red, green,
blue, and alpha values used to clear the accu-
mulation buffer. Integer values, if
requested, are linearly mapped from the inter-
nal floating-point representation such that
1.0 returns the most positive representable
integer value, and -1.0 returns the most nega-
tive representable integer value. The initial
value is (0, 0, 0, 0). See glClearAccum.
GLACUMGRENBITS params returns one value, the number of green
bitplanes in the accumulation buffer.
GLACUMREDBITS params returns one value, the number of red
bitplanes in the accumulation buffer.
GLACTIVETEXTUREARB params returns a single value indicating the
active multitexture unit. The initial value
is GLTEXTURE00ARB. See glActiveTextureARB.
GLALIASEDPOINTSIZERANGE
params returns two values, the smallest and
largest supported sizes for aliased points.
GLALIASEDLINEWIDTHRANGE
params returns two values, the smallest and
largest supported widths for aliased lines.
GLALPHABIAS params returns one value, the alpha bias fac-
tor used during pixel transfers. The initial
value is 0. See glPixelTransfer.
GLALPHABITS params returns one value, the number of alpha
bitplanes in each color buffer.
GLALPHASCALE params returns one value, the alpha scale fac-
tor used during pixel transfers. The initial
value is 1. See glPixelTransfer.
GLALPHATEST params returns a single boolean value indicat-
ing whether alpha testing of fragments is
enabled. The initial value is GLFALSE. See
glAlphaFunc.
GLALPHATESTFUNC params returns one value, the symbolic name of
the alpha test function. The initial value is
GLALWAYS. See glAlphaFunc.
GLALPHATESTREF params returns one value, the reference value
for the alpha test. The initial value is 0.
See glAlphaFunc. An integer value, if
requested, is linearly mapped from the inter-
nal floating-point representation such that
1.0 returns the most positive representable
integer value, and -1.0 returns the most nega-
tive representable integer value.
GLATRIBSTACKDEPTH params returns one value, the depth of the
attribute stack. If the stack is empty, 0 is
returned. The initial value is 0. See
glPushAttrib.
GLAUTONORMAL params returns a single boolean value indicat-
ing whether 2D map evaluation automatically
generates surface normals. The initial value
is GLFALSE. See glap2.
GLAUXBUFERS params returns one value, the number of auxil-
iary color buffers. The initial value is 0.
GLBLEND params returns a single boolean value indicat-
ing whether blending is enabled. The initial
value is GLFALSE. See glBlendFunc.
GLBLENDCOLOR params returns four values, the red, green,
blue, and alpha values which are the compo-
nents of the blend color. See glBlendColor.
GLBLENDST params returns one value, the symbolic con-
stant identifying the destination blend func-
tion. The initial value is GLZERO. See
glBlendFunc.
GLBLENDEQUATION params returns one value, a symbolic constant
indicating whether the blend equation is
GLFUNCAD, GLMIN or GLMAX. See
glBlendEquation.
GLBLENDSRC params returns one value, the symbolic con-
stant identifying the source blend function.
The initial value is GLONE. See glBlendFunc.
GLBLUEBIAS params returns one value, the blue bias factor
used during pixel transfers. The initial value
is 0. See glPixelTransfer.
GLBLUEBITS params returns one value, the number of blue
bitplanes in each color buffer.
GLBLUESCALE params returns one value, the blue scale fac-
tor used during pixel transfers. The initial
value is 1. See glPixelTransfer.
GLCLIENTACTIVETEXTUREARB
params returns a single integer value indicat-
ing the current client active multitexture
unit. The initial value is GLTEXTURE00ARB.
See glClientActiveTextureARB.
GLCLIENTATRIBSTACKDEPTH
params returns one value indicating the depth
of the attribute stack. The initial value is
0. See glPushClientAttrib.
GLCLIPLANEi params returns a single boolean value indicat-
ing whether the specified clipping plane is
enabled. The initial value is GLFALSE. See
glClipPlane.
GLCOLORARAY params returns a single boolean value indicat-
ing whether the color array is enabled. The
initial value is GLFALSE. See
glColorPointer.
GLCOLORARAYSIZE params returns one value, the number of compo-
nents per color in the color array. The ini-
tial value is 4. See glColorPointer.
GLCOLORARAYSTRIDE params returns one value, the byte offset
between consecutive colors in the color array.
The initial value is 0. See glColorPointer.
GLCOLORARAYTYPE params returns one value, the data type of
each component in the color array. The initial
value is GLFLOAT. See glColorPointer.
GLCOLORCLEARVALUE params returns four values: the red, green,
blue, and alpha values used to clear the color
buffers. Integer values, if requested, are
linearly mapped from the internal floating-
point representation such that 1.0 returns the
most positive representable integer value, and
-1.0 returns the most negative representable
integer value. The initial value is (0, 0, 0,
0). See glClearColor.
GLCOLORLOGICOP params returns a single boolean value indicat-
ing whether a fragment's RGBA color values are
merged into the framebuffer using a logical
operation. The initial value is GLFALSE. See
glLogicOp.
GLCOLORMATERIAL params returns a single boolean value indicat-
ing whether one or more material parameters
are tracking the current color. The initial
value is GLFALSE. See glColoraterial.
GLCOLORMATERIALFACE params returns one value, a symbolic constant
indicating which materials have a parameter
that is tracking the current color. The ini-
tial value is GLFRONTANDBACK. See
glColoraterial.
GLCOLORMATERIALPARAMETER
params returns one value, a symbolic constant
indicating which material parameters are
tracking the current color. The initial value
is GLAMBIENTANDIFUSE. See
glColoraterial.
GLCOLORMATRIX params returns sixteen values: the color
matrix on the top of the color matrix stack.
Initially this matrix is the identity matrix.
See glPushatrix.
GLCOLORMATRIXSTACKDEPTH
params returns one value, the maximum sup-
ported depth of the projection matrix stack.
The value must be at least 2. See
glPushatrix.
GLCOLORTABLE params returns a single boolean value indicat-
ing whether the color table lookup is enabled.
See glColorTable.
GLCOLORWRITEMASK params returns four boolean values: the red,
green, blue, and alpha write enables for the
color buffers. The initial value is (GLTRUE,
GLTRUE, GLTRUE, GLTRUE). See glColorask.
GLCONVOLUTION1D params returns a single boolean value indicat-
ing whether 1D convolution is enabled. The
initial value is GLFALSE. See
glConvolutionFilter1D.
GLCONVOLUTION2D params returns a single boolean value indicat-
ing whether 2D convolution is enabled. The
initial value is GLFALSE. See
glConvolutionFilter2D.
GLCULFACE params returns a single boolean value indicat-
ing whether polygon culling is enabled. The
initial value is GLFALSE. See glCullFace.
GLCULFACEMODE params returns one value, a symbolic constant
indicating which polygon faces are to be
culled. The initial value is GLBACK. See
glCullFace.
GLCURENTCOLOR params returns four values: the red, green,
blue, and alpha values of the current color.
Integer values, if requested, are linearly
mapped from the internal floating-point repre-
sentation such that 1.0 returns the most posi-
tive representable integer value, and -1.0
returns the most negative representable inte-
ger value. See glColor. The initial value is
(1, 1, 1, 1).
GLCURENTINDEX params returns one value, the current color
index. The initial value is 1. See glIndex.
GLCURENTNORMAL params returns three values: the x, y, and z
values of the current normal. Integer values,
if requested, are linearly mapped from the
internal floating-point representation such
that 1.0 returns the most positive repre-
sentable integer value, and -1.0 returns the
most negative representable integer value.
The initial value is (0, 0, 1). See glNormal.
GLCURENTRASTERCOLOR params returns four values: the red, green,
blue, and alpha values of the current raster
position. Integer values, if requested, are
linearly mapped from the internal floating-
point representation such that 1.0 returns the
most positive representable integer value, and
-1.0 returns the most negative representable
integer value. The initial value is (1, 1, 1,
1). See glRasterPos.
GLCURENTRASTERDISTANCE
params returns one value, the distance from
the eye to the current raster position. The
initial value is 0. See glRasterPos.
GLCURENTRASTERINDEX params returns one value, the color index of
the current raster position. The initial value
is 1. See glRasterPos.
GLCURENTRASTERPOSITION
params returns four values: the x, y, z, and w
components of the current raster position. x,
y, and z are in window coordinates, and w is
in clip coordinates. The initial value is (0,
0, 0, 1). See glRasterPos.
GLCURENTRASTERPOSITIONVALID
params returns a single boolean value indicat-
ing whether the current raster position is
valid. The initial value is GLTRUE. See
glRasterPos.
GLCURENTRASTERTEXTURECORDS
params returns four values: the s, t, r, and q
current raster texture coordinates. The ini-
tial value is (0, 0, 0, 1). See glRasterPos
and glTexCoord.
GLCURENTEXTURECORDS
params returns four values: the s, t, r, and q
current texture coordinates. The initial value
is (0, 0, 0, 1). See glTexCoord.
GLDEPTHBIAS params returns one value, the depth bias fac-
tor used during pixel transfers. The initial
value is 0. See glPixelTransfer.
GLDEPTHBITS params returns one value, the number of bit-
planes in the depth buffer.
GLDEPTHCLEARVALUE params returns one value, the value that is
used to clear the depth buffer. Integer val-
ues, if requested, are linearly mapped from
the internal floating-point representation
such that 1.0 returns the most positive repre-
sentable integer value, and -1.0 returns the
most negative representable integer value. The
initial value is 1. See glClearDepth.
GLDEPTHFUNC params returns one value, the symbolic con-
stant that indicates the depth comparison
function. The initial value is GLES. See
glDepthFunc.
GLDEPTHRANGE params returns two values: the near and far
mapping limits for the depth buffer. Integer
values, if requested, are linearly mapped from
the internal floating-point representation
such that 1.0 returns the most positive repre-
sentable integer value, and -1.0 returns the
most negative representable integer value. The
initial value is (0, 1). See glDepthRange.
GLDEPTHSCALE params returns one value, the depth scale fac-
tor used during pixel transfers. The initial
value is 1. See glPixelTransfer.
GLDEPTHTEST params returns a single boolean value indicat-
ing whether depth testing of fragments is
enabled. The initial value is GLFALSE. See
glDepthFunc and glDepthRange.
GLDEPTHWRITEMASK params returns a single boolean value indicat-
ing if the depth buffer is enabled for writ-
ing. The initial value is GLTRUE. See
glDepthask.
GLDITHER params returns a single boolean value indicat-
ing whether dithering of fragment colors and
indices is enabled. The initial value is
GLTRUE.
GLDOUBLEBUFER params returns a single boolean value indicat-
ing whether double buffering is supported.
GLDRAWBUFER params returns one value, a symbolic constant
indicating which buffers are being drawn to.
See glDrawBuffer. The initial value is GLBACK
if there are back buffers, otherwise it is
GLFRONT.
GLEDGEFLAG params returns a single boolean value indicat-
ing whether the current edge flag is GLTRUE
or GLFALSE. The initial value is GLTRUE.
See glEdgeFlag.
GLEDGEFLAGARAY params returns a single boolean value indicat-
ing whether the edge flag array is enabled.
The initial value is GLFALSE. See
glEdgeFlagPointer.
GLEDGEFLAGARAYSTRIDE
params returns one value, the byte offset
between consecutive edge flags in the edge
flag array. The initial value is 0. See
glEdgeFlagPointer.
GLFEDBACKBUFERSIZE params returns one value, the size of the
feedback buffer. See glFeedbackBuffer.
GLFEDBACKBUFERTYPE params returns one value, the type of the
feedback buffer. See glFeedbackBuffer.
GLFOG params returns a single boolean value indicat-
ing whether fogging is enabled. The initial
value is GLFALSE. See glFog.
GLFOGCOLOR params returns four values: the red, green,
blue, and alpha components of the fog color.
Integer values, if requested, are linearly
mapped from the internal floating-point repre-
sentation such that 1.0 returns the most posi-
tive representable integer value, and -1.0
returns the most negative representable inte-
ger value. The initial value is (0, 0, 0, 0).
See glFog.
GLFOGDENSITY params returns one value, the fog density
parameter. The initial value is 1. See glFog.
GLFOGEND params returns one value, the end factor for
the linear fog equation. The initial value is
1. See glFog.
GLFOGHINT params returns one value, a symbolic constant
indicating the mode of the fog hint. The ini-
tial value is GLDONTCARE. See glHint.
GLFOGINDEX params returns one value, the fog color index.
The initial value is 0. See glFog.
GLFOGMODE params returns one value, a symbolic constant
indicating which fog equation is selected. The
initial value is GLEXP. See glFog.
GLFOGSTART params returns one value, the start factor for
the linear fog equation. The initial value is
0. See glFog.
GLFRONTFACE params returns one value, a symbolic constant
indicating whether clockwise or counterclock-
wise polygon winding is treated as front-fac-
ing. The initial value is GLCW. See
glFrontFace.
GLGRENBIAS params returns one value, the green bias fac-
tor used during pixel transfers. The initial
value is 0.
GLGRENBITS params returns one value, the number of green
bitplanes in each color buffer.
GLGRENSCALE params returns one value, the green scale fac-
tor used during pixel transfers. The initial
value is 1. See glPixelTransfer.
GLHISTOGRAM params returns a single boolean value indicat-
ing whether histogram is enabled. The initial
value is GLFALSE. See glHistogram.
GLINDEXARAY params returns a single boolean value indicat-
ing whether the color index array is enabled.
The initial value is GLFALSE. See
glIndexPointer.
GLINDEXARAYSTRIDE params returns one value, the byte offset
between consecutive color indexes in the color
index array. The initial value is 0. See
glIndexPointer.
GLINDEXARAYTYPE params returns one value, the data type of
indexes in the color index array. The initial
value is GLFLOAT. See glIndexPointer.
GLINDEXBITS params returns one value, the number of bit-
planes in each color index buffer.
GLINDEXCLEARVALUE params returns one value, the color index used
to clear the color index buffers. The initial
value is 0. See glClearIndex.
GLINDEXLOGICOP params returns a single boolean value indicat-
ing whether a fragment's index values are
merged into the framebuffer using a logical
operation. The initial value is GLFALSE. See
glLogicOp.
GLINDEXMODE params returns a single boolean value indicat-
ing whether the GL is in color index mode (-
GLTRUE) or RGBA mode (GLFALSE).
GLINDEXOFSET params returns one value, the offset added to
color and stencil indices during pixel trans-
fers. The initial value is 0. See
glPixelTransfer.
GLINDEXSHIFT params returns one value, the amount that
color and stencil indices are shifted during
pixel transfers. The initial value is 0. See
glPixelTransfer.
GLINDEXWRITEMASK params returns one value, a mask indicating
which bitplanes of each color index buffer can
be written. The initial value is all 1's. See
glIndexask.
GLIGHTi params returns a single boolean value indicat-
ing whether the specified light is enabled.
The initial value is GLFALSE. See glLight
and glLightodel.
GLIGHTING params returns a single boolean value indicat-
ing whether lighting is enabled. The initial
value is GLFALSE. See glLightodel.
GLIGHTMODELAMBIENT params returns four values: the red, green,
blue, and alpha components of the ambient
intensity of the entire scene. Integer val-
ues, if requested, are linearly mapped from
the internal floating-point representation
such that 1.0 returns the most positive repre-
sentable integer value, and -1.0 returns the
most negative representable integer value. The
initial value is (0.2, 0.2, 0.2, 1.0). See
glLightodel.
GLIGHTMODELCOLORCONTROL
params returns single enumerated value indi-
cating whether specular reflection calcula-
tions are separated from normal lighting com-
putations. The initial value is
GLSINGLECOLOR.
GLIGHTMODELOCALVIEWER
params returns a single boolean value indicat-
ing whether specular reflection calculations
treat the viewer as being local to the scene.
The initial value is GLFALSE. See
glLightodel.
GLIGHTMODELTWOSIDE params returns a single boolean value indicat-
ing whether separate materials are used to
compute lighting for front- and back-facing
polygons. The initial value is GLFALSE. See
glLightodel.
GLINESMOTH params returns a single boolean value indicat-
ing whether antialiasing of lines is enabled.
The initial value is GLFALSE. See
glLineWidth.
GLINESMOTHINT params returns one value, a symbolic constant
indicating the mode of the line antialiasing
hint. The initial value is GLDONTCARE. See
glHint.
GLINESTIPLE params returns a single boolean value indicat-
ing whether stippling of lines is enabled. The
initial value is GLFALSE. See glLineStipple.
GLINESTIPLEPATERN params returns one value, the 16-bit line
stipple pattern. The initial value is all 1's.
See glLineStipple.
GLINESTIPLEREPEAT params returns one value, the line stipple
repeat factor. The initial value is 1. See
glLineStipple.
GLINEWIDTH params returns one value, the line width as
specified with glLineWidth. The initial value
is 1.
GLINEWIDTHGRANULARITY
params returns one value, the width difference
between adjacent supported widths for
antialiased lines. See glLineWidth.
GLINEWIDTHRANGE params returns two values: the smallest and
largest supported widths for antialiased
lines. See glLineWidth.
GLISTBASE params returns one value, the base offset
added to all names in arrays presented to
glCallLists. The initial value is 0. See
glListBase.
GLISTINDEX params returns one value, the name of the dis-
play list currently under construction. 0 is
returned if no display list is currently under
construction. The initial value is 0. See
glNewList.
GLISTMODE params returns one value, a symbolic constant
indicating the construction mode of the dis-
play list currently under construction. The
initial value is 0. See glNewList.
GLOGICOPMODE params returns one value, a symbolic constant
indicating the selected logic operation mode.
The initial value is GLCOPY. See glLogicOp.
GLMAP1COLOR4 params returns a single boolean value indicat-
ing whether 1D evaluation generates colors.
The initial value is GLFALSE. See glap1.
GLMAP1GRIDOMAIN params returns two values: the endpoints of
the 1D map's grid domain. The initial value is
(0, 1). See glapGrid.
GLMAP1GRIDSEGMENTS params returns one value, the number of parti-
tions in the 1D map's grid domain. The initial
value is 1. See glapGrid.
GLMAP1INDEX params returns a single boolean value indicat-
ing whether 1D evaluation generates color
indices. The initial value is GLFALSE. See
glap1.
GLMAP1NORMAL params returns a single boolean value indicat-
ing whether 1D evaluation generates normals.
The initial value is GLFALSE. See glap1.
GLMAP1TEXTURECORD1 params returns a single boolean value indicat-
ing whether 1D evaluation generates 1D texture
coordinates. The initial value is GLFALSE.
See glap1.
GLMAP1TEXTURECORD2 params returns a single boolean value indicat-
ing whether 1D evaluation generates 2D texture
coordinates. The initial value is GLFALSE.
See glap1.
GLMAP1TEXTURECORD3 params returns a single boolean value indicat-
ing whether 1D evaluation generates 3D texture
coordinates. The initial value is GLFALSE.
See glap1.
GLMAP1TEXTURECORD4 params returns a single boolean value indicat-
ing whether 1D evaluation generates 4D texture
coordinates. The initial value is GLFALSE.
See glap1.
GLMAP1VERTEX3 params returns a single boolean value indicat-
ing whether 1D evaluation generates 3D vertex
coordinates. The initial value is GLFALSE.
See glap1.
GLMAP1VERTEX4 params returns a single boolean value indicat-
ing whether 1D evaluation generates 4D vertex
coordinates. The initial value is GLFALSE.
See glap1.
GLMAP2COLOR4 params returns a single boolean value indicat-
ing whether 2D evaluation generates colors.
The initial value is GLFALSE. See glap2.
GLMAP2GRIDOMAIN params returns four values: the endpoints of
the 2D map's i and j grid domains. The initial
value is (0,1; 0,1). See glapGrid.
GLMAP2GRIDSEGMENTS params returns two values: the number of par-
titions in the 2D map's i and j grid domains.
The initial value is (1,1). See glapGrid.
GLMAP2INDEX params returns a single boolean value indicat-
ing whether 2D evaluation generates color
indices. The initial value is GLFALSE. See
glap2.
GLMAP2NORMAL params returns a single boolean value indicat-
ing whether 2D evaluation generates normals.
The initial value is GLFALSE. See glap2.
GLMAP2TEXTURECORD1 params returns a single boolean value indicat-
ing whether 2D evaluation generates 1D texture
coordinates. The initial value is GLFALSE.
See glap2.
GLMAP2TEXTURECORD2 params returns a single boolean value indicat-
ing whether 2D evaluation generates 2D texture
coordinates. The initial value is GLFALSE.
See glap2.
GLMAP2TEXTURECORD3 params returns a single boolean value indicat-
ing whether 2D evaluation generates 3D texture
coordinates. The initial value is GLFALSE.
See glap2.
GLMAP2TEXTURECORD4 params returns a single boolean value indicat-
ing whether 2D evaluation generates 4D texture
coordinates. The initial value is GLFALSE.
See glap2.
GLMAP2VERTEX3 params returns a single boolean value indicat-
ing whether 2D evaluation generates 3D vertex
coordinates. The initial value is GLFALSE.
See glap2.
GLMAP2VERTEX4 params returns a single boolean value indicat-
ing whether 2D evaluation generates 4D vertex
coordinates. The initial value is GLFALSE.
See glap2.
GLMAPCOLOR params returns a single boolean value indicat-
ing if colors and color indices are to be
replaced by table lookup during pixel trans-
fers. The initial value is GLFALSE. See
glPixelTransfer.
GLMAPSTENCIL params returns a single boolean value indicat-
ing if stencil indices are to be replaced by
table lookup during pixel transfers. The ini-
tial value is GLFALSE. See glPixelTransfer.
GLMATRIXMODE params returns one value, a symbolic constant
indicating which matrix stack is currently the
target of all matrix operations. The initial
value is GLMODELVIEW. See glatrixode.
GLMAX3DTEXTURESIZE params returns one value, a rough estimate of
the largest 3D texture that the GL can handle.
If the GL version is 1.2 or greater, use
GLPROXYTEXTURE3D to determine if a texture
is too large. See glTexImage3D.
GLMAXCLIENTATRIBSTACKDEPTH
params returns one value indicating the maxi-
mum supported depth of the client attribute
stack. See glPushClientAttrib.
GLMAXATRIBSTACKDEPTH
params returns one value, the maximum sup-
ported depth of the attribute stack. The value
must be at least 16. See glPushAttrib.
GLMAXCLIPLANES params returns one value, the maximum number
of application-defined clipping planes. The
value must be at least 6. See glClipPlane.
GLMAXCOLORMATRIXSTACKDEPTH
params returns one value, the maximum sup-
ported depth of the color matrix stack. The
value must be at least 2. See glPushatrix.
GLMAXELEMENTSINDICES params returns one value, the recommended max-
imum number of vertex array indices. See
glDrawRangeElements.
GLMAXELEMENTSVERTICES params returns one value, the recommended max-
imum number of vertex array vertices. See
glDrawRangeElements.
GLMAXEVALORDER params returns one value, the maximum equation
order supported by 1D and 2D evaluators. The
value must be at least 8. See glap1 and
glap2.
GLMAXLIGHTS params returns one value, the maximum number
of lights. The value must be at least 8. See
glLight.
GLMAXLISTNESTING params returns one value, the maximum recur-
sion depth allowed during display-list traver-
sal. The value must be at least 64. See
glCallList.
GLMAXMODELVIEWSTACKDEPTH
params returns one value, the maximum sup-
ported depth of the modelview matrix stack.
The value must be at least 32. See
glPushatrix.
GLMAXNAMESTACKDEPTH params returns one value, the maximum sup-
ported depth of the selection name stack. The
value must be at least 64. See glPushName.
GLMAXPIXELMAPTABLE params returns one value, the maximum sup-
ported size of a glPixelap lookup table. The
value must be at least 32. See glPixelap.
GLMAXPROJECTIONSTACKDEPTH
params returns one value, the maximum sup-
ported depth of the projection matrix stack.
The value must be at least 2. See
glPushatrix.
GLMAXTEXTURESIZE params returns one value. The value gives a
rough estimate of the largest texture that the
GL can handle. If the GL version is 1.1 or
greater, use GLPROXYTEXTURE1D or
GLPROXYTEXTURE2D to determine if a texture
is too large. See glTexImage1D and
glTexImage2D.
GLMAXTEXTURESTACKDEPTH
params returns one value, the maximum sup-
ported depth of the texture matrix stack. The
value must be at least 2. See glPushatrix.
GLMAXTEXTUREUNITSARB params returns a single value indicating the
number of texture units supported. The value
must be at least 1. See glActiveTextureARB.
GLMAXVIEWPORTDIMS params returns two values: the maximum sup-
ported width and height of the viewport.
These must be at least as large as the visible
dimensions of the display being rendered to.
See glViewport.
GLMINMAX params returns a single boolean value indicat-
ing whether pixel minmax values are computed.
The initial value is GLFALSE. See glinmax.
GLMODELVIEWMATRIX params returns sixteen values: the modelview
matrix on the top of the modelview matrix
stack. Initially this matrix is the identity
matrix. See glPushatrix.
GLMODELVIEWSTACKDEPTH params returns one value, the number of matri-
ces on the modelview matrix stack. The ini-
tial value is 1. See glPushatrix.
GLNAMESTACKDEPTH params returns one value, the number of names
on the selection name stack. The initial value
is 0. See glPushName.
GLNORMALARAY params returns a single boolean value, indi-
cating whether the normal array is enabled.
The initial value is GLFALSE. See
glNormalPointer.
GLNORMALARAYSTRIDE params returns one value, the byte offset
between consecutive normals in the normal
array. The initial value is 0. See
glNormalPointer.
GLNORMALARAYTYPE params returns one value, the data type of
each coordinate in the normal array. The ini-
tial value is GLFLOAT. See glNormalPointer.
GLNORMALIZE params returns a single boolean value indicat-
ing whether normals are automatically scaled
to unit length after they have been trans-
formed to eye coordinates. The initial value
is GLFALSE. See glNormal.
GLPACKALIGNMENT params returns one value, the byte alignment
used for writing pixel data to memory. The
initial value is 4. See glPixelStore.
GLPACKIMAGEHEIGHT params returns one value, the image height
used for writing pixel data to memory. The
initial value is 0. See glPixelStore.
GLPACKLSBFIRST params returns a single boolean value indicat-
ing whether single-bit pixels being written to
memory are written first to the least signifi-
cant bit of each unsigned byte. The initial
value is GLFALSE. See glPixelStore.
GLPACKROWLENGTH params returns one value, the row length used
for writing pixel data to memory. The initial
value is 0. See glPixelStore.
GLPACKSKIPIMAGES params returns one value, the number of pixel
images skipped before the first pixel is writ-
ten into memory. The initial value is 0. See
glPixelStore.
GLPACKSKIPIXELS params returns one value, the number of pixel
locations skipped before the first pixel is
written into memory. The initial value is 0.
See glPixelStore.
GLPACKSKIPROWS params returns one value, the number of rows
of pixel locations skipped before the first
pixel is written into memory. The initial
value is 0. See glPixelStore.
GLPACKSWAPBYTES params returns a single boolean value indicat-
ing whether the bytes of two-byte and four-
byte pixel indices and components are swapped
before being written to memory. The initial
value is GLFALSE. See glPixelStore.
GLPERSPECTIVECORECTIONHINT
params returns one value, a symbolic constant
indicating the mode of the perspective correc-
tion hint. The initial value is GLDONTCARE.
See glHint.
GLPIXELMAPATOASIZE params returns one value, the size of the
alpha-to-alpha pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPBTOBSIZE params returns one value, the size of the
blue-to-blue pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPGTOGSIZE params returns one value, the size of the
green-to-green pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPITOASIZE params returns one value, the size of the
index-to-alpha pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPITOBSIZE params returns one value, the size of the
index-to-blue pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPITOGSIZE params returns one value, the size of the
index-to-green pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPITOISIZE params returns one value, the size of the
index-to-index pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPITORSIZE params returns one value, the size of the
index-to-red pixel translation table. The
initial value is 1. See glPixelap.
GLPIXELMAPRTORSIZE params returns one value, the size of the red-
to-red pixel translation table. The initial
value is 1. See glPixelap.
GLPIXELMAPSTOSIZE params returns one value, the size of the
stencil-to-stencil pixel translation table.
The initial value is 1. See glPixelap.
GLPOINTSIZE params returns one value, the point size as
specified by glPointSize. The initial value is
1.
GLPOINTSIZEGRANULARITY
params returns one value, the size difference
between adjacent supported sizes for
antialiased points. See glPointSize.
GLPOINTSIZERANGE params returns two values: the smallest and
largest supported sizes for antialiased
points. The smallest size must be at most 1,
and the largest size must be at least 1. See
glPointSize.
GLPOINTSMOTH params returns a single boolean value indicat-
ing whether antialiasing of points is enabled.
The initial value is GLFALSE. See
glPointSize.
GLPOINTSMOTHINT params returns one value, a symbolic constant
indicating the mode of the point antialiasing
hint. The initial value is GLDONTCARE. See
glHint.
GLPOLYGONMODE params returns two values: symbolic constants
indicating whether front-facing and back-fac-
ing polygons are rasterized as points, lines,
or filled polygons. The initial value is
GLFIL. See glPolygonode.
GLPOLYGONOFSETFACTOR params returns one value, the scaling factor
used to determine the variable offset that is
added to the depth value of each fragment gen-
erated when a polygon is rasterized. The ini-
tial value is 0. See glPolygonOffset.
GLPOLYGONOFSETUNITS params returns one value. This value is mul-
tiplied by an implementation-specific value
and then added to the depth value of each
fragment generated when a polygon is raster-
ized. The initial value is 0. See
glPolygonOffset.
GLPOLYGONOFSETFIL params returns a single boolean value indicat-
ing whether polygon offset is enabled for
polygons in fill mode. The initial value is
GLFALSE. See glPolygonOffset.
GLPOLYGONOFSETLINE params returns a single boolean value indicat-
ing whether polygon offset is enabled for
polygons in line mode. The initial value is
GLFALSE. See glPolygonOffset.
GLPOLYGONOFSETPOINT params returns a single boolean value indicat-
ing whether polygon offset is enabled for
polygons in point mode. The initial value is
GLFALSE. See glPolygonOffset.
GLPOLYGONSMOTH params returns a single boolean value indicat-
ing whether antialiasing of polygons is
enabled. The initial value is GLFALSE. See
glPolygonode.
GLPOLYGONSMOTHINT params returns one value, a symbolic constant
indicating the mode of the polygon antialias-
ing hint. The initial value is GLDONTCARE.
See glHint.
GLPOLYGONSTIPLE params returns a single boolean value indicat-
ing whether polygon stippling is enabled. The
initial value is GLFALSE. See
glPolygonStipple.
GLPOSTCOLORMATRIXCOLORTABLE
params returns a single boolean value indicat-
ing whether post color matrix transformation
lookup is enabled. The initial value is
GLFALSE. See glColorTable.
GLPOSTCOLORMATRIXREDBIAS
params returns one value, the red bias factor
applied to RGBA fragments after color matrix
transformations. The initial value is 0. See
glPixelTransfer.
GLPOSTCOLORMATRIXGRENBIAS
params returns one value, the green bias fac-
tor applied to RGBA fragments after color
matrix transformations. The initial value is
0. See glPixelTransfer
GLPOSTCOLORMATRIXBLUEBIAS
params returns one value, the blue bias factor
applied to RGBA fragments after color matrix
transformations. The initial value is 0. See
glPixelTransfer.
GLPOSTCOLORMATRIXALPHABIAS
params returns one value, the alpha bias fac-
tor applied to RGBA fragments after color
matrix transformations. The initial value is
0. See glPixelTransfer.
GLPOSTCOLORMATRIXREDSCALE
params returns one value, the red scale factor
applied to RGBA fragments after color matrix
transformations. The initial value is 1. See
glPixelTransfer.
GLPOSTCOLORMATRIXGRENSCALE
params returns one value, the green scale fac-
tor applied to RGBA fragments after color
matrix transformations. The initial value is
1. See glPixelTransfer.
GLPOSTCOLORMATRIXBLUESCALE
params returns one value, the blue scale fac-
tor applied to RGBA fragments after color
matrix transformations. The initial value is
1. See glPixelTransfer.
GLPOSTCOLORMATRIXALPHASCALE
params returns one value, the alpha scale fac-
tor applied to RGBA fragments after color
matrix transformations. The initial value is
1. See glPixelTransfer.
GLPOSTCONVOLUTIONCOLORTABLE
params returns a single boolean value indicat-
ing whether post convolution lookup is
enabled. The initial value is GLFALSE. See
glColorTable.
GLPOSTCONVOLUTIONREDBIAS
params returns one value, the red bias factor
applied to RGBA fragments after convolution.
The initial value is 0. See glPixelTransfer.
GLPOSTCONVOLUTIONGRENBIAS
params returns one value, the green bias fac-
tor applied to RGBA fragments after convolu-
tion. The initial value is 0. See
glPixelTransfer.
GLPOSTCONVOLUTIONBLUEBIAS
params returns one value, the blue bias factor
applied to RGBA fragments after convolution.
The initial value is 0. See glPixelTransfer.
GLPOSTCONVOLUTIONALPHABIAS
params returns one value, the alpha bias fac-
tor applied to RGBA fragments after convolu-
tion. The initial value is 0. See
glPixelTransfer.
GLPOSTCONVOLUTIONREDSCALE
params returns one value, the red scale factor
applied to RGBA fragments after convolution.
The initial value is 1. See glPixelTransfer.
GLPOSTCONVOLUTIONGRENSCALE
params returns one value, the green scale fac-
tor applied to RGBA fragments after convolu-
tion. The initial value is 1. See
glPixelTransfer.
GLPOSTCONVOLUTIONBLUESCALE
params returns one value, the blue scale fac-
tor applied to RGBA fragments after convolu-
tion. The initial value is 1. See
glPixelTransfer.
GLPOSTCONVOLUTIONALPHASCALE
params returns one value, the alpha scale fac-
tor applied to RGBA fragments after convolu-
tion. The initial value is 1. See
glPixelTransfer.
GLPROJECTIONMATRIX params returns sixteen values: the projection
matrix on the top of the projection matrix
stack. Initially this matrix is the identity
matrix. See glPushatrix.
GLPROJECTIONSTACKDEPTH
params returns one value, the number of matri-
ces on the projection matrix stack. The ini-
tial value is 1. See glPushatrix.
GLREADBUFER params returns one value, a symbolic constant
indicating which color buffer is selected for
reading. The initial value is GLBACK if there
is a back buffer, otherwise it is GLFRONT.
See glReadPixels and glAccum.
GLREDBIAS params returns one value, the red bias factor
used during pixel transfers. The initial value
is 0.
GLREDBITS params returns one value, the number of red
bitplanes in each color buffer.
GLREDSCALE params returns one value, the red scale factor
used during pixel transfers. The initial value
is 1. See glPixelTransfer.
GLRENDERMODE params returns one value, a symbolic constant
indicating whether the GL is in render,
select, or feedback mode. The initial value is
GLRENDER. See glRenderode.
GLRESCALENORMAL params returns single boolean value indicating
whether normal rescaling is enabled. See
glEnable.
GLRGBAMODE params returns a single boolean value indicat-
ing whether the GL is in RGBA mode (true) or
color index mode (false). See glColor.
GLSCISORBOX params returns four values: the x and y window
coordinates of the scissor box, followed by
its width and height. Initially the x and y
window coordinates are both 0 and the width
and height are set to the size of the window.
See glScissor.
GLSCISORTEST params returns a single boolean value indicat-
ing whether scissoring is enabled. The initial
value is GLFALSE. See glScissor.
GLSELECTIONBUFERSIZE params return one value, the size of the
selection buffer. See glSelectBuffer.
GLSEPARABLE2D params returns a single boolean value indicat-
ing whether 2D separable convolution is
enabled. The initial value is GLFALSE. See
glSeparableFilter2D.
GLSHADEMODEL params returns one value, a symbolic constant
indicating whether the shading mode is flat or
smooth. The initial value is GLSMOTH. See
glShadeodel.
GLSMOTHLINEWIDTHRANGE
params returns two values, the smallest and
largest supported widths for antialiased
lines. See glLineWidth.
GLSMOTHLINEWIDTHGRANULARITY
params returns one value, the granularity of
widths for antialiased lines. See
glLineWidth.
GLSMOTHPOINTSIZERANGE
params returns two values, the smallest and
largest supported widths for antialiased
points. See glPointSize.
GLSMOTHPOINTSIZEGRANULARITY
params returns one value, the granularity of
sizes for antialiased points. See
glPointSize.
GLSTENCILBITS params returns one value, the number of bit-
planes in the stencil buffer.
GLSTENCILCLEARVALUE params returns one value, the index to which
the stencil bitplanes are cleared. The initial
value is 0. See glClearStencil.
GLSTENCILFAIL params returns one value, a symbolic constant
indicating what action is taken when the sten-
cil test fails. The initial value is GLKEP.
See glStencilOp.
GLSTENCILFUNC params returns one value, a symbolic constant
indicating what function is used to compare
the stencil reference value with the stencil
buffer value. The initial value is GLALWAYS.
See glStencilFunc.
GLSTENCILPASDEPTHFAIL
params returns one value, a symbolic constant
indicating what action is taken when the sten-
cil test passes, but the depth test fails. The
initial value is GLKEP. See glStencilOp.
GLSTENCILPASDEPTHPAS
params returns one value, a symbolic constant
indicating what action is taken when the sten-
cil test passes and the depth test passes. The
initial value is GLKEP. See glStencilOp.
GLSTENCILREF params returns one value, the reference value
that is compared with the contents of the
stencil buffer. The initial value is 0. See
glStencilFunc.
GLSTENCILTEST params returns a single boolean value indicat-
ing whether stencil testing of fragments is
enabled. The initial value is GLFALSE. See
glStencilFunc and glStencilOp.
GLSTENCILVALUEMASK params returns one value, the mask that is
used to mask both the stencil reference value
and the stencil buffer value before they are
compared. The initial value is all 1's. See
glStencilFunc.
GLSTENCILWRITEMASK params returns one value, the mask that con-
trols writing of the stencil bitplanes. The
initial value is all 1's. See glStencilask.
GLSTEREO params returns a single boolean value indicat-
ing whether stereo buffers (left and right)
are supported.
GLSUBPIXELBITS params returns one value, an estimate of the
number of bits of subpixel resolution that are
used to position rasterized geometry in window
coordinates. The initial value
is 4.
GLTEXTURE1D params returns a single boolean value indicat-
ing whether 1D texture mapping is enabled. The
initial value is GLFALSE. See glTexImage1D.
GLTEXTUREBINDING1D params returns a single value, the name of the
texture currently bound to the target
GLTEXTURE1D. The initial value is 0. See
glBindTexture.
GLTEXTURE2D params returns a single boolean value indicat-
ing whether 2D texture mapping is enabled. The
initial value is GLFALSE. See glTexImage2D.
GLTEXTUREBINDING2D params returns a single value, the name of the
texture currently bound to the target
GLTEXTURE2D. The initial value is 0. See
glBindTexture.
GLTEXTURE3D params returns a single boolean value indicat-
ing whether 3D texture mapping is enabled. The
initial value is GLFALSE. See glTexImage3D.
GLTEXTUREBINDING3D params returns a single value, the name of the
texture currently bound to the target
GLTEXTURE3D. The initial value is 0. See
glBindTexture.
GLTEXTURECORDARAY params returns a single boolean value indicat-
ing whether the texture coordinate array is
enabled. The initial value is GLFALSE. See
glTexCoordPointer.
GLTEXTURECORDARAYSIZE
params returns one value, the number of coor-
dinates per element in the texture coordinate
array. The initial value is 4. See
glTexCoordPointer.
GLTEXTURECORDARAYSTRIDE
params returns one value, the byte offset
between consecutive elements in the texture
coordinate array. The initial value is 0. See
glTexCoordPointer.
GLTEXTURECORDARAYTYPE
params returns one value, the data type of the
coordinates in the texture coordinate array.
The initial value is GLFLOAT. See
glTexCoordPointer.
GLTEXTUREGENQ params returns a single boolean value indicat-
ing whether automatic generation of the q tex-
ture coordinate is enabled. The initial value
is GLFALSE. See glTexGen.
GLTEXTUREGENR params returns a single boolean value indicat-
ing whether automatic generation of the r tex-
ture coordinate is enabled. The initial value
is GLFALSE. See glTexGen.
GLTEXTUREGENS params returns a single boolean value indicat-
ing whether automatic generation of the S tex-
ture coordinate is enabled. The initial value
is GLFALSE. See glTexGen.
GLTEXTUREGENT params returns a single boolean value indicat-
ing whether automatic generation of the T tex-
ture coordinate is enabled. The initial value
is GLFALSE. See glTexGen.
GLTEXTUREMATRIX params returns sixteen values: the texture
matrix on the top of the texture matrix stack.
Initially this matrix is the identity matrix.
See glPushatrix.
GLTEXTURESTACKDEPTH params returns one value, the number of matri-
ces on the texture matrix stack. The initial
value is 1. See glPushatrix.
GLUNPACKALIGNMENT params returns one value, the byte alignment
used for reading pixel data from memory. The
initial value is 4. See glPixelStore.
GLUNPACKIMAGEHEIGHT params returns one value, the image height
used for reading pixel data from memory. The
initial is 0. See glPixelStore.
GLUNPACKLSBFIRST params returns a single boolean value indicat-
ing whether single-bit pixels being read from
memory are read first from the least signifi-
cant bit of each unsigned byte. The initial
value is GLFALSE. See glPixelStore.
GLUNPACKROWLENGTH params returns one value, the row length used
for reading pixel data from memory. The ini-
tial value is 0. See glPixelStore.
GLUNPACKSKIPIMAGES params returns one value, the number of pixel
images skipped before the first pixel is read
from memory. The initial value is 0. See
glPixelStore.
GLUNPACKSKIPIXELS params returns one value, the number of pixel
locations skipped before the first pixel is
read from memory. The initial value is 0. See
glPixelStore.
GLUNPACKSKIPROWS params returns one value, the number of rows
of pixel locations skipped before the first
pixel is read from memory. The initial value
is 0. See glPixelStore.
GLUNPACKSWAPBYTES params returns a single boolean value indicat-
ing whether the bytes of two-byte and four-
byte pixel indices and components are swapped
after being read from memory. The initial
value is GLFALSE. See glPixelStore.
GLVERTEXARAY params returns a single boolean value indicat-
ing whether the vertex array is enabled. The
initial value is GLFALSE. See
glVertexPointer.
GLVERTEXARAYSIZE params returns one value, the number of coor-
dinates per vertex in the vertex array. The
initial value is 4. See glVertexPointer.
GLVERTEXARAYSTRIDE params returns one value, the byte offset
between consecutive vertices in the vertex
array. The initial value is 0. See
glVertexPointer.
GLVERTEXARAYTYPE params returns one value, the data type of
each coordinate in the vertex array. The ini-
tial value is GLFLOAT. See glVertexPointer.
GLVIEWPORT params returns four values: the x and y window
coordinates of the viewport, followed by its
width and height. Initially the x and y win-
dow coordinates are both set to 0, and the
width and height are set to the width and
height of the window into which the GL will do
its rendering. See glViewport.
GLZOMX params returns one value, the x pixel zoom
factor. The initial value is 1. See
glPixelZoom.
GLZOMY params returns one value, the y pixel zoom
factor. The initial value is 1. See
glPixelZoom.
Many of the boolean parameters can also be queried more easily using
glIsEnabled.
NOTES
GLCOLORLOGICOP, GLCOLORARAY, GLCOLORARAYSIZE,
GLCOLORARAYSTRIDE, GLCOLORARAYTYPE, GLEDGEFLAGARAY,
GLEDGEFLAGARAYSTRIDE, GLINDEXARAY, GLINDEXARAYSTRIDE,
GLINDEXARAYTYPE, GLINDEXLOGICOP, GLNORMALARAY,
GLNORMALARAYSTRIDE, GLNORMALARAYTYPE, GLPOLYGONOFSETUNITS,
GLPOLYGONOFSETFACTOR, GLPOLYGONOFSETFIL,
GLPOLYGONOFSETLINE, GLPOLYGONOFSETPOINT,
GLTEXTURECORDARAY, GLTEXTURECORDARAYSIZE,
GLTEXTURECORDARAYSTRIDE, GLTEXTURECORDARAYTYPE,
GLVERTEXARAY, GLVERTEXARAYSIZE, GLVERTEXARAYSTRIDE, and
GLVERTEXARAYTYPE are available only if the GL version is 1.1 or
greater.
GLALIASEDPOINTSIZERANGE, GLFEDBACKBUFERSIZE,
GLFEDBACKBUFERTYPE, GLIGHTMODELAMBIENT,
GLIGHTMODELCOLORCONTROL, GLMAX3DTEXTURESIZE,
GLMAXELEMENTSINDICES, GLMAXELEMENTSVERTICES,
GLPACKIMAGEHEIGHT, GLPACKSKIPIMAGES, GLRESCALENORMAL,
GLSELECTIONBUFERSIZE, GLSMOTHLINEWIDTHGRANULARITY,
GLSMOTHLINEWIDTHRANGE, GLSMOTHPOINTSIZEGRANULARITY,
GLSMOTHPOINTSIZERANGE, GLTEXTURE3D, GLTEXTUREBINDING3D,
GLUNPACKIMAGEHEIGHT, and GLUNPACKSKIPIMAGES are available only if
the GL version is 1.2 or greater.
GLINEWIDTHGRANULARITY was deprecated in GL version 1.2. Its func-
tionality was replaced by GLSMOTHLINEWIDTHGRANULARITY.
GLINEWIDTHRANGE was deprecated in GL version 1.2. Its functional-
ity was replaced by GLSMOTHLINEWIDTHRANGE.
GLPOINTSIZEGRANULARITY was deprecated in GL version 1.2. Its func-
tionality was replaced by GLSMOTHPOINTSIZEGRANULARITY.
GLPOINTSIZERANGE was deprecated in GL version 1.2. Its functional-
ity was replaced by GLSMOTHPOINTSIZERANGE.
GLBLENDCOLOR, GLBLENDEQUATION, GLCOLORMATRIX,
GLCOLORMATRIXSTACKDEPTH, GLCOLORTABLE, GLCONVOLUTION1D,
GLCONVOLUTION2D, GLHISTOGRAM, GLMAXCOLORMATRIXSTACKDEPTH,
GLMINMAX, GLPOSTCOLORMATRIXCOLORTABLE,
GLPOSTCOLORMATRIXREDBIAS, GLPOSTCOLORMATRIXGRENBIAS,
GLPOSTCOLORMATRIXBLUEBIAS, GLPOSTCOLORMATRIXALPHABIAS,
GLPOSTCOLORMATRIXREDSCALE, GLPOSTCOLORMATRIXGRENSCALE,
GLPOSTCOLORMATRIXBLUESCALE, GLPOSTCOLORMATRIXALPHASCALE,
GLPOSTCONVOLUTIONCOLORTABLE, GLPOSTCONVOLUTIONREDBIAS,
GLPOSTCONVOLUTIONGRENBIAS, GLPOSTCONVOLUTIONBLUEBIAS,
GLPOSTCONVOLUTIONALPHABIAS, GLPOSTCONVOLUTIONREDSCALE,
GLPOSTCONVOLUTIONGRENSCALE, GLPOSTCONVOLUTIONBLUESCALE,
GLPOSTCONVOLUTIONALPHASCALE, and GLSEPARABLE2D are available only
if GLARBimaging is returned from glGet when called with the argument
GLEXTENSIONS.
GLACTIVETEXTUREARB, GLCLIENTACTIVETEXTUREARB, and
GLMAXTEXTUREUNITSARB are available only if GLARBmultitexture is
returned from glGet when called with the argument GLEXTENSIONS.
When the GLARBmultitexture extension is supported, the following
parameters return the associated value for the active texture unit:
GLCURENTRASTERTEXTURECORDS, GLTEXTURE1D, GLTEXTUREBINDING1D,
GLTEXTURE2D, GLTEXTUREBINDING2D, GLTEXTURE3D,
GLTEXTUREBINDING3D, GLTEXTUREGENS, GLTEXTUREGENT,
GLTEXTUREGENR, GLTEXTUREGENQ, GLTEXTUREMATRIX, and
GLTEXTURESTACKDEPTH. Likewise, the following parameters return the
associated value for the active client texture unit:
GLTEXTURECORDARAY, GLTEXTURECORDARAYSIZE,
GLTEXTURECORDARAYSTRIDE, GLTEXTURECORDARAYTYPE.
ERORS
GLINVALIDENUM is generated if pname is not an accepted value.
GLINVALIDOPERATION is generated if glGet is executed between the exe-
cution of glBegin and the corresponding execution of glEnd.
SEE ALSO
glGetClipPlane, glGetColorTable, glGetColorTableParameter,
glGetConvolutionFilter, glGetConvolutionParameter, glGetError,
glGetHistogram, glGetHistogramParameter, glGetLight, glGetap,
glGetaterial, glGetinmax, glGetinmaxParameter, glGetPixelap,
glGetPointerv, glGetPolygonStipple, glGetSeparableFilter, glGetString,
glGetTexEnv, glGetTexGen, glGetTexImage, glGetTexLevelParameter,
glGetTexParameter, glIsEnabled
GLGET(3G)
|