fglGet(3G) OpenGL Reference fglGet(3G)NAME
fglGetBooleanv, fglGetDoublev, fglGetFloatv, fglGetIntegerv - return the
value or values of a selected parameter
FORTRAN SPECIFICATION
SUBROUTINE fglGetBooleanv( INTEGER*4 pname,
CHARACTER*8 params )
FORTRAN SPECIFICATION
SUBROUTINE fglGetDoublev( INTEGER*4 pname,
CHARACTER*8 params )
FORTRAN SPECIFICATION
SUBROUTINE fglGetFloatv( INTEGER*4 pname,
CHARACTER*8 params )
FORTRAN SPECIFICATION
SUBROUTINE fglGetIntegerv( INTEGER*4 pname,
CHARACTER*8 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 fglGetBooleanv 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
fglGetIntegerv 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 fglGetFloatv or fglGetDoublev is called, boolean values are returned
as GL_TRUE or GL_FALSE, and integer values are converted to floating-
point values.
Page 1
fglGet(3G) OpenGL Reference fglGet(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 fglClearAccum.
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
params returns two values, the smallest and
largest supported sizes for aliased points.
GL_ALIASED_LINE_WIDTH_RANGE
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 fglPixelTransfer.
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 fglPixelTransfer.
GL_ALPHA_TEST params returns a single boolean value indicating
whether alpha testing of fragments is enabled.
The initial value is GL_FALSE. See fglAlphaFunc.
GL_ALPHA_TEST_FUNC params returns one value, the symbolic name of
the alpha test function. The initial value is
GL_ALWAYS. See fglAlphaFunc.
Page 2
fglGet(3G) OpenGL Reference fglGet(3G)
GL_ALPHA_TEST_REF params returns one value, the reference value
for the alpha test. The initial value is 0. See
fglAlphaFunc. 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
params returns a single boolean value indicating
whether asynchronous fglDrawPixels commands are
enabled. The initial value is GL_FALSE. See
fglDrawPixels.
GL_ASYNC_MARKER_SGIX params returns one value, the current marker
value for asynchronous commands. The initial
value is 0. See fglAsyncMarkerSGIX.
GL_ASYNC_READ_PIXELS_SGIX
params returns a single boolean value indicating
whether asynchronous fglReadPixels commands are
enabled. The initial value is GL_FALSE. See
fglReadPixels.
GL_ASYNC_TEX_IMAGE_SGIX params returns a single boolean value indicating
whether asynchronous fglTexImage commands are
enabled. The initial value is GL_FALSE. See
fglTexImage1D, fglTexImage2D, fglTexImage3D,
fglTexSubImage1D, fglTexSubImage2D, and
fglTexSubImage3D.
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
fglPushAttrib.
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 fglMap2.
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 fglBlendFunc.
GL_BLEND_COLOR params returns four values, the red, green,
blue, and alpha values which are the components
of the blend color. See fglBlendColor.
Page 3
fglGet(3G) OpenGL Reference fglGet(3G)
GL_BLEND_DST params returns one value, the symbolic constant
identifying the destination blend function. The
initial value is GL_ZERO. See fglBlendFunc.
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
fglBlendEquation.
GL_BLEND_SRC params returns one value, the symbolic constant
identifying the source blend function. The
initial value is GL_ONE. See fglBlendFunc.
GL_BLEND_OP_SGI params returns one value, the symbolic constant
identifying the blend operator. See
fglBlendFunc.
GL_BLUE_BIAS params returns one value, the blue bias factor
used during pixel transfers. The initial value
is 0. See fglPixelTransfer.
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 fglPixelTransfer.
GL_CALLIGRAPHIC_FRAGMENT_SGIX
params returns a single boolean value indicating
whether fragment information is sent to the
calligraphic interface.
GL_CLIENT_ATTRIB_STACK_DEPTH
params returns one value indicating the depth of
the attribute stack. The initial value is 0.
See fglPushClientAttrib.
GL_CLIP_PLANEi params returns a single boolean value indicating
whether the specified clipping plane is enabled.
The initial value is GL_FALSE. See fglClipPlane.
GL_COLOR_ARRAY params returns a single boolean value indicating
whether the color array is enabled. The initial
value is GL_FALSE. See fglColorPointer.
GL_COLOR_ARRAY_SIZE params returns one value, the number of
components per color in the color array. The
initial value is 4. See fglColorPointer.
Page 4
fglGet(3G) OpenGL Reference fglGet(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 fglColorPointer.
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 fglColorPointer.
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
fglClearColor.
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
fglLogicOp.
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 fglColorMaterial.
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 fglColorMaterial.
GL_COLOR_MATERIAL_PARAMETER
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 fglColorMaterial.
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
fglPushMatrix.
GL_COLOR_MATRIX_STACK_DEPTH
params returns one value, the maximum supported
depth of the projection matrix stack. The value
must be at least 2. See fglPushMatrix.
Page 5
fglGet(3G) OpenGL Reference fglGet(3G)
GL_COLOR_TABLE params returns a single boolean value indicating
whether the color table lookup is enabled. See
fglColorTable.
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 fglColorMask.
GL_CONVOLUTION_1D params returns a single boolean value indicating
whether 1D convolution is enabled. The initial
value is GL_FALSE. See fglConvolutionFilter1D.
GL_CONVOLUTION_2D params returns a single boolean value indicating
whether 2D convolution is enabled. The initial
value is GL_FALSE. See fglConvolutionFilter2D.
GL_CULL_FACE params returns a single boolean value indicating
whether polygon culling is enabled. The initial
value is GL_FALSE. See fglCullFace.
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 fglCullFace.
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 fglColor. 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 fglIndex.
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 fglNormal.
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
fglGet(3G) OpenGL Reference fglGet(3G)
positive representable integer value, and -1.0
returns the most negative representable integer
value. The initial value is (1, 1, 1, 1). See
fglRasterPos.
GL_CURRENT_RASTER_DISTANCE
params returns one value, the distance from the
eye to the current raster position. The initial
value is 0. See fglRasterPos.
GL_CURRENT_RASTER_INDEX params returns one value, the color index of the
current raster position. The initial value is 1.
See fglRasterPos.
GL_CURRENT_RASTER_POSITION
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 fglRasterPos.
GL_CURRENT_RASTER_POSITION_VALID
params returns a single boolean value indicating
whether the current raster position is valid.
The initial value is GL_TRUE. See fglRasterPos.
GL_CURRENT_RASTER_TEXTURE_COORDS
params returns four values: the s, t, r, and q
current raster texture coordinates. The initial
value is (0, 0, 0, 1). See fglRasterPos and
fglTexCoord.
GL_CURRENT_TEXTURE_COORDS
params returns four values: the s, t, r, and q
current texture coordinates. The initial value
is (0, 0, 0, 1). See fglTexCoord.
GL_DEPTH_BIAS params returns one value, the depth bias factor
used during pixel transfers. The initial value
is 0. See fglPixelTransfer.
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 fglClearDepth.
Page 7
fglGet(3G) OpenGL Reference fglGet(3G)
GL_DEPTH_FUNC params returns one value, the symbolic constant
that indicates the depth comparison function.
The initial value is GL_LESS. See fglDepthFunc.
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 fglDepthRange.
GL_DEPTH_SCALE params returns one value, the depth scale factor
used during pixel transfers. The initial value
is 1. See fglPixelTransfer.
GL_DEPTH_TEST params returns a single boolean value indicating
whether depth testing of fragments is enabled.
The initial value is GL_FALSE. See fglDepthFunc
and fglDepthRange.
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 fglDepthMask.
GL_DETAIL_TEXTURE_2D_BINDING_SGIS
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 fglDetailTexFuncSGIS.
GL_DISTANCE_ATTENUATION_SGIS
params returns three values, the coefficients of
the distance attentuation function for rendering
points. See fglPointParameterSGIS.
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
fglDrawBuffer. The initial value is GL_BACK if
there are back buffers, otherwise it is
GL_FRONT.
Page 8
fglGet(3G) OpenGL Reference fglGet(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
fglEdgeFlag.
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
fglEdgeFlagPointer.
GL_EDGE_FLAG_ARRAY_STRIDE
params returns one value, the byte offset
between consecutive edge flags in the edge flag
array. The initial value is 0. See
fglEdgeFlagPointer.
GL_FEEDBACK_BUFFER_SIZE params returns one value, the size of the
feedback buffer. See fglFeedbackBuffer.
GL_FEEDBACK_BUFFER_TYPE params returns one value, the type of the
feedback buffer. See fglFeedbackBuffer.
GL_FOG params returns a single boolean value indicating
whether fogging is enabled. The initial value is
GL_FALSE. See fglFog.
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
fglFog.
GL_FOG_DENSITY params returns one value, the fog density
parameter. The initial value is 1. See fglFog.
GL_FOG_END params returns one value, the end factor for the
linear fog equation. The initial value is 1. See
fglFog.
GL_FOG_FUNC_POINTS_SGIS params returns one value, the number of points
in the current custom fog blending function.
See fglFog and fglFogFuncSGIS.
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
fglGet(3G) OpenGL Reference fglGet(3G)
distance. The number of control points may be
queried by fglGet with argument
GL_FOG_FUNC_POINTS_SGIS. See fglFog and
fglFogFuncSGIS.
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 fglHint.
GL_FOG_INDEX params returns one value, the fog color index.
The initial value is 0. See fglFog.
GL_FOG_MODE params returns one value, a symbolic constant
indicating which fog equation is selected. The
initial value is GL_EXP. See fglFog.
GL_FOG_START params returns one value, the start factor for
the linear fog equation. The initial value is 0.
See fglFog.
GL_FOG_OFFSET_SGIX params returns a single boolean value indicating
whether fog offset is enabled. See fglFog.
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 fglFog.
GL_FRAGMENT_COLOR_MATERIAL_SGIX
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 fglFragmentColorMaterial.
GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX
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
fglFragmentColorMaterial.
GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX
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
fglFragmentColorMaterial.
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
fglFragmentLight and fglFragmentLightModel.
Page 10
fglGet(3G) OpenGL Reference fglGet(3G)
GL_FRAGMENT_LIGHTING_SGIX
params returns a single boolean value indicating
whether fragment lighting is enabled. The
initial value is GL_FALSE. See
fglFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX
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
fglFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX
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
fglFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX
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
fglFragmentLightModel.
GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX
params returns a single boolean value indicating
whether separate fragment materials are used to
compute fragment lighting for front- and back-
facing polygons. The initial value is GL_FALSE.
See fglFragmentLightModel.
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 fglFrontFace.
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
fglGet(3G) OpenGL Reference fglGet(3G)
GL_GREEN_SCALE params returns one value, the green scale factor
used during pixel transfers. The initial value
is 1. See fglPixelTransfer.
GL_HISTOGRAM params returns a single boolean value indicating
whether histogram is enabled. The initial value
is GL_FALSE. See fglHistogram.
GL_INDEX_ARRAY params returns a single boolean value indicating
whether the color index array is enabled. The
initial value is GL_FALSE. See fglIndexPointer.
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
fglIndexPointer.
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 fglIndexPointer.
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 fglClearIndex.
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 fglLogicOp.
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
fglPixelTransfer.
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
fglPixelTransfer.
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
fglIndexMask.
Page 12
fglGet(3G) OpenGL Reference fglGet(3G)
GL_INSTRUMENT_MEASUREMENTS_SGIX
params returns one value, the number of
outstanding instrumentation requests made since
the instrumentation buffer was specified. See
fglInstrumentsBufferSGIX.
GL_INTERLACE_SGIX params returns a single boolean value indicating
whether fglDrawPixels, fglTexSubImage2DEXT,
fglCopyPixels and fglCopyTexSubImage2DEXT skip
every other line in the destination pixel array.
See fglDrawPixels, fglTexSubImage2DEXT,
fglCopyPixels and fglCopyTexSubImage2DEXT.
GL_INTERLACE_READ_INGR params returns a single boolean value indicating
whether fglReadPixels, fglCopyPixels and
fglCopyTexSubImage2DEXT skip every other line in
the source pixel array. See fglReadPixels,
fglCopyPixels and fglCopyTexSubImage2DEXT.
GL_LIGHTi params returns a single boolean value indicating
whether the specified light is enabled. The
initial value is GL_FALSE. See fglLight and
fglLightModel.
GL_LIGHTING params returns a single boolean value indicating
whether lighting is enabled. The initial value
is GL_FALSE. See fglLightModel.
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
fglLightModel.
GL_LIGHT_MODEL_COLOR_CONTROL
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
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 fglLightModel.
Page 13
fglGet(3G) OpenGL Reference fglGet(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
fglLightModel.
GL_LINE_SMOOTH params returns a single boolean value indicating
whether antialiasing of lines is enabled. The
initial value is GL_FALSE. See fglLineWidth.
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
fglHint.
GL_LINE_STIPPLE params returns a single boolean value indicating
whether stippling of lines is enabled. The
initial value is GL_FALSE. See fglLineStipple.
GL_LINE_STIPPLE_PATTERN params returns one value, the 16-bit line
stipple pattern. The initial value is all 1's.
See fglLineStipple.
GL_LINE_STIPPLE_REPEAT params returns one value, the line stipple
repeat factor. The initial value is 1. See
fglLineStipple.
GL_LINE_WIDTH params returns one value, the line width as
specified with fglLineWidth. The initial value
is 1.
GL_LINE_WIDTH_GRANULARITY
params returns one value, the width difference
between adjacent supported widths for
antialiased lines. See fglLineWidth.
GL_LINE_WIDTH_RANGE params returns two values: the smallest and
largest supported widths for antialiased lines.
See fglLineWidth.
GL_LIST_BASE params returns one value, the base offset added
to all names in arrays presented to
fglCallLists. The initial value is 0. See
fglListBase.
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
fglNewList.
Page 14
fglGet(3G) OpenGL Reference fglGet(3G)
GL_LIST_MODE params returns one value, a symbolic constant
indicating the construction mode of the display
list currently under construction. The initial
value is 0. See fglNewList.
GL_LOGIC_OP_MODE params returns one value, a symbolic constant
indicating the selected logic operation mode.
The initial value is GL_COPY. See fglLogicOp.
GL_MAP1_COLOR_4 params returns a single boolean value indicating
whether 1D evaluation generates colors. The
initial value is GL_FALSE. See fglMap1.
GL_MAP1_GRID_DOMAIN params returns two values: the endpoints of the
1D map's grid domain. The initial value is (0,
1). See fglMapGrid.
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 fglMapGrid.
GL_MAP1_INDEX params returns a single boolean value indicating
whether 1D evaluation generates color indices.
The initial value is GL_FALSE. See fglMap1.
GL_MAP1_NORMAL params returns a single boolean value indicating
whether 1D evaluation generates normals. The
initial value is GL_FALSE. See fglMap1.
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
fglMap1.
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
fglMap1.
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
fglMap1.
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
fglMap1.
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
Page 15
fglGet(3G) OpenGL Reference fglGet(3G)
fglMap1.
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
fglMap1.
GL_MAP2_COLOR_4 params returns a single boolean value indicating
whether 2D evaluation generates colors. The
initial value is GL_FALSE. See fglMap2.
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 fglMapGrid.
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 fglMapGrid.
GL_MAP2_INDEX params returns a single boolean value indicating
whether 2D evaluation generates color indices.
The initial value is GL_FALSE. See fglMap2.
GL_MAP2_NORMAL params returns a single boolean value indicating
whether 2D evaluation generates normals. The
initial value is GL_FALSE. See fglMap2.
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
fglMap2.
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
fglMap2.
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
fglMap2.
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
fglMap2.
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
fglMap2.
Page 16
fglGet(3G) OpenGL Reference fglGet(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
fglMap2.
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 fglPixelTransfer.
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 fglPixelTransfer.
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 fglMatrixMode.
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 fglTexImage3D.
GL_MAX_ACTIVE_LIGHTS_SGIX
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 fglLight and
fglFragmentLight.
GL_MAX_ASYNC_DRAW_PIXELS_SGIX
params returns one value, the maximum number of
outstanding asynchronous fglDrawPixels commands
at any one time. See fglDrawPixels.
GL_MAX_ASYNC_READ_PIXELS_SGIX
params returns one value, the maximum number of
outstanding asynchronous fglReadPixels commands
at any one time. See fglReadPixels.
GL_MAX_ASYNC_TEX_IMAGE_SGIX
params returns one value, the maximum number of
outstanding asynchronous fglTexImage commands at
any one time. See fglTexImage1D, fglTexImage2D,
fglTexImage3D, fglTexSubImage1D,
fglTexSubImage2D, and fglTexSubImage3D.
Page 17
fglGet(3G) OpenGL Reference fglGet(3G)
GL_MAX_ATTRIB_STACK_DEPTH
params returns one value, the maximum supported
depth of the attribute stack. The value must be
at least 16. See fglPushAttrib.
GL_MAX_CLIENT_ATTRIB_STACK_DEPTH
params returns one value indicating the maximum
supported depth of the client attribute stack.
See fglPushClientAttrib.
GL_MAX_CLIP_PLANES params returns one value, the maximum number of
application-defined clipping planes. The value
must be at least 6. See fglClipPlane.
GL_MAX_CLIPMAP_DEPTH_SGIX
params returns one value, the maximum number of
levels permitted in a clipmap. See
fglTexParameter.
GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX
params returns one value, the maximum number of
levels permitted in a virtual clipmap. See
fglTexParameter.
GL_MAX_COLOR_MATRIX_STACK_DEPTH
params returns one value, the maximum supported
depth of the color matrix stack. The value must
be at least 2. See fglPushMatrix.
GL_MAX_ELEMENTS_INDICES params returns one value, the recommended
maximum number of vertex array indices. See
fglDrawRangeElements.
GL_MAX_ELEMENTS_VERTICES params returns one value, the recommended
maximum number of vertex array vertices. See
fglDrawRangeElements.
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 fglMap1 and
fglMap2.
GL_MAX_FOG_FUNC_POINTS_SGIS
params returns one value, the maximum number of
control points supported in custom fog blending
functions. See fglFog and fglFogFuncSGIS.
GL_MAX_FRAGMENT_LIGHTS_SGIX
params returns one value, the maximum number of
fragment lights. See fglFragmentLight.
Page 18
fglGet(3G) OpenGL Reference fglGet(3G)
GL_MAX_LIGHTS params returns one value, the maximum number of
lights. The value must be at least 8. See
fglLight.
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 fglCallList.
GL_MAX_MODELVIEW_STACK_DEPTH
params returns one value, the maximum supported
depth of the modelview matrix stack. The value
must be at least 32. See fglPushMatrix.
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 fglPushName.
GL_MAX_PIXEL_MAP_TABLE params returns one value, the maximum supported
size of a fglPixelMap lookup table. The value
must be at least 32. See fglPixelMap.
GL_MAX_PROJECTION_STACK_DEPTH
params returns one value, the maximum supported
depth of the projection matrix stack. The value
must be at least 2. See fglPushMatrix.
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_PROXY_TEXTURE_1D or
GL_PROXY_TEXTURE_2D to determine if a texture is
too large. See fglTexImage1D and fglTexImage2D.
GL_MAX_TEXTURE_STACK_DEPTH
params returns one value, the maximum supported
depth of the texture matrix stack. The value
must be at least 2. See fglPushMatrix.
GL_MAX_VIEWPORT_DIMS params returns two values: the maximum
supported width and height of the viewport.
These must be at least as large as the visible
dimensions of the display being rendered to.
See fglViewport.
GL_MINMAX params returns a single boolean value indicating
whether pixel minmax values are computed. The
initial value is GL_FALSE. See fglMinmax.
GL_MODELVIEW_MATRIX params returns sixteen values: the modelview
matrix on the top of the modelview matrix stack.
Initially this matrix is the identity matrix.
See fglPushMatrix.
Page 19
fglGet(3G) OpenGL Reference fglGet(3G)
GL_MODELVIEW_STACK_DEPTH params returns one value, the number of matrices
on the modelview matrix stack. The initial
value is 1. See fglPushMatrix.
GL_NAME_STACK_DEPTH params returns one value, the number of names on
the selection name stack. The initial value is
0. See fglPushName.
GL_MULTISAMPLE_SGIS params returns a single boolean value indicating
whether multisampling is enabled. See
fglSamplePatternSGIS.
GL_NORMAL_ARRAY params returns a single boolean value,
indicating whether the normal array is enabled.
The initial value is GL_FALSE. See
fglNormalPointer.
GL_NORMAL_ARRAY_STRIDE params returns one value, the byte offset
between consecutive normals in the normal array.
The initial value is 0. See fglNormalPointer.
GL_NORMAL_ARRAY_TYPE params returns one value, the data type of each
coordinate in the normal array. The initial
value is GL_FLOAT. See fglNormalPointer.
GL_NORMALIZE params returns a single boolean value indicating
whether normals are automatically scaled to unit
length after they have been transformed to eye
coordinates. The initial value is GL_FALSE. See
fglNormal.
GL_PACK_ALIGNMENT params returns one value, the byte alignment
used for writing pixel data to memory. The
initial value is 4. See fglPixelStore.
GL_PACK_IMAGE_HEIGHT params returns one value, the image height used
for writing pixel data to memory. The initial
value is 0. See fglPixelStore.
GL_PACK_LSB_FIRST params returns a single boolean value indicating
whether single-bit pixels being written to
memory are written first to the least
significant bit of each unsigned byte. The
initial value is GL_FALSE. See fglPixelStore.
GL_PACK_ROW_LENGTH params returns one value, the row length used
for writing pixel data to memory. The initial
value is 0. See fglPixelStore.
GL_PACK_SKIP_IMAGES params returns one value, the number of pixel
images skipped before the first pixel is written
into memory. The initial value is 0. See
Page 20
fglGet(3G) OpenGL Reference fglGet(3G)
fglPixelStore.
GL_PACK_SKIP_PIXELS params returns one value, the number of pixel
locations skipped before the first pixel is
written into memory. The initial value is 0. See
fglPixelStore.
GL_PACK_SKIP_ROWS 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 fglPixelStore.
GL_PACK_SWAP_BYTES params returns a single boolean value indicating
whether the bytes of two-byte and four-byte
pixel indices and components are swapped before
being written to memory. The initial value is
GL_FALSE. See fglPixelStore.
GL_PERSPECTIVE_CORRECTION_HINT
params returns one value, a symbolic constant
indicating the mode of the perspective
correction hint. The initial value is
GL_DONT_CARE. See fglHint.
GL_PIXEL_MAP_A_TO_A_SIZE params returns one value, the size of the
alpha-to-alpha pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_MAP_B_TO_B_SIZE params returns one value, the size of the blue-
to-blue pixel translation table. The initial
value is 1. See fglPixelMap.
GL_PIXEL_MAP_G_TO_G_SIZE params returns one value, the size of the
green-to-green pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_MAP_I_TO_A_SIZE params returns one value, the size of the
index-to-alpha pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_MAP_I_TO_B_SIZE params returns one value, the size of the
index-to-blue pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_MAP_I_TO_G_SIZE params returns one value, the size of the
index-to-green pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_MAP_I_TO_I_SIZE params returns one value, the size of the
index-to-index pixel translation table. The
initial value is 1. See fglPixelMap.
Page 21
fglGet(3G) OpenGL Reference fglGet(3G)
GL_PIXEL_MAP_I_TO_R_SIZE params returns one value, the size of the
index-to-red pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_MAP_R_TO_R_SIZE params returns one value, the size of the red-
to-red pixel translation table. The initial
value is 1. See fglPixelMap.
GL_PIXEL_MAP_S_TO_S_SIZE params returns one value, the size of the
stencil-to-stencil pixel translation table. The
initial value is 1. See fglPixelMap.
GL_PIXEL_TEXTURE_SGIS params returns a single boolean value indicating
whether pixel texturing is enabled. The initial
value is GL_FALSE. See
fglPixelTexGenParameterSGIS.
GL_POINT_FADE_THRESHOLD_SIZE_SGIS
params returns one value, the size at which a
dynamically-sized point will begin to fade (in
order to further reduce its brightness). See
fglPointParameterSGIS.
GL_POINT_SIZE params returns one value, the point size as
specified by fglPointSize. The initial value is
1.
GL_POINT_SIZE_MAX_SGIS params returns one value, the maximum allowable
size for dynamically-sized points. See
fglPointParameterSGIS.
GL_POINT_SIZE_MIN_SGIS params returns one value, the minimum allowable
size for dynamically-sized points. See
fglPointParameterSGIS.
GL_POINT_SIZE_GRANULARITY
params returns one value, the size difference
between adjacent supported sizes for antialiased
points. See fglPointSize.
GL_POINT_SIZE_RANGE 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
fglPointSize.
GL_POINT_SMOOTH params returns a single boolean value indicating
whether antialiasing of points is enabled. The
initial value is GL_FALSE. See fglPointSize.
Page 22
fglGet(3G) OpenGL Reference fglGet(3G)
GL_POINT_SMOOTH_HINT params returns one value, a symbolic constant
indicating the mode of the point antialiasing
hint. The initial value is GL_DONT_CARE. See
fglHint.
GL_POLYGON_MODE params returns two values: symbolic constants
indicating whether front-facing and back-facing
polygons are rasterized as points, lines, or
filled polygons. The initial value is GL_FILL.
See fglPolygonMode.
GL_POLYGON_OFFSET_BIAS_EXT
params returns one value, the constant which is
added to the z value of each fragment generated
when a polygon is rasterized. See
fglPolygonOffsetEXT.
GL_POLYGON_OFFSET_EXT params returns a single boolean value indicating
whether polygon offset is enabled. See
fglPolygonOffsetEXT.
GL_POLYGON_OFFSET_FACTOR params returns one value, the scaling factor
used to determine the variable offset that is
added to the depth value of each fragment
generated when a polygon is rasterized. The
initial value is 0. See fglPolygonOffset.
GL_POLYGON_OFFSET_UNITS params returns one value. This value is
multiplied by an implementation-specific value
and then added to the depth value of each
fragment generated when a polygon is rasterized.
The initial value is 0. See fglPolygonOffset.
GL_POLYGON_OFFSET_FILL params returns a single boolean value indicating
whether polygon offset is enabled for polygons
in fill mode. The initial value is GL_FALSE.
See fglPolygonOffset.
GL_POLYGON_OFFSET_LINE params returns a single boolean value indicating
whether polygon offset is enabled for polygons
in line mode. The initial value is GL_FALSE.
See fglPolygonOffset.
GL_POLYGON_OFFSET_POINT params returns a single boolean value indicating
whether polygon offset is enabled for polygons
in point mode. The initial value is GL_FALSE.
See fglPolygonOffset.
GL_POLYGON_OFFSET_UNITS params returns one value. This value is
multiplied by an implementation-specific value
and then added to the depth value of each
fragment generated when a polygon is rasterized.
Page 23
fglGet(3G) OpenGL Reference fglGet(3G)
The initial value is 0. See fglPolygonOffset.
GL_POLYGON_SMOOTH params returns a single boolean value indicating
whether antialiasing of polygons is enabled. The
initial value is GL_FALSE. See fglPolygonMode.
GL_POLYGON_SMOOTH_HINT params returns one value, a symbolic constant
indicating the mode of the polygon antialiasing
hint. The initial value is GL_DONT_CARE. See
fglHint.
GL_POLYGON_STIPPLE params returns a single boolean value indicating
whether polygon stippling is enabled. The
initial value is GL_FALSE. See
fglPolygonStipple.
GL_POST_COLOR_MATRIX_COLOR_TABLE
params returns a single boolean value indicating
whether post color matrix transformation lookup
is enabled. The initial value is GL_FALSE. See
fglColorTable.
GL_POST_COLOR_MATRIX_RED_BIAS
params returns one value, the red bias factor
applied to RGBA fragments after color matrix
transformations. The initial value is 0. See
fglPixelTransfer.
GL_POST_COLOR_MATRIX_GREEN_BIAS
params returns one value, the green bias factor
applied to RGBA fragments after color matrix
transformations. The initial value is 0. See
fglPixelTransfer
GL_POST_COLOR_MATRIX_BLUE_BIAS
params returns one value, the blue bias factor
applied to RGBA fragments after color matrix
transformations. The initial value is 0. See
fglPixelTransfer.
GL_POST_COLOR_MATRIX_ALPHA_BIAS
params returns one value, the alpha bias factor
applied to RGBA fragments after color matrix
transformations. The initial value is 0. See
fglPixelTransfer.
GL_POST_COLOR_MATRIX_RED_SCALE
params returns one value, the red scale factor
applied to RGBA fragments after color matrix
transformations. The initial value is 1. See
fglPixelTransfer.
Page 24
fglGet(3G) OpenGL Reference fglGet(3G)
GL_POST_COLOR_MATRIX_GREEN_SCALE
params returns one value, the green scale factor
applied to RGBA fragments after color matrix
transformations. The initial value is 1. See
fglPixelTransfer.
GL_POST_COLOR_MATRIX_BLUE_SCALE
params returns one value, the blue scale factor
applied to RGBA fragments after color matrix
transformations. The initial value is 1. See
fglPixelTransfer.
GL_POST_COLOR_MATRIX_ALPHA_SCALE
params returns one value, the alpha scale factor
applied to RGBA fragments after color matrix
transformations. The initial value is 1. See
fglPixelTransfer.
GL_POST_CONVOLUTION_COLOR_TABLE
params returns a single boolean value indicating
whether post convolution lookup is enabled. The
initial value is GL_FALSE. See fglColorTable.
GL_POST_CONVOLUTION_RED_BIAS
params returns one value, the red bias factor
applied to RGBA fragments after convolution. The
initial value is 0. See fglPixelTransfer.
GL_POST_CONVOLUTION_GREEN_BIAS
params returns one value, the green bias factor
applied to RGBA fragments after convolution. The
initial value is 0. See fglPixelTransfer.
GL_POST_CONVOLUTION_BLUE_BIAS
params returns one value, the blue bias factor
applied to RGBA fragments after convolution. The
initial value is 0. See fglPixelTransfer.
GL_POST_CONVOLUTION_ALPHA_BIAS
params returns one value, the alpha bias factor
applied to RGBA fragments after convolution. The
initial value is 0. See fglPixelTransfer.
GL_POST_CONVOLUTION_RED_SCALE
params returns one value, the red scale factor
applied to RGBA fragments after convolution. The
initial value is 1. See fglPixelTransfer.
GL_POST_CONVOLUTION_GREEN_SCALE
params returns one value, the green scale factor
applied to RGBA fragments after convolution. The
initial value is 1. See fglPixelTransfer.
Page 25
fglGet(3G) OpenGL Reference fglGet(3G)
GL_POST_CONVOLUTION_BLUE_SCALE
params returns one value, the blue scale factor
applied to RGBA fragments after convolution. The
initial value is 1. See fglPixelTransfer.
GL_POST_CONVOLUTION_ALPHA_SCALE
params returns one value, the alpha scale factor
applied to RGBA fragments after convolution. The
initial value is 1. See fglPixelTransfer.
GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX
params returns two values: the minimum and
maximum values for the texture bias factors.
See fglTexParameterfv and fglTexParameteriv.
GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX
params returns two values: the minimum and
maximum values for the texture scale factors.
GL_PROJECTION_MATRIX params returns sixteen values: the projection
matrix on the top of the projection matrix
stack. Initially this matrix is the identity
matrix. See fglPushMatrix.
GL_PROJECTION_STACK_DEPTH
params returns one value, the number of matrices
on the projection matrix stack. The initial
value is 1. See fglPushMatrix.
GL_READ_BUFFER params returns one value, a symbolic constant
indicating which color buffer is selected for
reading. The initial value is GL_BACK if there
is a back buffer, otherwise it is GL_FRONT. See
fglReadPixels and fglAccum.
GL_RED_BIAS params returns one value, the red bias factor
used during pixel transfers. The initial value
is 0.
GL_RED_BITS params returns one value, the number of red
bitplanes in each color buffer.
GL_RED_SCALE params returns one value, the red scale factor
used during pixel transfers. The initial value
is 1. See fglPixelTransfer.
GL_REFERENCE_PLANE_EQUATION_SGIX
params returns four values, the coefficients of
the plane equation for the reference plane,
expressed in clip coordinates. See
fglReferencePlaneSGIX.
Page 26
fglGet(3G) OpenGL Reference fglGet(3G)
GL_REFERENCE_PLANE_SGIX params returns a single boolean value indicating
whether depth values for pixel fragments are
computed from the reference plane (true) or from
the primitive being drawn (false). See
fglReferencePlaneSGIX.
GL_RENDER_MODE params returns one value, a symbolic constant
indicating whether the GL is in render, select,
or feedback mode. The initial value is
GL_RENDER. See fglRenderMode.
GL_RESCALE_NORMAL params returns single boolean value indicating
whether normal rescaling is enabled. See
fglEnable.
GL_RGBA_MODE params returns a single boolean value indicating
whether the GL is in RGBA mode (true) or color
index mode (false). See fglColor.
GL_SAMPLE_ALPHA_TO_MASK_SGIS
params returns a single boolean value indicating
whether fragment alpha values will modify the
multisampling fragment mask. See
fglSampleMaskSGIS.
GL_SAMPLE_ALPHA_TO_ONE_SGIS
params returns a single boolean value indicating
whether fragment alpha will be set to the
maximum possible value after modifying the
multisampling fragment mask. See
fglSampleMaskSGIS.
GL_SAMPLE_BUFFERS_SGIS params returns one value, the number of
multisample buffers.
GL_SAMPLE_MASK_INVERT_SGIS
params returns a single boolean value indicating
whether the multisampling fragment modification
mask is to be inverted. See fglSampleMaskSGIS.
GL_SAMPLE_MASK_SGIS params returns a single boolean value indicating
whether the multisampling fragment mask will be
modified by a coverage mask. See
fglSampleMaskSGIS.
GL_SAMPLE_MASK_VALUE_SGIS
params returns one value, the coverage of the
multisampling fragment modification mask. See
fglSampleMaskSGIS.
Page 27
fglGet(3G) OpenGL Reference fglGet(3G)
GL_SAMPLE_PATTERN_SGIS params returns one value, a symbolic constant
indicating the multisampling pattern. See
fglSamplePatternSGIS.
GL_SAMPLES_SGIS params returns one value, the number of samples
per pixel used for multisampling.
GL_SCISSOR_BOX 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
fglScissor.
GL_SCISSOR_TEST params returns a single boolean value indicating
whether scissoring is enabled. The initial value
is GL_FALSE. See fglScissor.
GL_SELECTION_BUFFER_SIZE params return one value, the size of the
selection buffer. See fglSelectBuffer.
GL_SEPARABLE_2D params returns a single boolean value indicating
whether 2D separable convolution is enabled. The
initial value is GL_FALSE. See
fglSeparableFilter2D.
GL_SHADE_MODEL params returns one value, a symbolic constant
indicating whether the shading mode is flat or
smooth. The initial value is GL_SMOOTH. See
fglShadeModel.
GL_SMOOTH_LINE_WIDTH_RANGE
params returns two values, the smallest and
largest supported widths for antialiased lines.
See fglLineWidth.
GL_SMOOTH_LINE_WIDTH_GRANULARITY
params returns one value, the granularity of
widths for antialiased lines. See fglLineWidth.
GL_SMOOTH_POINT_SIZE_RANGE
params returns two values, the smallest and
largest supported widths for antialiased points.
See fglPointSize.
GL_SMOOTH_POINT_SIZE_GRANULARITY
params returns one value, the granularity of
sizes for antialiased points. See fglPointSize.
GL_SPRITE_AXIS_SGIX params returns three values that specify the
current sprite rotation axis. See
fglSpriteParameterSGIX.
Page 28
fglGet(3G) OpenGL Reference fglGet(3G)
GL_SPRITE_MODE_SGIX params returns one value, a symbolic constant
indicating the current sprite mode. See
fglSpriteParameterSGIX.
GL_SPRITE_SGIX params returns a single boolean value indicating
whether the sprite transformation is enabled.
See fglSpriteParameterSGIX.
GL_SPRITE_TRANSLATION_SGIX
params returns three values that specify the
current sprite translation. See
fglSpriteParameterSGIX.
GL_STENCIL_BITS params returns one value, the number of
bitplanes in the stencil buffer.
GL_STENCIL_CLEAR_VALUE params returns one value, the index to which the
stencil bitplanes are cleared. The initial value
is 0. See fglClearStencil.
GL_STENCIL_FAIL params returns one value, a symbolic constant
indicating what action is taken when the stencil
test fails. The initial value is GL_KEEP. See
fglStencilOp.
GL_STENCIL_FUNC 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 GL_ALWAYS. See
fglStencilFunc.
GL_STENCIL_PASS_DEPTH_FAIL
params returns one value, a symbolic constant
indicating what action is taken when the stencil
test passes, but the depth test fails. The
initial value is GL_KEEP. See fglStencilOp.
GL_STENCIL_PASS_DEPTH_PASS
params returns one value, a symbolic constant
indicating what action is taken when the stencil
test passes and the depth test passes. The
initial value is GL_KEEP. See fglStencilOp.
GL_STENCIL_REF params returns one value, the reference value
that is compared with the contents of the
stencil buffer. The initial value is 0. See
fglStencilFunc.
GL_STENCIL_TEST params returns a single boolean value indicating
whether stencil testing of fragments is enabled.
The initial value is GL_FALSE. See
fglStencilFunc and fglStencilOp.
Page 29
fglGet(3G) OpenGL Reference fglGet(3G)
GL_STENCIL_VALUE_MASK 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
fglStencilFunc.
GL_STENCIL_WRITEMASK params returns one value, the mask that controls
writing of the stencil bitplanes. The initial
value is all 1's. See fglStencilMask.
GL_STEREO params returns a single boolean value indicating
whether stereo buffers (left and right) are
supported.
GL_SUBPIXEL_BITS 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.
GL_TEXTURE_1D params returns a single boolean value indicating
whether 1D texture mapping is enabled. The
initial value is GL_FALSE. See fglTexImage1D.
GL_TEXTURE_BINDING_1D params returns a single value, the name of the
texture currently bound to the target
GL_TEXTURE_1D. The initial value is 0. See
fglBindTexture.
GL_TEXTURE_2D params returns a single boolean value indicating
whether 2D texture mapping is enabled. The
initial value is GL_FALSE. See fglTexImage2D.
GL_TEXTURE_BINDING_2D params returns a single value, the name of the
texture currently bound to the target
GL_TEXTURE_2D. The initial value is 0. See
fglBindTexture.
GL_TEXTURE_3D params returns a single boolean value indicating
whether 3D texture mapping is enabled. The
initial value is GL_FALSE. See fglTexImage3D.
GL_TEXTURE_BINDING_3D params returns a single value, the name of the
texture currently bound to the target
GL_TEXTURE_3D. The initial value is 0. See
fglBindTexture.
GL_TEXTURE_COLOR_TABLE_SGI
params returns a single boolean value indicating
whether texture colors are passed through a
lookup table before being used to generate pixel
fragments. See fglColorTableSGI.
Page 30
fglGet(3G) OpenGL Reference fglGet(3G)
GL_TEXTURE_COLOR_WRITEMASK_SGIS
params returns four boolean values: the red,
green, blue, and alpha store enables for texture
images. The initial value is (GL_TRUE, GL_TRUE,
GL_TRUE, GL_TRUE). See fglTextureColorMaskSGIS.
GL_TEXTURE_COORD_ARRAY params returns a single boolean value indicating
whether the texture coordinate array is enabled.
The initial value is GL_FALSE. See
fglTexCoordPointer.
GL_TEXTURE_COORD_ARRAY_SIZE
params returns one value, the number of
coordinates per element in the texture
coordinate array. The initial value is 4. See
fglTexCoordPointer.
GL_TEXTURE_COORD_ARRAY_STRIDE
params returns one value, the byte offset
between consecutive elements in the texture
coordinate array. The initial value is 0. See
fglTexCoordPointer.
GL_TEXTURE_COORD_ARRAY_TYPE
params returns one value, the data type of the
coordinates in the texture coordinate array. The
initial value is GL_FLOAT. See
fglTexCoordPointer.
GL_TEXTURE_GEN_Q params returns a single boolean value indicating
whether automatic generation of the q texture
coordinate is enabled. The initial value is
GL_FALSE. See fglTexGen.
GL_TEXTURE_GEN_R params returns a single boolean value indicating
whether automatic generation of the r texture
coordinate is enabled. The initial value is
GL_FALSE. See fglTexGen.
GL_TEXTURE_GEN_S params returns a single boolean value indicating
whether automatic generation of the S texture
coordinate is enabled. The initial value is
GL_FALSE. See fglTexGen.
GL_TEXTURE_GEN_T params returns a single boolean value indicating
whether automatic generation of the T texture
coordinate is enabled. The initial value is
GL_FALSE. See fglTexGen.
GL_TEXTURE_MATRIX params returns sixteen values: the texture
matrix on the top of the texture matrix stack.
Initially this matrix is the identity matrix.
Page 31
fglGet(3G) OpenGL Reference fglGet(3G)
See fglPushMatrix.
GL_TEXTURE_STACK_DEPTH params returns one value, the number of matrices
on the texture matrix stack. The initial value
is 1. See fglPushMatrix.
GL_UNPACK_ALIGNMENT params returns one value, the byte alignment
used for reading pixel data from memory. The
initial value is 4. See fglPixelStore.
GL_UNPACK_IMAGE_HEIGHT params returns one value, the image height used
for reading pixel data from memory. The initial
is 0. See fglPixelStore.
GL_UNPACK_LSB_FIRST params returns a single boolean value indicating
whether single-bit pixels being read from memory
are read first from the least significant bit of
each unsigned byte. The initial value is
GL_FALSE. See fglPixelStore.
GL_UNPACK_ROW_LENGTH params returns one value, the row length used
for reading pixel data from memory. The initial
value is 0. See fglPixelStore.
GL_UNPACK_SKIP_IMAGES params returns one value, the number of pixel
images skipped before the first pixel is read
from memory. The initial value is 0. See
fglPixelStore.
GL_UNPACK_SKIP_PIXELS params returns one value, the number of pixel
locations skipped before the first pixel is read
from memory. The initial value is 0. See
fglPixelStore.
GL_UNPACK_SKIP_ROWS 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
fglPixelStore.
GL_UNPACK_SWAP_BYTES params returns a single boolean value indicating
whether the bytes of two-byte and four-byte
pixel indices and components are swapped after
being read from memory. The initial value is
GL_FALSE. See fglPixelStore.
GL_VERTEX_ARRAY params returns a single boolean value indicating
whether the vertex array is enabled. The initial
value is GL_FALSE. See fglVertexPointer.
GL_VERTEX_ARRAY_SIZE params returns one value, the number of
coordinates per vertex in the vertex array. The
initial value is 4. See fglVertexPointer.
Page 32
fglGet(3G) OpenGL Reference fglGet(3G)
GL_VERTEX_ARRAY_STRIDE params returns one value, the byte offset
between consecutive vertices in the vertex
array. The initial value is 0. See
fglVertexPointer.
GL_VERTEX_ARRAY_TYPE params returns one value, the data type of each
coordinate in the vertex array. The initial
value is GL_FLOAT. See fglVertexPointer.
GL_VIEWPORT params returns four values: the x and y window
coordinates of the viewport, followed by its
width and height. Initially the x and y window
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 fglViewport.
GL_ZOOM_X params returns one value, the x pixel zoom
factor. The initial value is 1. See
fglPixelZoom.
GL_ZOOM_Y params returns one value, the y pixel zoom
factor. The initial value is 1. See
fglPixelZoom.
Many of the boolean parameters can also be queried more easily using
fglIsEnabled.
NOTES
GL_COLOR_LOGIC_OP, GL_COLOR_ARRAY, GL_COLOR_ARRAY_SIZE,
GL_COLOR_ARRAY_STRIDE, GL_COLOR_ARRAY_TYPE, GL_EDGE_FLAG_ARRAY,
GL_EDGE_FLAG_ARRAY_STRIDE, GL_INDEX_ARRAY, GL_INDEX_ARRAY_STRIDE,
GL_INDEX_ARRAY_TYPE, GL_INDEX_LOGIC_OP, GL_NORMAL_ARRAY,
GL_NORMAL_ARRAY_STRIDE, GL_NORMAL_ARRAY_TYPE, GL_POLYGON_OFFSET_UNITS,
GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE,
GL_POLYGON_OFFSET_POINT, GL_TEXTURE_COORD_ARRAY,
GL_TEXTURE_COORD_ARRAY_SIZE, GL_TEXTURE_COORD_ARRAY_STRIDE,
GL_TEXTURE_COORD_ARRAY_TYPE, GL_VERTEX_ARRAY, GL_VERTEX_ARRAY_SIZE,
GL_VERTEX_ARRAY_STRIDE, and GL_VERTEX_ARRAY_TYPE are available only if
the GL version is 1.1 or greater.
GL_ALIASED_POINT_SIZE_RANGE, GL_ALIASED_POINT_SIZE_GRANULARITY,
GL_FEEDBACK_BUFFER_SIZE, GL_FEEDBACK_BUFFER_TYPE, GL_LIGHT_MODEL_AMBIENT,
GL_LIGHT_MODEL_COLOR_CONTROL, GL_MAX_3D_TEXTURE_SIZE,
GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_PACK_IMAGE_HEIGHT,
GL_PACK_SKIP_IMAGES, GL_RESCALE_NORMAL, GL_SELECTION_BUFFER_SIZE,
GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE,
GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE,
GL_TEXTURE_3D, GL_TEXTURE_BINDING_3D, GL_UNPACK_IMAGE_HEIGHT, and
GL_UNPACK_SKIP_IMAGES are available only if the GL version is 1.2 or
greater.
Page 33
fglGet(3G) OpenGL Reference fglGet(3G)
GL_LINE_WIDTH_GRANULARITY was deprecated in GL version 1.2. Its
functionality was replaced by GL_SMOOTH_LINE_WIDTH_GRANULARITY.
GL_LINE_WIDTH_RANGE was deprecated in GL version 1.2. Its functionality
was replaced by GL_SMOOTH_LINE_WIDTH_RANGE.
GL_POINT_SIZE_GRANULARITY was deprecated in GL version 1.2. Its
functionality was replaced by GL_SMOOTH_POINT_SIZE_GRANULARITY.
GL_POINT_SIZE_RANGE was deprecated in GL version 1.2. Its functionality
was replaced by GL_SMOOTH_POINT_SIZE_RANGE.
GL_BLEND_COLOR, GL_BLEND_EQUATION, GL_COLOR_MATRIX,
GL_COLOR_MATRIX_STACK_DEPTH, GL_COLOR_TABLE, GL_CONVOLUTION_1D,
GL_CONVOLUTION_2D, GL_HISTOGRAM, GL_MAX_COLOR_MATRIX_STACK_DEPTH,
GL_MINMAX, GL_POST_COLOR_MATRIX_COLOR_TABLE,
GL_POST_COLOR_MATRIX_RED_BIAS, GL_POST_COLOR_MATRIX_GREEN_BIAS,
GL_POST_COLOR_MATRIX_BLUE_BIAS, GL_POST_COLOR_MATRIX_ALPHA_BIAS,
GL_POST_COLOR_MATRIX_RED_SCALE, GL_POST_COLOR_MATRIX_GREEN_SCALE,
GL_POST_COLOR_MATRIX_BLUE_SCALE, GL_POST_COLOR_MATRIX_ALPHA_SCALE,
GL_POST_CONVOLUTION_COLOR_TABLE, GL_POST_CONVOLUTION_RED_BIAS,
GL_POST_CONVOLUTION_GREEN_BIAS, GL_POST_CONVOLUTION_BLUE_BIAS,
GL_POST_CONVOLUTION_ALPHA_BIAS, GL_POST_CONVOLUTION_RED_SCALE,
GL_POST_CONVOLUTION_GREEN_SCALE, GL_POST_CONVOLUTION_BLUE_SCALE,
GL_POST_CONVOLUTION_ALPHA_SCALE, and GL_SEPARABLE_2D are available only
if GL_ARB_imaging is returned from fglGet when called with the argument
GL_EXTENSIONS.
ERRORS
GL_INVALID_ENUM is generated if pname is not an accepted value.
GL_INVALID_OPERATION is generated if fglGet is executed between the
execution of fglBegin and the corresponding execution of fglEnd.
MACHINE DEPENDENCIES
The SGIX_async and SGIX_async_pixel extensions are implemented only on
Octane2 VPro systems.
GL_COLOR_TABLE_SGI, GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI and
GL_POST_CONVOLUTION_COLOR_TABLE_SGI are part of the SGI_color_table
extension which is not supported on RealityEngine, RealityEngine2, and
VTX systems.
RealityEngine, RealityEngine2, and VTX systems do not support
GL_DETAIL_TEXTURE_2D_BINDING_SGIS.
The SGIX_interlace extension is supported only on InfiniteReality
systems, on RealityEngine, RealityEngine2, and VTX systems, on Octane2
VPro systems, and on O2 systems.
Page 34
fglGet(3G) OpenGL Reference fglGet(3G)
The INGR_interlace_read extension is supported only on Octane2 VPro
systems, and on O2 systems.
On InfiniteReality systems, if the post-texture filter scale and bias
values are set to values other than the defaults, they are limited to the
range [0.0, 1.0). (note: this range excludes 1.0.) The
SGIX_texture_scale_bias extension is not supported on RealityEngine,
RealityEngine2, and VTX systems or on High Impact and Maximum Impact
systems.
GL_PIXEL_TEXTURE_SGIS is part of the SGIS_pixel_texture extension, which
is supported only on Octane2 VPro systems.
SEE ALSO
fglGetClipPlane, fglGetColorTable, fglGetColorTableParameter,
fglGetConvolutionFilter, fglGetConvolutionParameter, fglGetError,
fglGetFragmentLight, fglGetFragmentMaterial, fglGetHistogram,
fglGetHistogramParameter, fglGetLight, fglGetMap, fglGetMaterial,
fglGetMinmax, fglGetMinmaxParameter, fglGetPixelMap,
fglGetPixelTexGenParameterSGIS, fglGetPointerv, fglGetPolygonStipple,
fglGetSeparableFilter, fglGetString, fglGetTexEnv, fglGetTexGen,
fglGetTexImage, fglGetTexLevelParameter, fglGetTexParameter, fglIsEnabled
Page 35