glGet(3G) OpenGL Reference glGet(3G)
glGetBooleanv, glGetDoublev, glGetFloatv, glGetIntegerv - return the
value or values of a selected parameter
void glGetBooleanv( GLenum pname,
GLboolean *params )
void glGetDoublev( GLenum pname,
GLdouble *params )
void glGetFloatv( GLenum pname,
GLfloat *params )
void glGetIntegerv( GLenum pname,
GLint *params )
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.
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 GL_FALSE if and only if
it is 0.0 (or 0). Otherwise, it is converted to GL_TRUE. If
glGetIntegerv is called, boolean values are returned as GL_TRUE or
GL_FALSE, 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
GL_TRUE or GL_FALSE, and integer values are converted to floating-point
values.
Page 1
glGet(3G) OpenGL Reference glGet(3G)
The following symbolic constants are accepted by pname:
GL_ACCUM_ALPHA_BITS params returns one value, the number of alpha
bitplanes in the accumulation buffer.
GL_ACCUM_BLUE_BITS params returns one value, the number of blue
bitplanes in the accumulation buffer.
GL_ACCUM_CLEAR_VALUE params returns four values: the red, green,
blue, and alpha values used to clear the
accumulation buffer. 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 glClearAccum.
GL_ACCUM_GREEN_BITS params returns one value, the number of green
bitplanes in the accumulation buffer.
GL_ACCUM_RED_BITS params returns one value, the number of red
bitplanes in the accumulation buffer.
GL_ALIASED_POINT_SIZE_RANGE [Toc] [Back]
params returns two values, the smallest and
largest supported sizes for aliased points.
GL_ALIASED_LINE_WIDTH_RANGE [Toc] [Back]
params returns two values, the smallest and
largest supported widths for aliased lines.
GL_ALPHA_BIAS params returns one value, the alpha bias factor
used during pixel transfers. The initial value
is 0. See glPixelTransfer.
GL_ALPHA_BITS params returns one value, the number of alpha
bitplanes in each color buffer.
GL_ALPHA_SCALE params returns one value, the alpha scale factor
used during pixel transfers. The initial value
is 1. See glPixelTransfer.
GL_ALPHA_TEST params returns a single boolean value indicating
whether alpha testing of fragments is enabled.
The initial value is GL_FALSE. See glAlphaFunc.
GL_ALPHA_TEST_FUNC params returns one value, the symbolic name of
the alpha test function. The initial value is
GL_ALWAYS. See glAlphaFunc.
Page 2
glGet(3G) OpenGL Reference glGet(3G)
GL_ALPHA_TEST_REF 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 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.
GL_ASYNC_DRAW_PIXELS_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether asynchronous glDrawPixels commands are
enabled. The initial value is GL_FALSE. See
glDrawPixels.
GL_ASYNC_MARKER_SGIX params returns one value, the current marker
value for asynchronous commands. The initial
value is 0. See glAsyncMarkerSGIX.
GL_ASYNC_READ_PIXELS_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether asynchronous glReadPixels commands are
enabled. The initial value is GL_FALSE. See
glReadPixels.
GL_ASYNC_TEX_IMAGE_SGIX params returns a single boolean value indicating
whether asynchronous glTexImage commands are
enabled. The initial value is GL_FALSE. See
glTexImage1D, glTexImage2D, glTexImage3D,
glTexSubImage1D, glTexSubImage2D, and
glTexSubImage3D.
GL_ATTRIB_STACK_DEPTH 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.
GL_AUTO_NORMAL params returns a single boolean value indicating
whether 2D map evaluation automatically
generates surface normals. The initial value is
GL_FALSE. See glMap2.
GL_AUX_BUFFERS params returns one value, the number of
auxiliary color buffers. The initial value is 0.
GL_BLEND params returns a single boolean value indicating
whether blending is enabled. The initial value
is GL_FALSE. See glBlendFunc.
GL_BLEND_COLOR params returns four values, the red, green,
blue, and alpha values which are the components
of the blend color. See glBlendColor.
Page 3
glGet(3G) OpenGL Reference glGet(3G)
GL_BLEND_DST params returns one value, the symbolic constant
identifying the destination blend function. The
initial value is GL_ZERO. See glBlendFunc.
GL_BLEND_EQUATION params returns one value, a symbolic constant
indicating whether the blend equation is
GL_FUNC_ADD, GL_MIN or GL_MAX. See
glBlendEquation.
GL_BLEND_SRC params returns one value, the symbolic constant
identifying the source blend function. The
initial value is GL_ONE. See glBlendFunc.
GL_BLEND_OP_SGI params returns one value, the symbolic constant
identifying the blend operator. See
glBlendFunc.
GL_BLUE_BIAS params returns one value, the blue bias factor
used during pixel transfers. The initial value
is 0. See glPixelTransfer.
GL_BLUE_BITS params returns one value, the number of blue
bitplanes in each color buffer.
GL_BLUE_SCALE params returns one value, the blue scale factor
used during pixel transfers. The initial value
is 1. See glPixelTransfer.
GL_CALLIGRAPHIC_FRAGMENT_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether fragment information is sent to the
calligraphic interface.
GL_CLIENT_ATTRIB_STACK_DEPTH [Toc] [Back]
params returns one value indicating the depth of
the attribute stack. The initial value is 0.
See glPushClientAttrib.
GL_CLIP_PLANEi params returns a single boolean value indicating
whether the specified clipping plane is enabled.
The initial value is GL_FALSE. See glClipPlane.
GL_COLOR_ARRAY params returns a single boolean value indicating
whether the color array is enabled. The initial
value is GL_FALSE. See glColorPointer.
GL_COLOR_ARRAY_SIZE params returns one value, the number of
components per color in the color array. The
initial value is 4. See glColorPointer.
Page 4
glGet(3G) OpenGL Reference glGet(3G)
GL_COLOR_ARRAY_STRIDE params returns one value, the byte offset
between consecutive colors in the color array.
The initial value is 0. See glColorPointer.
GL_COLOR_ARRAY_TYPE params returns one value, the data type of each
component in the color array. The initial value
is GL_FLOAT. See glColorPointer.
GL_COLOR_CLEAR_VALUE 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.
GL_COLOR_LOGIC_OP params returns a single boolean value indicating
whether a fragment's RGBA color values are
merged into the framebuffer using a logical
operation. The initial value is GL_FALSE. See
glLogicOp.
GL_COLOR_MATERIAL params returns a single boolean value indicating
whether one or more material parameters are
tracking the current color. The initial value is
GL_FALSE. See glColorMaterial.
GL_COLOR_MATERIAL_FACE params returns one value, a symbolic constant
indicating which materials have a parameter that
is tracking the current color. The initial value
is GL_FRONT_AND_BACK. See glColorMaterial.
GL_COLOR_MATERIAL_PARAMETER [Toc] [Back]
params returns one value, a symbolic constant
indicating which material parameters are
tracking the current color. The initial value is
GL_AMBIENT_AND_DIFFUSE. See glColorMaterial.
GL_COLOR_MATRIX params returns sixteen values: the color matrix
on the top of the color matrix stack. Initially
this matrix is the identity matrix. See
glPushMatrix.
GL_COLOR_MATRIX_STACK_DEPTH [Toc] [Back]
params returns one value, the maximum supported
depth of the projection matrix stack. The value
must be at least 2. See glPushMatrix.
Page 5
glGet(3G) OpenGL Reference glGet(3G)
GL_COLOR_TABLE params returns a single boolean value indicating
whether the color table lookup is enabled. See
glColorTable.
GL_COLOR_WRITEMASK params returns four boolean values: the red,
green, blue, and alpha write enables for the
color buffers. The initial value is (GL_TRUE,
GL_TRUE, GL_TRUE, GL_TRUE). See glColorMask.
GL_CONVOLUTION_1D params returns a single boolean value indicating
whether 1D convolution is enabled. The initial
value is GL_FALSE. See glConvolutionFilter1D.
GL_CONVOLUTION_2D params returns a single boolean value indicating
whether 2D convolution is enabled. The initial
value is GL_FALSE. See glConvolutionFilter2D.
GL_CULL_FACE params returns a single boolean value indicating
whether polygon culling is enabled. The initial
value is GL_FALSE. See glCullFace.
GL_CULL_FACE_MODE params returns one value, a symbolic constant
indicating which polygon faces are to be culled.
The initial value is GL_BACK. See glCullFace.
GL_CURRENT_COLOR 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
representation such that 1.0 returns the most
positive representable integer value, and -1.0
returns the most negative representable integer
value. See glColor. The initial value is (1, 1,
1, 1).
GL_CURRENT_INDEX params returns one value, the current color
index. The initial value is 1. See glIndex.
GL_CURRENT_NORMAL 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 representable
integer value, and -1.0 returns the most
negative representable integer value. The
initial value is (0, 0, 1). See glNormal.
GL_CURRENT_RASTER_COLOR 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
Page 6
glGet(3G) OpenGL Reference glGet(3G)
positive representable integer value, and -1.0
returns the most negative representable integer
value. The initial value is (1, 1, 1, 1). See
glRasterPos.
GL_CURRENT_RASTER_DISTANCE [Toc] [Back]
params returns one value, the distance from the
eye to the current raster position. The initial
value is 0. See glRasterPos.
GL_CURRENT_RASTER_INDEX params returns one value, the color index of the
current raster position. The initial value is 1.
See glRasterPos.
GL_CURRENT_RASTER_POSITION [Toc] [Back]
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.
GL_CURRENT_RASTER_POSITION_VALID [Toc] [Back]
params returns a single boolean value indicating
whether the current raster position is valid.
The initial value is GL_TRUE. See glRasterPos.
GL_CURRENT_RASTER_TEXTURE_COORDS [Toc] [Back]
params returns four values: the s, t, r, and q
current raster texture coordinates. The initial
value is (0, 0, 0, 1). See glRasterPos and
glTexCoord.
GL_CURRENT_TEXTURE_COORDS [Toc] [Back]
params returns four values: the s, t, r, and q
current texture coordinates. The initial value
is (0, 0, 0, 1). See glTexCoord.
GL_DEPTH_BIAS params returns one value, the depth bias factor
used during pixel transfers. The initial value
is 0. See glPixelTransfer.
GL_DEPTH_BITS params returns one value, the number of
bitplanes in the depth buffer.
GL_DEPTH_CLEAR_VALUE params returns one value, the value that is used
to clear the depth buffer. 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. See glClearDepth.
Page 7
glGet(3G) OpenGL Reference glGet(3G)
GL_DEPTH_FUNC params returns one value, the symbolic constant
that indicates the depth comparison function.
The initial value is GL_LESS. See glDepthFunc.
GL_DEPTH_RANGE 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 representable
integer value, and -1.0 returns the most
negative representable integer value. The
initial value is (0, 1). See glDepthRange.
GL_DEPTH_SCALE params returns one value, the depth scale factor
used during pixel transfers. The initial value
is 1. See glPixelTransfer.
GL_DEPTH_TEST params returns a single boolean value indicating
whether depth testing of fragments is enabled.
The initial value is GL_FALSE. See glDepthFunc
and glDepthRange.
GL_DEPTH_WRITEMASK params returns a single boolean value indicating
if the depth buffer is enabled for writing. The
initial value is GL_TRUE. See glDepthMask.
GL_DETAIL_TEXTURE_2D_BINDING_SGIS [Toc] [Back]
params returns a single value, the name of the
detail texture bound to
GL_DETAIL_TEXTURE_2D_SGIS (or zero if there is
none). See glDetailTexFuncSGIS.
GL_DISTANCE_ATTENUATION_SGIS [Toc] [Back]
params returns three values, the coefficients of
the distance attentuation function for rendering
points. See glPointParameterSGIS.
GL_DITHER params returns a single boolean value indicating
whether dithering of fragment colors and indices
is enabled. The initial value is GL_TRUE.
GL_DOUBLEBUFFER params returns a single boolean value indicating
whether double buffering is supported.
GL_DRAW_BUFFER params returns one value, a symbolic constant
indicating which buffers are being drawn to. See
glDrawBuffer. The initial value is GL_BACK if
there are back buffers, otherwise it is
GL_FRONT.
Page 8
glGet(3G) OpenGL Reference glGet(3G)
GL_EDGE_FLAG params returns a single boolean value indicating
whether the current edge flag is GL_TRUE or
GL_FALSE. The initial value is GL_TRUE. See
glEdgeFlag.
GL_EDGE_FLAG_ARRAY params returns a single boolean value indicating
whether the edge flag array is enabled. The
initial value is GL_FALSE. See
glEdgeFlagPointer.
GL_EDGE_FLAG_ARRAY_STRIDE [Toc] [Back]
params returns one value, the byte offset
between consecutive edge flags in the edge flag
array. The initial value is 0. See
glEdgeFlagPointer.
GL_FEEDBACK_BUFFER_SIZE params returns one value, the size of the
feedback buffer. See glFeedbackBuffer.
GL_FEEDBACK_BUFFER_TYPE params returns one value, the type of the
feedback buffer. See glFeedbackBuffer.
GL_FOG params returns a single boolean value indicating
whether fogging is enabled. The initial value is
GL_FALSE. See glFog.
GL_FOG_COLOR 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
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
glFog.
GL_FOG_DENSITY params returns one value, the fog density
parameter. The initial value is 1. See glFog.
GL_FOG_END params returns one value, the end factor for the
linear fog equation. The initial value is 1. See
glFog.
GL_FOG_FUNC_POINTS_SGIS params returns one value, the number of points
in the current custom fog blending function.
See glFog and glFogFuncSGIS.
GL_FOG_FUNC_SGIS params returns an array of fog blending function
control points. Each control point consists of
two values, an eye-space distance and a blending
factor, in that order. The control points are
listed in order of increasing eye-space
Page 9
glGet(3G) OpenGL Reference glGet(3G)
distance. The number of control points may be
queried by glGet with argument
GL_FOG_FUNC_POINTS_SGIS. See glFog and
glFogFuncSGIS.
GL_FOG_HINT params returns one value, a symbolic constant
indicating the mode of the fog hint. The initial
value is GL_DONT_CARE. See glHint.
GL_FOG_INDEX params returns one value, the fog color index.
The initial value is 0. See glFog.
GL_FOG_MODE params returns one value, a symbolic constant
indicating which fog equation is selected. The
initial value is GL_EXP. See glFog.
GL_FOG_START params returns one value, the start factor for
the linear fog equation. The initial value is 0.
See glFog.
GL_FOG_OFFSET_SGIX params returns a single boolean value indicating
whether fog offset is enabled. See glFog.
GL_FOG_OFFSET_VALUE_SGIX params returns four values, a reference point
(X,Y,Z) in eye coordinates, and a Z offset in
eye coordinates. See glFog.
GL_FRAGMENT_COLOR_MATERIAL_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether one or more fragment material parameters
are tracking the current color. The initial
value is GL_FALSE. See glFragmentColorMaterial.
GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX [Toc] [Back]
params returns one value, a symbolic constant
indicating which fragment materials have a
parameter that is tracking the current color.
The initial value is GL_FRONT_AND_BACK. See
glFragmentColorMaterial.
GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX [Toc] [Back]
params returns one value, a symbolic constant
indicating which fragment material parameters
are tracking the current color. The initial
value is GL_AMBIENT_AND_DIFFUSE. See
glFragmentColorMaterial.
GL_FRAGMENT_LIGHTi_SGIX params returns a single boolean value indicating
whether the specified fragment light is enabled.
The initial value is GL_FALSE. See
glFragmentLight and glFragmentLightModel.
Page 10
glGet(3G) OpenGL Reference glGet(3G)
GL_FRAGMENT_LIGHTING_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether fragment lighting is enabled. The
initial value is GL_FALSE. See
glFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX [Toc] [Back]
params returns four values: the red, green,
blue, and alpha components of the ambient
intensity of the entire scene. 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.2, 0.2, 0.2, 1.0). See
glFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX [Toc] [Back]
params returns single enumerated value
indicating whether normals are interpolated for
each fragment, or if a single normal value is
used. The initial value is GL_GL_SMOOTH. See
glFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether specular reflection calculations treat
the viewer as being local to the scene. The
initial value is GL_FALSE. See
glFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX [Toc] [Back]
params returns a single boolean value indicating
whether separate fragment materials are used to
compute fragment lighting for front- and backfacing
polygons. The initial value is GL_FALSE.
See glFragmentLightModel.
GL_FRONT_FACE params returns one value, a symbolic constant
indicating whether clockwise or counterclockwise
polygon winding is treated as front-facing. The
initial value is GL_CCW. See glFrontFace.
GL_GREEN_BIAS params returns one value, the green bias factor
used during pixel transfers. The initial value
is 0.
GL_GREEN_BITS params returns one value, the number of green
bitplanes in each color buffer.
Page 11
glGet(3G) OpenGL Reference glGet(3G)
GL_GREEN_SCALE params returns one value, the green scale factor
used during pixel transfers. The initial value
is 1. See glPixelTransfer.
GL_HISTOGRAM params returns a single boolean value indicating
whether histogram is enabled. The initial value
is GL_FALSE. See glHistogram.
GL_INDEX_ARRAY params returns a single boolean value indicating
whether the color index array is enabled. The
initial value is GL_FALSE. See glIndexPointer.
GL_INDEX_ARRAY_STRIDE params returns one value, the byte offset
between consecutive color indexes in the color
index array. The initial value is 0. See
glIndexPointer.
GL_INDEX_ARRAY_TYPE params returns one value, the data type of
indexes in the color index array. The initial
value is GL_FLOAT. See glIndexPointer.
GL_INDEX_BITS params returns one value, the number of
bitplanes in each color index buffer.
GL_INDEX_CLEAR_VALUE params returns one value, the color index used
to clear the color index buffers. The initial
value is 0. See glClearIndex.
GL_INDEX_LOGIC_OP params returns a single boolean value indicating
whether a fragment's index values are merged
into the framebuffer using a logical operation.
The initial value is GL_FALSE. See glLogicOp.
GL_INDEX_MODE params returns a single boolean value indicating
whether the GL is in color index mode (GL_TRUE)
or RGBA mode (GL_FALSE).
GL_INDEX_OFFSET params returns one value, the offset added to
color and stencil indices during pixel
transfers. The initial value is 0. See
glPixelTransfer.
GL_INDEX_SHIFT params returns one value, the amount that color
and stencil indices are shifted during pixel
transfers. The initial value is 0. See
glPixelTransfer.
GL_INDEX_WRITEMASK 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
glIndexMask.
Page 12
glGet(3G) OpenGL Reference glGet(3G)
GL_INSTRUMENT_MEASUREMENTS_SGIX [Toc] [Back]
params returns one value, the number of
outstanding instrumentation requests made since
the instrumentation buffer was specified. See
glInstrumentsBufferSGIX.
GL_INTERLACE_SGIX params returns a single boolean value indicating
whether glDrawPixels, glTexSubImage2DEXT,
glCopyPixels and glCopyTexSubImage2DEXT skip
every other line in the destination pixel array.
See glDrawPixels, glTexSubImage2DEXT,
glCopyPixels and glCopyTexSubImage2DEXT.
GL_INTERLACE_READ_INGR params returns a single boolean value indicating
whether glReadPixels, glCopyPixels and
glCopyTexSubImage2DEXT skip every other line in
the source pixel array. See glReadPixels,
glCopyPixels and glCopyTexSubImage2DEXT.
GL_LIGHTi params returns a single boolean value indicating
whether the specified light is enabled. The
initial value is GL_FALSE. See glLight and
glLightModel.
GL_LIGHTING params returns a single boolean value indicating
whether lighting is enabled. The initial value
is GL_FALSE. See glLightModel.
GL_LIGHT_MODEL_AMBIENT params returns four values: the red, green,
blue, and alpha components of the ambient
intensity of the entire scene. 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.2, 0.2, 0.2, 1.0). See
glLightModel.
GL_LIGHT_MODEL_COLOR_CONTROL [Toc] [Back]
params returns single enumerated value
indicating whether specular reflection
calculations are separated from normal lighting
computations. The initial value is
GL_SINGLE_COLOR.
GL_LIGHT_MODEL_LOCAL_VIEWER [Toc] [Back]
params returns a single boolean value indicating
whether specular reflection calculations treat
the viewer as being local to the scene. The
initial value is GL_FALSE. See glLightModel.
Page 13
glGet(3G) OpenGL Reference glGet(3G)
GL_LIGHT_MODEL_TWO_SIDE params returns a single boolean value indicating
whether separate materials are used to compute
lighting for front- and back-facing polygons.
The initial value is GL_FALSE. See glLightModel.
GL_LINE_SMOOTH params returns a single boolean value indicating
whether antialiasing of lines is enabled. The
initial value is GL_FALSE. See glLineWidth.
GL_LINE_SMOOTH_HINT params returns one value, a symbolic constant
indicating the mode of the line antialiasing
hint. The initial value is GL_DONT_CARE. See
glHint.
GL_LINE_STIPPLE params returns a single boolean value indicating
whether stippling of lines is enabled. The
initial value is GL_FALSE. See glLineStipple.
GL_LINE_STIPPLE_PATTERN params returns one value, the 16-bit line
stipple pattern. The initial value is all 1's.
See glLineStipple.
GL_LINE_STIPPLE_REPEAT params returns one value, the line stipple
repeat factor. The initial value is 1. See
glLineStipple.
GL_LINE_WIDTH params returns one value, the line width as
specified with glLineWidth. The initial value is
1.
GL_LINE_WIDTH_GRANULARITY [Toc] [Back]
params returns one value, the width difference
between adjacent supported widths for
antialiased lines. See glLineWidth.
GL_LINE_WIDTH_RANGE params returns two values: the smallest and
largest supported widths for antialiased lines.
See glLineWidth.
GL_LIST_BASE params returns one value, the base offset added
to all names in arrays presented to glCallLists.
The initial value is 0. See glListBase.
GL_LIST_INDEX params returns one value, the name of the
display list currently under construction. 0 is
returned if no display list is currently under
construction. The initial value is 0. See
glNewList.
GL_LIST_MODE params returns one value, a symbolic constant
indicating the construction mode of the display
list currently under construction. The initial
Page 14
glGet(3G) OpenGL Reference glGet(3G)
value is 0. See glNewList.
GL_LOGIC_OP_MODE params returns one value, a symbolic constant
indicating the selected logic operation mode.
The initial value is GL_COPY. See glLogicOp.
GL_MAP1_COLOR_4 params returns a single boolean value indicating
whether 1D evaluation generates colors. The
initial value is GL_FALSE. See glMap1.
GL_MAP1_GRID_DOMAIN params returns two values: the endpoints of the
1D map's grid domain. The initial value is (0,
1). See glMapGrid.
GL_MAP1_GRID_SEGMENTS params returns one value, the number of
partitions in the 1D map's grid domain. The
initial value is 1. See glMapGrid.
GL_MAP1_INDEX params returns a single boolean value indicating
whether 1D evaluation generates color indices.
The initial value is GL_FALSE. See glMap1.
GL_MAP1_NORMAL params returns a single boolean value indicating
whether 1D evaluation generates normals. The
initial value is GL_FALSE. See glMap1.
GL_MAP1_TEXTURE_COORD_1 params returns a single boolean value indicating
whether 1D evaluation generates 1D texture
coordinates. The initial value is GL_FALSE. See
glMap1.
GL_MAP1_TEXTURE_COORD_2 params returns a single boolean value indicating
whether 1D evaluation generates 2D texture
coordinates. The initial value is GL_FALSE. See
glMap1.
GL_MAP1_TEXTURE_COORD_3 params returns a single boolean value indicating
whether 1D evaluation generates 3D texture
coordinates. The initial value is GL_FALSE. See
glMap1.
GL_MAP1_TEXTURE_COORD_4 params returns a single boolean value indicating
whether 1D evaluation generates 4D texture
coordinates. The initial value is GL_FALSE. See
glMap1.
GL_MAP1_VERTEX_3 params returns a single boolean value indicating
whether 1D evaluation generates 3D vertex
coordinates. The initial value is GL_FALSE. See
glMap1.
Page 15
glGet(3G) OpenGL Reference glGet(3G)
GL_MAP1_VERTEX_4 params returns a single boolean value indicating
whether 1D evaluation generates 4D vertex
coordinates. The initial value is GL_FALSE. See
glMap1.
GL_MAP2_COLOR_4 params returns a single boolean value indicating
whether 2D evaluation generates colors. The
initial value is GL_FALSE. See glMap2.
GL_MAP2_GRID_DOMAIN 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 glMapGrid.
GL_MAP2_GRID_SEGMENTS params returns two values: the number of
partitions in the 2D map's i and j grid domains.
The initial value is (1,1). See glMapGrid.
GL_MAP2_INDEX params returns a single boolean value indicating
whether 2D evaluation generates color indices.
The initial value is GL_FALSE. See glMap2.
GL_MAP2_NORMAL params returns a single boolean value indicating
whether 2D evaluation generates normals. The
initial value is GL_FALSE. See glMap2.
GL_MAP2_TEXTURE_COORD_1 params returns a single boolean value indicating
whether 2D evaluation generates 1D texture
coordinates. The initial value is GL_FALSE. See
glMap2.
GL_MAP2_TEXTURE_COORD_2 params returns a single boolean value indicating
whether 2D evaluation generates 2D texture
coordinates. The initial value is GL_FALSE. See
glMap2.
GL_MAP2_TEXTURE_COORD_3 params returns a single boolean value indicating
whether 2D evaluation generates 3D texture
coordinates. The initial value is GL_FALSE. See
glMap2.
GL_MAP2_TEXTURE_COORD_4 params returns a single boolean value indicating
whether 2D evaluation generates 4D texture
coordinates. The initial value is GL_FALSE. See
glMap2.
GL_MAP2_VERTEX_3 params returns a single boolean value indicating
whether 2D evaluation generates 3D vertex
coordinates. The initial value is GL_FALSE. See
glMap2.
Page 16
glGet(3G) OpenGL Reference glGet(3G)
GL_MAP2_VERTEX_4 params returns a single boolean value indicating
whether 2D evaluation generates 4D vertex
coordinates. The initial value is GL_FALSE. See
glMap2.
GL_MAP_COLOR params returns a single boolean value indicating
if colors and color indices are to be replaced
by table lookup during pixel transfers. The
initial value is GL_FALSE. See glPixelTransfer.
GL_MAP_STENCIL params returns a single boolean value indicating
if stencil indices are to be replaced by table
lookup during pixel transfers. The initial value
is GL_FALSE. See glPixelTransfer.
GL_MATRIX_MODE params returns one value, a symbolic constant
indicating which matrix stack is currently the
target of all matrix operations. The initial
value is GL_MODELVIEW. See glMatrixMode.
GL_MAX_3D_TEXTURE_SIZE 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
GL_PROXY_TEXTURE_3D to determine if a texture is
too large. See glTexImage3D.
GL_MAX_ACTIVE_LIGHTS_SGIX [Toc] [Back]
params returns one value, the maximum value for
the total number of lights (both regular vertex
lights and fragment lights) which can be active
at any one time. See glLight and
glFragmentLight.
GL_MAX_ASYNC_DRAW_PIXELS_SGIX [Toc] [Back]
params returns one value, the maximum number of
outstanding asynchronous glDrawPixels commands
at any one time. See glDrawPixels.
GL_MAX_ASYNC_READ_PIXELS_SGIX [Toc] [Back]
params returns one value, the maximum number of
outstanding asynchronous glReadPixels commands
at any one time. See glReadPixels.
GL_MAX_ASYNC_TEX_IMAGE_SGIX [Toc] [Back]
params returns one value, the maximum number of
outstanding asynchronous glTexImage commands at
any one time. See glTexImage1D, glTexImage2D,
glTexImage3D, glTexSubImage1D, glTexSubImage2D,
and glTexSubImage3D.
Page 17
glGet(3G) OpenGL Reference glGet(3G)
GL_MAX_ATTRIB_STACK_DEPTH [Toc] [Back]
params returns one value, the maximum supported
depth of the attribute stack. The value must be
at least 16. See glPushAttrib.
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH [Toc] [Back]
params returns one value indicating the maximum
supported depth of the client attribute stack.
See glPushClientAttrib.
GL_MAX_CLIP_PLANES params returns one value, the maximum number of
application-defined clipping planes. The value
must be at least 6. See glClipPlane.
GL_MAX_CLIPMAP_DEPTH_SGIX [Toc] [Back]
params returns one value, the maximum number of
levels permitted in a clipmap. See
glTexParameter.
GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX [Toc] [Back]
params returns one value, the maximum number of
levels permitted in a virtual clipmap. See
glTexParameter.
GL_MAX_COLOR_MATRIX_STACK_DEPTH [Toc] [Back]
params returns one value, the maximum supported
depth of the color matrix stack. The value must
be at least 2. See glPushMatrix.
GL_MAX_ELEMENTS_INDICES params returns one value, the recommended
maximum number of vertex array indices. See
glDrawRangeElements.
GL_MAX_ELEMENTS_VERTICES params returns one value, the recommended
maximum number of vertex array vertices. See
glDrawRangeElements.
GL_MAX_EVAL_ORDER params returns one value, the maximum equation
order supported by 1D and 2D evaluators. The
value must be at least 8. See glMap1 and
glMap2.
GL_MAX_FOG_FUNC_POINTS_SGIS [Toc] [Back]
params returns one value, the maximum number of
control points supported in custom fog blending
functions. See glFog and glFogFuncSGIS.
GL_MAX_FRAGMENT_LIGHTS_SGIX [Toc] [Back]
params returns one value, the maximum number of
fragment lights. See glFragmentLight.
Page 18
glGet(3G) OpenGL Reference glGet(3G)
GL_MAX_LIGHTS params returns one value, the maximum number of
lights. The value must be at least 8. See
glLight.
GL_MAX_LIST_NESTING params returns one value, the maximum recursion
depth allowed during display-list traversal. The
value must be at least 64. See glCallList.
GL_MAX_MODELVIEW_STACK_DEPTH [Toc] [Back]
params returns one value, the maximum supported
depth of the modelview matrix stack. The value
must be at least 32. See glPushMatrix.
GL_MAX_NAME_STACK_DEPTH params returns one value, the maximum supported
depth of the selection name stack. The value
must be at least 64. See glPushName.
GL_MAX_PIXEL_MAP_TABLE params returns one value, the maximum supported
size of a glPixelMap lookup table. The value
must be at least 32. See glPixelMap.
GL_MAX_PROJECTION_STACK_DEPTH [Toc] [Back]
params returns one value, the maximum supported
depth of the projection matrix stack. The value
must be at least 2. See glPushMatrix.
GL_MAX_TEXTURE_SIZE 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 GL_
|