1799 lines
61 KiB
Plaintext
1799 lines
61 KiB
Plaintext
'\" te
|
|
'\"! tbl|eqn | mmdoc
|
|
'\"macro stdmacro
|
|
.ds Vn Version 1.2
|
|
.ds Dt 24 September 1999
|
|
.ds Re Release 1.2.1
|
|
.ds Dp Jan 14 18:30
|
|
.ds Dm 01 get.gl ->
|
|
.ds Xs 65323 59 get.gl
|
|
.TH GLGET 3G
|
|
.SH NAME
|
|
.B "glGetBooleanv, glGetDoublev, glGetFloatv, glGetIntegerv
|
|
\- return the value or values of a selected parameter
|
|
|
|
.SH C SPECIFICATION
|
|
void \f3glGetBooleanv\fP(
|
|
GLenum \fIpname\fP,
|
|
.nf
|
|
.ta \w'\f3void \fPglGetBooleanv( 'u
|
|
GLboolean \fI*params\fP )
|
|
.fi
|
|
|
|
.SH C SPECIFICATION
|
|
void \f3glGetDoublev\fP(
|
|
GLenum \fIpname\fP,
|
|
.nf
|
|
.ta \w'\f3void \fPglGetDoublev( 'u
|
|
GLdouble \fI*params\fP )
|
|
.fi
|
|
|
|
.SH C SPECIFICATION
|
|
void \f3glGetFloatv\fP(
|
|
GLenum \fIpname\fP,
|
|
.nf
|
|
.ta \w'\f3void \fPglGetFloatv( 'u
|
|
GLfloat \fI*params\fP )
|
|
.fi
|
|
|
|
.SH C SPECIFICATION
|
|
void \f3glGetIntegerv\fP(
|
|
GLenum \fIpname\fP,
|
|
.nf
|
|
.ta \w'\f3void \fPglGetIntegerv( 'u
|
|
GLint \fI*params\fP )
|
|
.fi
|
|
|
|
.EQ
|
|
delim $$
|
|
.EN
|
|
.SH PARAMETERS
|
|
.TP \w'\fIparams\fP\ \ 'u
|
|
\f2pname\fP
|
|
Specifies the parameter value to be returned.
|
|
The symbolic constants in the list below are accepted.
|
|
.TP
|
|
\f2params\fP
|
|
Returns the value or values of the specified parameter.
|
|
.SH DESCRIPTION
|
|
These four commands return values for simple state variables in GL.
|
|
\f2pname\fP is a symbolic constant indicating the state variable to be returned,
|
|
and \f2params\fP is a pointer to an array of the indicated type in
|
|
which to place the returned data.
|
|
.P
|
|
Type conversion is performed if \f2params\fP has a different type than
|
|
the state variable value being requested.
|
|
If \%\f3glGetBooleanv\fP is called,
|
|
a floating-point (or integer) value is converted to \%\f3GL_FALSE\fP if
|
|
and only if it is 0.0 (or 0).
|
|
Otherwise,
|
|
it is converted to \%\f3GL_TRUE\fP.
|
|
If \%\f3glGetIntegerv\fP is called, boolean values are returned as
|
|
\%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP, 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 \%\f3glGetFloatv\fP or \%\f3glGetDoublev\fP is called,
|
|
boolean values are returned as \%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP,
|
|
and integer values are converted to floating-point values.
|
|
.P
|
|
The following symbolic constants are accepted by \f2pname\fP:
|
|
.TP 25
|
|
\%\f3GL_ACCUM_ALPHA_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of alpha bitplanes in the accumulation buffer.
|
|
.TP
|
|
\%\f3GL_ACCUM_BLUE_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of blue bitplanes in the accumulation buffer.
|
|
.TP
|
|
\%\f3GL_ACCUM_CLEAR_VALUE\fP
|
|
\f2params\fP 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 \%\f3glClearAccum\fP.
|
|
.TP
|
|
\%\f3GL_ACCUM_GREEN_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of green bitplanes in the accumulation buffer.
|
|
.TP
|
|
\%\f3GL_ACCUM_RED_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of red bitplanes in the accumulation buffer.
|
|
.TP
|
|
\%\f3GL_ACTIVE_TEXTURE_ARB\fP
|
|
\f2params\fP returns a single value indicating the active multitexture unit.
|
|
The initial value is \%\f3GL_TEXTURE0_ARB\fP.
|
|
See \%\f3glActiveTextureARB\fP.
|
|
.TP
|
|
\%\f3GL_ALIASED_POINT_SIZE_RANGE\fP
|
|
\f2params\fP returns two values,
|
|
the smallest and largest supported sizes for aliased points.
|
|
.TP
|
|
\%\f3GL_ALIASED_LINE_WIDTH_RANGE\fP
|
|
\f2params\fP returns two values,
|
|
the smallest and largest supported widths for aliased lines.
|
|
.TP
|
|
\%\f3GL_ALPHA_BIAS\fP
|
|
\f2params\fP returns one value,
|
|
the alpha bias factor used during pixel transfers. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_ALPHA_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of alpha bitplanes in each color buffer.
|
|
.TP
|
|
\%\f3GL_ALPHA_SCALE\fP
|
|
\f2params\fP returns one value,
|
|
the alpha scale factor used during pixel transfers. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_ALPHA_TEST\fP
|
|
\f2params\fP returns a single boolean value indicating whether alpha testing
|
|
of fragments is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glAlphaFunc\fP.
|
|
.TP
|
|
\%\f3GL_ALPHA_TEST_FUNC\fP
|
|
\f2params\fP returns one value,
|
|
the symbolic name of the alpha test function. The initial value is
|
|
\%\f3GL_ALWAYS\fP.
|
|
See \%\f3glAlphaFunc\fP.
|
|
.TP
|
|
\%\f3GL_ALPHA_TEST_REF\fP
|
|
\f2params\fP returns one value,
|
|
the reference value for the alpha test. The initial value is 0.
|
|
See \%\f3glAlphaFunc\fP.
|
|
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.
|
|
.TP
|
|
\%\f3GL_ATTRIB_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the depth of the attribute stack.
|
|
If the stack is empty,
|
|
0 is returned. The initial value is 0.
|
|
See \%\f3glPushAttrib\fP.
|
|
.TP
|
|
\%\f3GL_AUTO_NORMAL\fP
|
|
\f2params\fP returns a single boolean value indicating whether 2D map evaluation
|
|
automatically generates surface normals. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_AUX_BUFFERS\fP
|
|
\f2params\fP returns one value,
|
|
the number of auxiliary color buffers. The initial value is 0.
|
|
.TP
|
|
\%\f3GL_BLEND\fP
|
|
\f2params\fP returns a single boolean value indicating whether blending is
|
|
enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glBlendFunc\fP.
|
|
.TP
|
|
\%\f3GL_BLEND_COLOR\fP
|
|
\f2params\fP returns four values,
|
|
the red, green, blue, and alpha values which are the components of
|
|
the blend color.
|
|
See \%\f3glBlendColor\fP.
|
|
.TP
|
|
\%\f3GL_BLEND_DST\fP
|
|
\f2params\fP returns one value,
|
|
the symbolic constant identifying the destination blend
|
|
function. The initial value is \%\f3GL_ZERO\fP.
|
|
See \%\f3glBlendFunc\fP.
|
|
.TP
|
|
\%\f3GL_BLEND_EQUATION\fP
|
|
\f2params\fP returns one value, a symbolic constant indicating whether
|
|
the blend equation is \%\f3GL_FUNC_ADD\fP, \%\f3GL_MIN\fP or
|
|
\%\f3GL_MAX\fP. See \%\f3glBlendEquation\fP.
|
|
.TP
|
|
\%\f3GL_BLEND_SRC\fP
|
|
\f2params\fP returns one value,
|
|
the symbolic constant identifying the source blend function. The initial
|
|
value is \%\f3GL_ONE\fP.
|
|
See \%\f3glBlendFunc\fP.
|
|
.TP
|
|
\%\f3GL_BLUE_BIAS\fP
|
|
\f2params\fP returns one value,
|
|
the blue bias factor used during pixel transfers. The initial value is 0.
|
|
See
|
|
\%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_BLUE_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of blue bitplanes in each color buffer.
|
|
.TP
|
|
\%\f3GL_BLUE_SCALE\fP
|
|
\f2params\fP returns one value,
|
|
the blue scale factor used during pixel transfers. The initial value is 1.
|
|
See
|
|
\%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_CLIENT_ACTIVE_TEXTURE_ARB\fP
|
|
\f2params\fP returns a single integer value indicating the current client active
|
|
multitexture unit. The initial value is \%\f3GL_TEXTURE0_ARB\fP.
|
|
See \%\f3glClientActiveTextureARB\fP.
|
|
.TP
|
|
\%\f3GL_CLIENT_ATTRIB_STACK_DEPTH\fP
|
|
\f2params\fP returns one value indicating the depth of the
|
|
attribute stack. The initial value is 0.
|
|
See \%\f3glPushClientAttrib\fP.
|
|
.TP
|
|
\%\f3GL_CLIP_PLANE\fP\f2i\fP
|
|
\f2params\fP returns a single boolean value indicating whether the specified
|
|
clipping plane is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glClipPlane\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_ARRAY\fP
|
|
\f2params\fP returns a single boolean value indicating whether the color array is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glColorPointer\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_ARRAY_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the number of components per color in the color array. The initial value
|
|
is 4. See \%\f3glColorPointer\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_ARRAY_STRIDE\fP
|
|
\f2params\fP returns one value,
|
|
the byte offset between consecutive colors in the color array. The initial
|
|
value is 0.
|
|
See \%\f3glColorPointer\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_ARRAY_TYPE\fP
|
|
\f2params\fP returns one value,
|
|
the data type of each component in the color array. The initial value
|
|
is \%\f3GL_FLOAT\fP. See \%\f3glColorPointer\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_CLEAR_VALUE\fP
|
|
\f2params\fP 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 \%\f3glClearColor\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_LOGIC_OP\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glLogicOp\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_MATERIAL\fP
|
|
\f2params\fP returns a single boolean value indicating whether one or more
|
|
material parameters are tracking the current color. The initial value
|
|
is \%\f3GL_FALSE\fP.
|
|
See \%\f3glColorMaterial\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_MATERIAL_FACE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which materials have a parameter that is
|
|
tracking the current color. The initial value is \%\f3GL_FRONT_AND_BACK\fP.
|
|
See \%\f3glColorMaterial\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_MATERIAL_PARAMETER\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which material parameters are
|
|
tracking the current color. The initial value is
|
|
\%\f3GL_AMBIENT_AND_DIFFUSE\fP.
|
|
See \%\f3glColorMaterial\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_MATRIX\fP
|
|
\f2params\fP returns sixteen values:
|
|
the color matrix on the top of the color matrix stack. Initially
|
|
this matrix is the identity matrix. See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_MATRIX_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported depth of the projection matrix stack. The value must
|
|
be at least 2.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_TABLE\fP
|
|
\f2params\fP returns a single boolean value indicating whether the color table
|
|
lookup is enabled.
|
|
See \%\f3glColorTable\fP.
|
|
.TP
|
|
\%\f3GL_COLOR_WRITEMASK\fP
|
|
\f2params\fP returns four boolean values:
|
|
the red, green, blue, and alpha write enables for the color
|
|
buffers. The initial value is (\%\f3GL_TRUE\fP, \%\f3GL_TRUE\fP,
|
|
\%\f3GL_TRUE\fP, \%\f3GL_TRUE\fP).
|
|
See \%\f3glColorMask\fP.
|
|
.TP
|
|
\%\f3GL_CONVOLUTION_1D\fP
|
|
\f2params\fP returns a single boolean value indicating whether 1D convolution
|
|
is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glConvolutionFilter1D\fP.
|
|
.TP
|
|
\%\f3GL_CONVOLUTION_2D\fP
|
|
\f2params\fP returns a single boolean value indicating whether 2D convolution
|
|
is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glConvolutionFilter2D\fP.
|
|
.TP
|
|
\%\f3GL_CULL_FACE\fP
|
|
\f2params\fP returns a single boolean value indicating whether polygon culling
|
|
is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glCullFace\fP.
|
|
.TP
|
|
\%\f3GL_CULL_FACE_MODE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which polygon faces are to be
|
|
culled. The initial value is \%\f3GL_BACK\fP.
|
|
See \%\f3glCullFace\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_COLOR\fP
|
|
\f2params\fP 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 \%\f3glColor\fP. The initial value is (1, 1, 1, 1).
|
|
.TP
|
|
\%\f3GL_CURRENT_INDEX\fP
|
|
\f2params\fP returns one value,
|
|
the current color index. The initial value is 1.
|
|
See \%\f3glIndex\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_NORMAL\fP
|
|
\f2params\fP returns three values:
|
|
the \f2x\fP, \f2y\fP, and \f2z\fP 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 \%\f3glNormal\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_RASTER_COLOR\fP
|
|
\f2params\fP returns four values:
|
|
the red, green, blue, and alpha values of the current raster position.
|
|
Integer values,
|
|
if requested,
|
|
are linearly mapped from the internal floating-point representation such
|
|
that 1.0 returns the most positive representable integer value,
|
|
and \-1.0 returns the most negative representable integer
|
|
value. The initial value is (1, 1, 1, 1).
|
|
See \%\f3glRasterPos\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_RASTER_DISTANCE\fP
|
|
\f2params\fP returns one value,
|
|
the distance from the eye to the current raster position. The initial
|
|
value is 0.
|
|
See \%\f3glRasterPos\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_RASTER_INDEX\fP
|
|
\f2params\fP returns one value,
|
|
the color index of the current raster position. The initial value is 1.
|
|
See \%\f3glRasterPos\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_RASTER_POSITION\fP
|
|
\f2params\fP returns four values:
|
|
the \f2x\fP, \f2y\fP, \f2z\fP, and \f2w\fP components of the current
|
|
raster position.
|
|
\f2x\fP, \f2y\fP, and \f2z\fP are in window coordinates,
|
|
and \f2w\fP is in clip coordinates. The initial value is (0, 0, 0, 1).
|
|
See \%\f3glRasterPos\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_RASTER_POSITION_VALID\fP
|
|
\f2params\fP returns a single boolean value indicating whether the current
|
|
raster position is valid. The initial value is \%\f3GL_TRUE\fP.
|
|
See \%\f3glRasterPos\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP
|
|
\f2params\fP returns four values:
|
|
the \f2s\fP, \f2t\fP, \f2r\fP, and \f2q\fP
|
|
current raster texture coordinates. The initial value is (0, 0, 0, 1).
|
|
See \%\f3glRasterPos\fP and \%\f3glTexCoord\fP.
|
|
.TP
|
|
\%\f3GL_CURRENT_TEXTURE_COORDS\fP
|
|
\f2params\fP returns four values:
|
|
the \f2s\fP, \f2t\fP, \f2r\fP, and \f2q\fP current texture
|
|
coordinates. The initial value is (0, 0, 0, 1).
|
|
See
|
|
\%\f3glTexCoord\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_BIAS\fP
|
|
\f2params\fP returns one value,
|
|
the depth bias factor used during pixel transfers. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of bitplanes in the depth buffer.
|
|
.TP
|
|
\%\f3GL_DEPTH_CLEAR_VALUE\fP
|
|
\f2params\fP 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 \%\f3glClearDepth\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_FUNC\fP
|
|
\f2params\fP returns one value,
|
|
the symbolic constant that indicates the depth comparison
|
|
function. The initial value is \%\f3GL_LESS\fP.
|
|
See \%\f3glDepthFunc\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_RANGE\fP
|
|
\f2params\fP 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 \%\f3glDepthRange\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_SCALE\fP
|
|
\f2params\fP returns one value,
|
|
the depth scale factor used during pixel transfers. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_TEST\fP
|
|
\f2params\fP returns a single boolean value indicating whether depth testing
|
|
of fragments is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glDepthFunc\fP and \%\f3glDepthRange\fP.
|
|
.TP
|
|
\%\f3GL_DEPTH_WRITEMASK\fP
|
|
\f2params\fP returns a single boolean value indicating if the depth buffer
|
|
is enabled for writing. The initial value is \%\f3GL_TRUE\fP.
|
|
See \%\f3glDepthMask\fP.
|
|
.TP
|
|
\%\f3GL_DITHER\fP
|
|
\f2params\fP returns a single boolean value indicating whether dithering of
|
|
fragment colors and indices is enabled. The initial value is \%\f3GL_TRUE\fP.
|
|
.TP
|
|
\%\f3GL_DOUBLEBUFFER\fP
|
|
\f2params\fP returns a single boolean value indicating whether double buffering
|
|
is supported.
|
|
.TP
|
|
\%\f3GL_DRAW_BUFFER\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which buffers are being drawn to.
|
|
See \%\f3glDrawBuffer\fP. The initial value is \%\f3GL_BACK\fP if there
|
|
are back buffers, otherwise it is \%\f3GL_FRONT\fP.
|
|
.TP
|
|
\%\f3GL_EDGE_FLAG\fP
|
|
\f2params\fP returns a single boolean value indicating whether the current
|
|
edge flag is \%\f3GL_TRUE\fP or \%\f3GL_FALSE\fP. The initial value is \%\f3GL_TRUE\fP.
|
|
See \%\f3glEdgeFlag\fP.
|
|
.TP
|
|
\%\f3GL_EDGE_FLAG_ARRAY\fP
|
|
\f2params\fP returns a single boolean value indicating whether the edge
|
|
flag array is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glEdgeFlagPointer\fP.
|
|
.TP
|
|
\%\f3GL_EDGE_FLAG_ARRAY_STRIDE\fP
|
|
\f2params\fP returns one value,
|
|
the byte offset between consecutive edge flags in the edge flag
|
|
array. The initial value is 0.
|
|
See \%\f3glEdgeFlagPointer\fP.
|
|
.TP
|
|
\%\f3GL_FEEDBACK_BUFFER_SIZE\fP
|
|
\f2params\fP returns one value, the size of the feedback buffer. See
|
|
\%\f3glFeedbackBuffer\fP.
|
|
.TP
|
|
\%\f3GL_FEEDBACK_BUFFER_TYPE\fP
|
|
\f2params\fP returns one value, the type of the feedback buffer. See
|
|
\%\f3glFeedbackBuffer\fP.
|
|
.TP
|
|
\%\f3GL_FOG\fP
|
|
\f2params\fP returns a single boolean value indicating whether fogging is
|
|
enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FOG_COLOR\fP
|
|
\f2params\fP 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 \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FOG_DENSITY\fP
|
|
\f2params\fP returns one value,
|
|
the fog density parameter. The initial value is 1.
|
|
See \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FOG_END\fP
|
|
\f2params\fP returns one value,
|
|
the end factor for the linear fog equation. The initial value is 1.
|
|
See \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FOG_HINT\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the mode of the fog hint. The initial value
|
|
is \%\f3GL_DONT_CARE\fP.
|
|
See \%\f3glHint\fP.
|
|
.TP
|
|
\%\f3GL_FOG_INDEX\fP
|
|
\f2params\fP returns one value,
|
|
the fog color index. The initial value is 0.
|
|
See \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FOG_MODE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which fog equation is selected. The initial
|
|
value is \%\f3GL_EXP\fP.
|
|
See \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FOG_START\fP
|
|
\f2params\fP returns one value,
|
|
the start factor for the linear fog equation. The initial value is 0.
|
|
See \%\f3glFog\fP.
|
|
.TP
|
|
\%\f3GL_FRONT_FACE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating whether clockwise or counterclockwise
|
|
polygon winding is treated as front-facing. The initial value is
|
|
\%\f3GL_CCW\fP.
|
|
See \%\f3glFrontFace\fP.
|
|
.TP
|
|
\%\f3GL_GREEN_BIAS\fP
|
|
\f2params\fP returns one value,
|
|
the green bias factor used during pixel transfers. The initial value is 0.
|
|
.TP
|
|
\%\f3GL_GREEN_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of green bitplanes in each color buffer.
|
|
.TP
|
|
\%\f3GL_GREEN_SCALE\fP
|
|
\f2params\fP returns one value,
|
|
the green scale factor used during pixel transfers. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_HISTOGRAM\fP
|
|
\f2params\fP returns a single boolean value indicating whether histogram is
|
|
enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glHistogram\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_ARRAY\fP
|
|
\f2params\fP returns a single boolean value indicating whether the color
|
|
index array is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glIndexPointer\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_ARRAY_STRIDE\fP
|
|
\f2params\fP returns one value,
|
|
the byte offset between consecutive color indexes in the color index
|
|
array. The initial value is 0.
|
|
See \%\f3glIndexPointer\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_ARRAY_TYPE\fP
|
|
\f2params\fP returns one value,
|
|
the data type of indexes in the color index array. The initial value is
|
|
\%\f3GL_FLOAT\fP.
|
|
See \%\f3glIndexPointer\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of bitplanes in each color index buffer.
|
|
.TP
|
|
\%\f3GL_INDEX_CLEAR_VALUE\fP
|
|
\f2params\fP returns one value,
|
|
the color index used to clear the color index buffers. The initial value
|
|
is 0.
|
|
See \%\f3glClearIndex\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_LOGIC_OP\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glLogicOp\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_MODE\fP
|
|
\f2params\fP returns a single boolean value indicating whether the GL is in
|
|
color index mode (\%\f3GL_TRUE\fP) or RGBA mode (\%\f3GL_FALSE\fP).
|
|
.TP
|
|
\%\f3GL_INDEX_OFFSET\fP
|
|
\f2params\fP returns one value,
|
|
the offset added to color and stencil indices during pixel
|
|
transfers. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_SHIFT\fP
|
|
\f2params\fP returns one value,
|
|
the amount that color and stencil indices are shifted during pixel
|
|
transfers. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_INDEX_WRITEMASK\fP
|
|
\f2params\fP returns one value,
|
|
a mask indicating which bitplanes of each color index buffer can be
|
|
written. The initial value is all 1's.
|
|
See \%\f3glIndexMask\fP.
|
|
.TP
|
|
\%\f3GL_LIGHT\fP\f2i\fP
|
|
\f2params\fP returns a single boolean value indicating whether the specified
|
|
light is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glLight\fP and \%\f3glLightModel\fP.
|
|
.TP
|
|
\%\f3GL_LIGHTING\fP
|
|
\f2params\fP returns a single boolean value indicating whether lighting is
|
|
enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glLightModel\fP.
|
|
.TP
|
|
\%\f3GL_LIGHT_MODEL_AMBIENT\fP
|
|
\f2params\fP 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 \%\f3glLightModel\fP.
|
|
.TP
|
|
\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP
|
|
\f2params\fP returns single enumerated value indicating whether specular
|
|
reflection calculations are separated from normal lighting computations.
|
|
The initial value is \%\f3GL_SINGLE_COLOR\fP.
|
|
.TP
|
|
\%\f3GL_LIGHT_MODEL_LOCAL_VIEWER\fP
|
|
\f2params\fP returns a single boolean value indicating whether specular reflection
|
|
calculations treat the viewer as being local to the scene. The initial
|
|
value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glLightModel\fP.
|
|
.TP
|
|
\%\f3GL_LIGHT_MODEL_TWO_SIDE\fP
|
|
\f2params\fP returns a single boolean value indicating whether separate materials
|
|
are used to compute lighting for front- and back-facing
|
|
polygons. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glLightModel\fP.
|
|
.TP
|
|
\%\f3GL_LINE_SMOOTH\fP
|
|
\f2params\fP returns a single boolean value indicating whether antialiasing of
|
|
lines is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glLineWidth\fP.
|
|
.TP
|
|
\%\f3GL_LINE_SMOOTH_HINT\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the mode of the line antialiasing
|
|
hint. The initial value is \%\f3GL_DONT_CARE\fP.
|
|
See \%\f3glHint\fP.
|
|
.TP
|
|
\%\f3GL_LINE_STIPPLE\fP
|
|
\f2params\fP returns a single boolean value indicating whether stippling of lines
|
|
is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glLineStipple\fP.
|
|
.TP
|
|
\%\f3GL_LINE_STIPPLE_PATTERN\fP
|
|
\f2params\fP returns one value,
|
|
the 16-bit line stipple pattern. The initial value is all 1's.
|
|
See \%\f3glLineStipple\fP.
|
|
.TP
|
|
\%\f3GL_LINE_STIPPLE_REPEAT\fP
|
|
\f2params\fP returns one value,
|
|
the line stipple repeat factor. The initial value is 1.
|
|
See \%\f3glLineStipple\fP.
|
|
.TP
|
|
\%\f3GL_LINE_WIDTH\fP
|
|
\f2params\fP returns one value,
|
|
the line width as specified with \%\f3glLineWidth\fP. The initial value is
|
|
1.
|
|
.TP
|
|
\%\f3GL_LINE_WIDTH_GRANULARITY\fP
|
|
\f2params\fP returns one value,
|
|
the width difference between adjacent supported widths for antialiased lines.
|
|
See \%\f3glLineWidth\fP.
|
|
.TP
|
|
\%\f3GL_LINE_WIDTH_RANGE\fP
|
|
\f2params\fP returns two values:
|
|
the smallest and largest supported widths for antialiased
|
|
lines.
|
|
See \%\f3glLineWidth\fP.
|
|
.TP
|
|
\%\f3GL_LIST_BASE\fP
|
|
\f2params\fP returns one value,
|
|
the base offset added to all names in arrays presented to
|
|
\%\f3glCallLists\fP. The initial value is 0.
|
|
See \%\f3glListBase\fP.
|
|
.TP
|
|
\%\f3GL_LIST_INDEX\fP
|
|
\f2params\fP 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 \%\f3glNewList\fP.
|
|
.TP
|
|
\%\f3GL_LIST_MODE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the construction mode of the display list
|
|
currently under construction. The initial value is 0.
|
|
See \%\f3glNewList\fP.
|
|
.TP
|
|
\%\f3GL_LOGIC_OP_MODE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the selected logic operation
|
|
mode. The initial value is \%\f3GL_COPY\fP.
|
|
See \%\f3glLogicOp\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_COLOR_4\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates colors. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_GRID_DOMAIN\fP
|
|
\f2params\fP returns two values:
|
|
the endpoints of the 1D map's grid domain. The initial value is (0, 1).
|
|
See \%\f3glMapGrid\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_GRID_SEGMENTS\fP
|
|
\f2params\fP returns one value,
|
|
the number of partitions in the 1D map's grid domain. The initial value
|
|
is 1.
|
|
See \%\f3glMapGrid\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_INDEX\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates color indices. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_NORMAL\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates normals. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_TEXTURE_COORD_1\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates 1D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_TEXTURE_COORD_2\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates 2D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_TEXTURE_COORD_3\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates 3D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_TEXTURE_COORD_4\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates 4D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_VERTEX_3\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates 3D vertex coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP1_VERTEX_4\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
1D evaluation generates 4D vertex coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap1\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_COLOR_4\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates colors. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_GRID_DOMAIN\fP
|
|
\f2params\fP returns four values:
|
|
the endpoints of the 2D map's $i$ and $j$ grid domains. The initial value
|
|
is (0,1; 0,1).
|
|
See \%\f3glMapGrid\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_GRID_SEGMENTS\fP
|
|
\f2params\fP returns two values:
|
|
the number of partitions in the 2D map's $i$ and $j$ grid
|
|
domains. The initial value is (1,1).
|
|
See \%\f3glMapGrid\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_INDEX\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates color indices. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_NORMAL\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates normals. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_TEXTURE_COORD_1\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates 1D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_TEXTURE_COORD_2\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates 2D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_TEXTURE_COORD_3\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates 3D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_TEXTURE_COORD_4\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates 4D texture coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_VERTEX_3\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates 3D vertex coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP2_VERTEX_4\fP
|
|
\f2params\fP returns a single boolean value indicating whether
|
|
2D evaluation generates 4D vertex coordinates. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAP_COLOR\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_MAP_STENCIL\fP
|
|
\f2params\fP returns a single boolean value indicating if stencil indices
|
|
are to be replaced by table lookup during pixel transfers. The initial
|
|
value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_MATRIX_MODE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which matrix stack is currently the
|
|
target of all matrix operations. The initial value is \%\f3GL_MODELVIEW\fP.
|
|
See \%\f3glMatrixMode\fP.
|
|
.TP
|
|
\%\f3GL_MAX_3D_TEXTURE_SIZE\fP
|
|
\f2params\fP 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
|
|
\%\f3GL_PROXY_TEXTURE_3D\fP to determine if a texture is too large.
|
|
See \%\f3glTexImage3D\fP.
|
|
.TP
|
|
\%\f3GL_MAX_CLIENT_ATTRIB_STACK_DEPTH\fP
|
|
\f2params\fP returns one value indicating the maximum supported depth
|
|
of the client attribute stack.
|
|
See \%\f3glPushClientAttrib\fP.
|
|
.TP
|
|
\%\f3GL_MAX_ATTRIB_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported depth of the attribute stack. The value must be at least 16.
|
|
See \%\f3glPushAttrib\fP.
|
|
.TP
|
|
\%\f3GL_MAX_CLIP_PLANES\fP
|
|
\f2params\fP returns one value,
|
|
the maximum number of application-defined clipping planes. The value must be at least 6.
|
|
See \%\f3glClipPlane\fP.
|
|
.TP
|
|
\%\f3GL_MAX_COLOR_MATRIX_STACK_DEPTH\fP
|
|
\f2params\fP returns one value, the maximum supported depth of the color matrix
|
|
stack. The value must be at least 2.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_MAX_ELEMENTS_INDICES\fP
|
|
\f2params\fP returns one value,
|
|
the recommended maximum number of vertex array indices. See \%\f3glDrawRangeElements\fP.
|
|
.TP
|
|
\%\f3GL_MAX_ELEMENTS_VERTICES\fP
|
|
\f2params\fP returns one value,
|
|
the recommended maximum number of vertex array vertices. See \%\f3glDrawRangeElements\fP.
|
|
.TP
|
|
\%\f3GL_MAX_EVAL_ORDER\fP
|
|
\f2params\fP returns one value,
|
|
the maximum equation order supported by 1D and 2D
|
|
evaluators. The value must be at least 8.
|
|
See \%\f3glMap1\fP and \%\f3glMap2\fP.
|
|
.TP
|
|
\%\f3GL_MAX_LIGHTS\fP
|
|
\f2params\fP returns one value,
|
|
the maximum number of lights. The value must be at least 8.
|
|
See \%\f3glLight\fP.
|
|
.TP
|
|
\%\f3GL_MAX_LIST_NESTING\fP
|
|
\f2params\fP returns one value,
|
|
the maximum recursion depth allowed during display-list
|
|
traversal. The value must be at least 64.
|
|
See \%\f3glCallList\fP.
|
|
.TP
|
|
\%\f3GL_MAX_MODELVIEW_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported depth of the modelview matrix stack. The value must
|
|
be at least 32.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_MAX_NAME_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported depth of the selection name stack. The value must be at least 64.
|
|
See \%\f3glPushName\fP.
|
|
.TP
|
|
\%\f3GL_MAX_PIXEL_MAP_TABLE\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported size of a \%\f3glPixelMap\fP lookup table.
|
|
The value must be at least 32.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_MAX_PROJECTION_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported depth of the projection matrix stack. The value must be at least 2.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_MAX_TEXTURE_SIZE\fP
|
|
\f2params\fP 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
|
|
\%\f3GL_PROXY_TEXTURE_1D\fP or \%\f3GL_PROXY_TEXTURE_2D\fP
|
|
to determine if a texture is too large.
|
|
See \%\f3glTexImage1D\fP and \%\f3glTexImage2D\fP.
|
|
.TP
|
|
\%\f3GL_MAX_TEXTURE_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the maximum supported depth of the texture matrix stack. The value must be at least 2.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_MAX_TEXTURE_UNITS_ARB\fP
|
|
\f2params\fP returns a single value indicating the number of texture units
|
|
supported. The value must be at least 1.
|
|
See \%\f3glActiveTextureARB\fP.
|
|
.TP
|
|
\%\f3GL_MAX_VIEWPORT_DIMS\fP
|
|
\f2params\fP 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 \%\f3glViewport\fP.
|
|
.TP
|
|
\%\f3GL_MINMAX\fP
|
|
\f2params\fP returns a single boolean value indicating whether pixel minmax
|
|
values are computed. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glMinmax\fP.
|
|
.TP
|
|
\%\f3GL_MODELVIEW_MATRIX\fP
|
|
\f2params\fP returns sixteen values:
|
|
the modelview matrix on the top of the modelview matrix stack. Initially
|
|
this matrix is the identity matrix. See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_MODELVIEW_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the number of matrices on the modelview matrix stack.
|
|
The initial value is 1.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_NAME_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the number of names on the selection name stack. The initial value is 0.
|
|
See \%\f3glPushName\fP.
|
|
.TP
|
|
\%\f3GL_NORMAL_ARRAY\fP
|
|
\f2params\fP returns a single boolean value, indicating whether the normal
|
|
array is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glNormalPointer\fP.
|
|
.TP
|
|
\%\f3GL_NORMAL_ARRAY_STRIDE\fP
|
|
\f2params\fP returns one value,
|
|
the byte offset between consecutive normals in the normal
|
|
array. The initial value is 0.
|
|
See \%\f3glNormalPointer\fP.
|
|
.TP
|
|
\%\f3GL_NORMAL_ARRAY_TYPE\fP
|
|
\f2params\fP returns one value,
|
|
the data type of each coordinate in the normal array. The initial value is
|
|
\%\f3GL_FLOAT\fP.
|
|
See \%\f3glNormalPointer\fP.
|
|
.TP
|
|
\%\f3GL_NORMALIZE\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glNormal\fP.
|
|
.TP
|
|
\%\f3GL_PACK_ALIGNMENT\fP
|
|
\f2params\fP returns one value,
|
|
the byte alignment used for writing pixel data to memory. The initial
|
|
value is 4.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_IMAGE_HEIGHT\fP
|
|
\f2params\fP returns one value,
|
|
the image height used for writing pixel data to memory. The initial
|
|
value is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_LSB_FIRST\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_ROW_LENGTH\fP
|
|
\f2params\fP returns one value,
|
|
the row length used for writing pixel data to memory. The initial value is
|
|
0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_SKIP_IMAGES\fP
|
|
\f2params\fP returns one value,
|
|
the number of pixel images skipped before the first pixel is written
|
|
into memory. The initial value is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_SKIP_PIXELS\fP
|
|
\f2params\fP returns one value,
|
|
the number of pixel locations skipped before the first pixel is written
|
|
into memory. The initial value is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_SKIP_ROWS\fP
|
|
\f2params\fP 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 \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PACK_SWAP_BYTES\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_PERSPECTIVE_CORRECTION_HINT\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the mode of the perspective correction
|
|
hint. The initial value is \%\f3GL_DONT_CARE\fP.
|
|
See \%\f3glHint\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_A_TO_A_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the alpha-to-alpha pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_B_TO_B_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the blue-to-blue pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_G_TO_G_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the green-to-green pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_I_TO_A_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the index-to-alpha pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_I_TO_B_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the index-to-blue pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_I_TO_G_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the index-to-green pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_I_TO_I_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the index-to-index pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_I_TO_R_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the index-to-red pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_R_TO_R_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the red-to-red pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_PIXEL_MAP_S_TO_S_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the size of the stencil-to-stencil pixel translation table.
|
|
The initial value is 1.
|
|
See \%\f3glPixelMap\fP.
|
|
.TP
|
|
\%\f3GL_POINT_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the point size as specified by \%\f3glPointSize\fP. The initial value is 1.
|
|
.TP
|
|
\%\f3GL_POINT_SIZE_GRANULARITY\fP
|
|
\f2params\fP returns one value,
|
|
the size difference between adjacent supported sizes for antialiased points.
|
|
See \%\f3glPointSize\fP.
|
|
.TP
|
|
\%\f3GL_POINT_SIZE_RANGE\fP
|
|
\f2params\fP 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 \%\f3glPointSize\fP.
|
|
.TP
|
|
\%\f3GL_POINT_SMOOTH\fP
|
|
\f2params\fP returns a single boolean value indicating whether antialiasing of
|
|
points is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPointSize\fP.
|
|
.TP
|
|
\%\f3GL_POINT_SMOOTH_HINT\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the mode of the point antialiasing
|
|
hint. The initial value is \%\f3GL_DONT_CARE\fP.
|
|
See \%\f3glHint\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_MODE\fP
|
|
\f2params\fP 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
|
|
\%\f3GL_FILL\fP.
|
|
See \%\f3glPolygonMode\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_OFFSET_FACTOR\fP
|
|
\f2params\fP 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 \%\f3glPolygonOffset\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_OFFSET_UNITS\fP
|
|
\f2params\fP 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 \%\f3glPolygonOffset\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_OFFSET_FILL\fP
|
|
\f2params\fP returns a single boolean value indicating whether polygon offset
|
|
is enabled for polygons in fill mode. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPolygonOffset\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_OFFSET_LINE\fP
|
|
\f2params\fP returns a single boolean value indicating whether polygon offset
|
|
is enabled for polygons in line mode. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPolygonOffset\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_OFFSET_POINT\fP
|
|
\f2params\fP returns a single boolean value indicating whether polygon offset
|
|
is enabled for polygons in point mode. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPolygonOffset\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_SMOOTH\fP
|
|
\f2params\fP returns a single boolean value indicating whether antialiasing of
|
|
polygons is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPolygonMode\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_SMOOTH_HINT\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating the mode of the polygon antialiasing
|
|
hint. The initial value is \%\f3GL_DONT_CARE\fP.
|
|
See \%\f3glHint\fP.
|
|
.TP
|
|
\%\f3GL_POLYGON_STIPPLE\fP
|
|
\f2params\fP returns a single boolean value indicating whether polygon
|
|
stippling is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glPolygonStipple\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP
|
|
\f2params\fP returns a single boolean value indicating whether post color
|
|
matrix transformation lookup is enabled. The initial value is
|
|
\%\f3GL_FALSE\fP.
|
|
See \%\f3glColorTable\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP
|
|
\f2params\fP returns one value, the red bias factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP
|
|
\f2params\fP returns one value, the green bias factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP
|
|
\f2params\fP returns one value, the blue bias factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP
|
|
\f2params\fP returns one value, the alpha bias factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP
|
|
\f2params\fP returns one value, the red scale factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP
|
|
\f2params\fP returns one value, the green scale factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP
|
|
\f2params\fP returns one value, the blue scale factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP
|
|
\f2params\fP returns one value, the alpha scale factor applied to RGBA fragments
|
|
after color matrix transformations. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP
|
|
\f2params\fP returns a single boolean value indicating whether post convolution
|
|
lookup is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glColorTable\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_RED_BIAS\fP
|
|
\f2params\fP returns one value, the red bias factor applied to RGBA fragments
|
|
after convolution. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP
|
|
\f2params\fP returns one value, the green bias factor applied to RGBA fragments
|
|
after convolution. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP
|
|
\f2params\fP returns one value, the blue bias factor applied to RGBA fragments
|
|
after convolution. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP
|
|
\f2params\fP returns one value, the alpha bias factor applied to RGBA fragments
|
|
after convolution. The initial value is 0.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_RED_SCALE\fP
|
|
\f2params\fP returns one value, the red scale factor applied to RGBA fragments
|
|
after convolution. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP
|
|
\f2params\fP returns one value, the green scale factor applied to RGBA fragments
|
|
after convolution. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP
|
|
\f2params\fP returns one value, the blue scale factor applied to RGBA fragments
|
|
after convolution. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP
|
|
\f2params\fP returns one value, the alpha scale factor applied to RGBA fragments
|
|
after convolution. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_PROJECTION_MATRIX\fP
|
|
\f2params\fP returns sixteen values:
|
|
the projection matrix on the top of the projection matrix
|
|
stack. Initially this matrix is the identity matrix.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_PROJECTION_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the number of matrices on the projection matrix stack.
|
|
The initial value is 1.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_READ_BUFFER\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating which color buffer is selected for
|
|
reading. The initial value is \%\f3GL_BACK\fP if there is a back buffer,
|
|
otherwise it is \%\f3GL_FRONT\fP.
|
|
See
|
|
\%\f3glReadPixels\fP and \%\f3glAccum\fP.
|
|
.TP
|
|
\%\f3GL_RED_BIAS\fP
|
|
\f2params\fP returns one value,
|
|
the red bias factor used during pixel transfers. The initial value is 0.
|
|
.TP
|
|
\%\f3GL_RED_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of red bitplanes in each color buffer.
|
|
.TP
|
|
\%\f3GL_RED_SCALE\fP
|
|
\f2params\fP returns one value,
|
|
the red scale factor used during pixel transfers. The initial value is 1.
|
|
See \%\f3glPixelTransfer\fP.
|
|
.TP
|
|
\%\f3GL_RENDER_MODE\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating whether the GL is in render,
|
|
select,
|
|
or feedback mode. The initial value is \%\f3GL_RENDER\fP.
|
|
See \%\f3glRenderMode\fP.
|
|
.TP
|
|
\%\f3GL_RESCALE_NORMAL\fP
|
|
\f2params\fP returns single boolean value
|
|
indicating whether normal rescaling is enabled.
|
|
See \%\f3glEnable\fP.
|
|
.TP
|
|
\%\f3GL_RGBA_MODE\fP
|
|
\f2params\fP returns a single boolean value indicating whether the GL is in RGBA
|
|
mode (true) or color index mode (false).
|
|
See \%\f3glColor\fP.
|
|
.TP
|
|
\%\f3GL_SCISSOR_BOX\fP
|
|
\f2params\fP 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 \%\f3glScissor\fP.
|
|
.TP
|
|
\%\f3GL_SCISSOR_TEST\fP
|
|
\f2params\fP returns a single boolean value indicating whether scissoring is
|
|
enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glScissor\fP.
|
|
.TP
|
|
\%\f3GL_SELECTION_BUFFER_SIZE\fP
|
|
\f2params\fP return one value,
|
|
the size of the selection buffer.
|
|
See \%\f3glSelectBuffer\fP.
|
|
.TP
|
|
\%\f3GL_SEPARABLE_2D\fP
|
|
\f2params\fP returns a single boolean value indicating whether 2D separable
|
|
convolution is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glSeparableFilter2D\fP.
|
|
.TP
|
|
\%\f3GL_SHADE_MODEL\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating whether the shading mode is flat or
|
|
smooth. The initial value is \%\f3GL_SMOOTH\fP.
|
|
See \%\f3glShadeModel\fP.
|
|
.TP
|
|
\%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP
|
|
\f2params\fP returns two values,
|
|
the smallest and largest supported widths for antialiased lines.
|
|
See \%\f3glLineWidth\fP.
|
|
.TP
|
|
\%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP
|
|
\f2params\fP returns one value,
|
|
the granularity of widths for antialiased lines.
|
|
See \%\f3glLineWidth\fP.
|
|
.TP
|
|
\%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP
|
|
\f2params\fP returns two values,
|
|
the smallest and largest supported widths for antialiased points.
|
|
See \%\f3glPointSize\fP.
|
|
.TP
|
|
\%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP
|
|
\f2params\fP returns one value,
|
|
the granularity of sizes for antialiased points.
|
|
See \%\f3glPointSize\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_BITS\fP
|
|
\f2params\fP returns one value,
|
|
the number of bitplanes in the stencil buffer.
|
|
.TP
|
|
\%\f3GL_STENCIL_CLEAR_VALUE\fP
|
|
\f2params\fP returns one value,
|
|
the index to which the stencil bitplanes are cleared. The initial value is
|
|
0.
|
|
See \%\f3glClearStencil\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_FAIL\fP
|
|
\f2params\fP returns one value,
|
|
a symbolic constant indicating what action is taken when the stencil
|
|
test fails. The initial value is \%\f3GL_KEEP\fP.
|
|
See \%\f3glStencilOp\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_FUNC\fP
|
|
\f2params\fP 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 \%\f3GL_ALWAYS\fP.
|
|
See \%\f3glStencilFunc\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_PASS_DEPTH_FAIL\fP
|
|
\f2params\fP 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 \%\f3GL_KEEP\fP.
|
|
See \%\f3glStencilOp\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_PASS_DEPTH_PASS\fP
|
|
\f2params\fP 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 \%\f3GL_KEEP\fP.
|
|
See \%\f3glStencilOp\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_REF\fP
|
|
\f2params\fP returns one value,
|
|
the reference value that is compared with the contents of the stencil
|
|
buffer. The initial value is 0.
|
|
See \%\f3glStencilFunc\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_TEST\fP
|
|
\f2params\fP returns a single boolean value indicating whether stencil testing
|
|
of fragments is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glStencilFunc\fP and \%\f3glStencilOp\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_VALUE_MASK\fP
|
|
\f2params\fP 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 \%\f3glStencilFunc\fP.
|
|
.TP
|
|
\%\f3GL_STENCIL_WRITEMASK\fP
|
|
\f2params\fP returns one value,
|
|
the mask that controls writing of the stencil bitplanes. The initial value
|
|
is all 1's. See \%\f3glStencilMask\fP.
|
|
.TP
|
|
\%\f3GL_STEREO\fP
|
|
\f2params\fP returns a single boolean value indicating whether stereo buffers
|
|
(left and right) are supported.
|
|
.TP
|
|
\%\f3GL_SUBPIXEL_BITS\fP
|
|
\f2params\fP 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
|
|
.br
|
|
is 4.
|
|
.TP
|
|
\%\f3GL_TEXTURE_1D\fP
|
|
\f2params\fP returns a single boolean value indicating whether 1D texture
|
|
mapping is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexImage1D\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_BINDING_1D\fP
|
|
\f2params\fP returns a single value, the name of the texture
|
|
currently bound to the target \%\f3GL_TEXTURE_1D\fP. The initial value is 0.
|
|
See \%\f3glBindTexture\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_2D\fP
|
|
\f2params\fP returns a single boolean value indicating whether 2D texture
|
|
mapping is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexImage2D\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_BINDING_2D\fP
|
|
\f2params\fP returns a single value, the name of the texture
|
|
currently bound to the target \%\f3GL_TEXTURE_2D\fP. The initial value is 0.
|
|
See \%\f3glBindTexture\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_3D\fP
|
|
\f2params\fP returns a single boolean value indicating whether 3D texture
|
|
mapping is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexImage3D\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_BINDING_3D\fP
|
|
\f2params\fP returns a single value, the name of the texture
|
|
currently bound to the target \%\f3GL_TEXTURE_3D\fP. The initial value is 0.
|
|
See \%\f3glBindTexture\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_COORD_ARRAY\fP
|
|
\f2params\fP returns a single boolean value indicating whether the texture
|
|
coordinate array is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexCoordPointer\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the number of coordinates per element in the texture coordinate
|
|
array. The initial value is 4.
|
|
See \%\f3glTexCoordPointer\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP
|
|
\f2params\fP returns one value,
|
|
the byte offset between consecutive elements in the texture coordinate
|
|
array. The initial value is 0.
|
|
See \%\f3glTexCoordPointer\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP
|
|
\f2params\fP returns one value,
|
|
the data type of the coordinates in the texture coordinate
|
|
array. The initial value is \%\f3GL_FLOAT\fP.
|
|
See \%\f3glTexCoordPointer\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_GEN_Q\fP
|
|
\f2params\fP returns a single boolean value indicating whether automatic generation
|
|
of the \f2q\fP texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexGen\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_GEN_R\fP
|
|
\f2params\fP returns a single boolean value indicating whether automatic generation
|
|
of the \f2r\fP texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexGen\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_GEN_S\fP
|
|
\f2params\fP returns a single boolean value indicating whether automatic generation
|
|
of the \f2S\fP texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexGen\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_GEN_T\fP
|
|
\f2params\fP returns a single boolean value indicating whether automatic generation
|
|
of the T texture coordinate is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glTexGen\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_MATRIX\fP
|
|
\f2params\fP returns sixteen values:
|
|
the texture matrix on the top of the texture matrix stack. Initially this
|
|
matrix is the identity matrix.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_TEXTURE_STACK_DEPTH\fP
|
|
\f2params\fP returns one value,
|
|
the number of matrices on the texture matrix stack.
|
|
The initial value is 1.
|
|
See \%\f3glPushMatrix\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_ALIGNMENT\fP
|
|
\f2params\fP returns one value,
|
|
the byte alignment used for reading pixel data from memory. The initial
|
|
value is 4.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_IMAGE_HEIGHT\fP
|
|
\f2params\fP returns one value,
|
|
the image height used for reading pixel data from memory. The initial
|
|
is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_LSB_FIRST\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_ROW_LENGTH\fP
|
|
\f2params\fP returns one value,
|
|
the row length used for reading pixel data from memory. The initial value
|
|
is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_SKIP_IMAGES\fP
|
|
\f2params\fP returns one value,
|
|
the number of pixel images skipped before the first pixel is read
|
|
from memory. The initial value is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_SKIP_PIXELS\fP
|
|
\f2params\fP returns one value,
|
|
the number of pixel locations skipped before the first pixel is read
|
|
from memory. The initial value is 0.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_SKIP_ROWS\fP
|
|
\f2params\fP 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 \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_UNPACK_SWAP_BYTES\fP
|
|
\f2params\fP 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 \%\f3GL_FALSE\fP.
|
|
See \%\f3glPixelStore\fP.
|
|
.TP
|
|
\%\f3GL_VERTEX_ARRAY\fP
|
|
\f2params\fP returns a single boolean value indicating whether the vertex
|
|
array is enabled. The initial value is \%\f3GL_FALSE\fP.
|
|
See \%\f3glVertexPointer\fP.
|
|
.TP
|
|
\%\f3GL_VERTEX_ARRAY_SIZE\fP
|
|
\f2params\fP returns one value,
|
|
the number of coordinates per vertex in the vertex array. The initial
|
|
value is 4.
|
|
See \%\f3glVertexPointer\fP.
|
|
.TP
|
|
\%\f3GL_VERTEX_ARRAY_STRIDE\fP
|
|
\f2params\fP returns one value,
|
|
the byte offset between consecutive vertices in the vertex
|
|
array. The initial value is 0.
|
|
See \%\f3glVertexPointer\fP.
|
|
.TP
|
|
\%\f3GL_VERTEX_ARRAY_TYPE\fP
|
|
\f2params\fP returns one value,
|
|
the data type of each coordinate in the vertex array. The initial value is
|
|
\%\f3GL_FLOAT\fP.
|
|
See \%\f3glVertexPointer\fP.
|
|
.TP
|
|
\%\f3GL_VIEWPORT\fP
|
|
\f2params\fP 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 \%\f3glViewport\fP.
|
|
.TP
|
|
\%\f3GL_ZOOM_X\fP
|
|
\f2params\fP returns one value,
|
|
the $x$ pixel zoom factor. The initial value is 1.
|
|
See \%\f3glPixelZoom\fP.
|
|
.TP
|
|
\%\f3GL_ZOOM_Y\fP
|
|
\f2params\fP returns one value,
|
|
the $y$ pixel zoom factor. The initial value is 1.
|
|
See \%\f3glPixelZoom\fP.
|
|
.P
|
|
Many of the boolean parameters can also be queried more easily using
|
|
\%\f3glIsEnabled\fP.
|
|
.SH NOTES
|
|
\%\f3GL_COLOR_LOGIC_OP\fP,
|
|
\%\f3GL_COLOR_ARRAY\fP,
|
|
\%\f3GL_COLOR_ARRAY_SIZE\fP,
|
|
\%\f3GL_COLOR_ARRAY_STRIDE\fP,
|
|
\%\f3GL_COLOR_ARRAY_TYPE\fP,
|
|
\%\f3GL_EDGE_FLAG_ARRAY\fP,
|
|
\%\f3GL_EDGE_FLAG_ARRAY_STRIDE\fP,
|
|
\%\f3GL_INDEX_ARRAY\fP,
|
|
\%\f3GL_INDEX_ARRAY_STRIDE\fP,
|
|
\%\f3GL_INDEX_ARRAY_TYPE\fP,
|
|
\%\f3GL_INDEX_LOGIC_OP\fP,
|
|
\%\f3GL_NORMAL_ARRAY\fP,
|
|
\%\f3GL_NORMAL_ARRAY_STRIDE\fP,
|
|
\%\f3GL_NORMAL_ARRAY_TYPE\fP,
|
|
\%\f3GL_POLYGON_OFFSET_UNITS\fP,
|
|
\%\f3GL_POLYGON_OFFSET_FACTOR\fP,
|
|
\%\f3GL_POLYGON_OFFSET_FILL\fP,
|
|
\%\f3GL_POLYGON_OFFSET_LINE\fP,
|
|
\%\f3GL_POLYGON_OFFSET_POINT\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP,
|
|
\%\f3GL_VERTEX_ARRAY\fP,
|
|
\%\f3GL_VERTEX_ARRAY_SIZE\fP,
|
|
\%\f3GL_VERTEX_ARRAY_STRIDE\fP, and
|
|
\%\f3GL_VERTEX_ARRAY_TYPE\fP
|
|
are available only if the GL version is 1.1 or greater.
|
|
.P
|
|
\%\f3GL_ALIASED_POINT_SIZE_RANGE\fP,
|
|
\%\f3GL_ALIASED_POINT_SIZE_GRANULARITY\fP,
|
|
\%\f3GL_FEEDBACK_BUFFER_SIZE\fP,
|
|
\%\f3GL_FEEDBACK_BUFFER_TYPE\fP,
|
|
\%\f3GL_LIGHT_MODEL_AMBIENT\fP,
|
|
\%\f3GL_LIGHT_MODEL_COLOR_CONTROL\fP,
|
|
\%\f3GL_MAX_3D_TEXTURE_SIZE\fP,
|
|
\%\f3GL_MAX_ELEMENTS_INDICES\fP,
|
|
\%\f3GL_MAX_ELEMENTS_VERTICES\fP,
|
|
\%\f3GL_PACK_IMAGE_HEIGHT\fP,
|
|
\%\f3GL_PACK_SKIP_IMAGES\fP,
|
|
\%\f3GL_RESCALE_NORMAL\fP,
|
|
\%\f3GL_SELECTION_BUFFER_SIZE\fP,
|
|
\%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP,
|
|
\%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP,
|
|
\%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP,
|
|
\%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP,
|
|
\%\f3GL_TEXTURE_3D\fP,
|
|
\%\f3GL_TEXTURE_BINDING_3D\fP,
|
|
\%\f3GL_UNPACK_IMAGE_HEIGHT\fP, and
|
|
\%\f3GL_UNPACK_SKIP_IMAGES\fP
|
|
are available only if the GL version is 1.2 or greater.
|
|
.P
|
|
\%\f3GL_LINE_WIDTH_GRANULARITY\fP was deprecated in GL version 1.2. Its
|
|
functionality was replaced by \%\f3GL_SMOOTH_LINE_WIDTH_GRANULARITY\fP.
|
|
.P
|
|
\%\f3GL_LINE_WIDTH_RANGE\fP was deprecated in GL version 1.2. Its
|
|
functionality was replaced by \%\f3GL_SMOOTH_LINE_WIDTH_RANGE\fP.
|
|
.P
|
|
\%\f3GL_POINT_SIZE_GRANULARITY\fP was deprecated in GL version 1.2. Its
|
|
functionality was replaced by \%\f3GL_SMOOTH_POINT_SIZE_GRANULARITY\fP.
|
|
.P
|
|
\%\f3GL_POINT_SIZE_RANGE\fP was deprecated in GL version 1.2. Its
|
|
functionality was replaced by \%\f3GL_SMOOTH_POINT_SIZE_RANGE\fP.
|
|
.P
|
|
\%\f3GL_BLEND_COLOR\fP,
|
|
\%\f3GL_BLEND_EQUATION\fP,
|
|
\%\f3GL_COLOR_MATRIX\fP,
|
|
\%\f3GL_COLOR_MATRIX_STACK_DEPTH\fP,
|
|
\%\f3GL_COLOR_TABLE\fP,
|
|
\%\f3GL_CONVOLUTION_1D\fP,
|
|
\%\f3GL_CONVOLUTION_2D\fP,
|
|
\%\f3GL_HISTOGRAM\fP,
|
|
\%\f3GL_MAX_COLOR_MATRIX_STACK_DEPTH\fP,
|
|
\%\f3GL_MINMAX\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_COLOR_TABLE\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_RED_BIAS\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_GREEN_BIAS\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_BLUE_BIAS\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_ALPHA_BIAS\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_RED_SCALE\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_GREEN_SCALE\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_BLUE_SCALE\fP,
|
|
\%\f3GL_POST_COLOR_MATRIX_ALPHA_SCALE\fP,
|
|
\%\f3GL_POST_CONVOLUTION_COLOR_TABLE\fP,
|
|
\%\f3GL_POST_CONVOLUTION_RED_BIAS\fP,
|
|
\%\f3GL_POST_CONVOLUTION_GREEN_BIAS\fP,
|
|
\%\f3GL_POST_CONVOLUTION_BLUE_BIAS\fP,
|
|
\%\f3GL_POST_CONVOLUTION_ALPHA_BIAS\fP,
|
|
\%\f3GL_POST_CONVOLUTION_RED_SCALE\fP,
|
|
\%\f3GL_POST_CONVOLUTION_GREEN_SCALE\fP,
|
|
\%\f3GL_POST_CONVOLUTION_BLUE_SCALE\fP,
|
|
\%\f3GL_POST_CONVOLUTION_ALPHA_SCALE\fP, and
|
|
\%\f3GL_SEPARABLE_2D\fP
|
|
are available only if \%\f3GL_ARB_imaging\fP is returned from \%\f3glGet\fP
|
|
when called with the argument \%\f3GL_EXTENSIONS\fP.
|
|
.P
|
|
\%\f3GL_ACTIVE_TEXTURE_ARB\fP,
|
|
\%\f3GL_CLIENT_ACTIVE_TEXTURE_ARB\fP, and
|
|
\%\f3GL_MAX_TEXTURE_UNITS_ARB\fP are available only if
|
|
\%\f3GL_ARB_multitexture\fP is returned from \%\f3glGet\fP when called with the
|
|
argument \%\f3GL_EXTENSIONS\fP.
|
|
.P
|
|
When the \%\f3GL_ARB_multitexture\fP extension is supported, the following
|
|
parameters return the associated value for the active texture unit:
|
|
\%\f3GL_CURRENT_RASTER_TEXTURE_COORDS\fP,
|
|
\%\f3GL_TEXTURE_1D\fP, \%\f3GL_TEXTURE_BINDING_1D\fP,
|
|
\%\f3GL_TEXTURE_2D\fP, \%\f3GL_TEXTURE_BINDING_2D\fP,
|
|
\%\f3GL_TEXTURE_3D\fP, \%\f3GL_TEXTURE_BINDING_3D\fP,
|
|
\%\f3GL_TEXTURE_GEN_S\fP,
|
|
\%\f3GL_TEXTURE_GEN_T\fP,
|
|
\%\f3GL_TEXTURE_GEN_R\fP,
|
|
\%\f3GL_TEXTURE_GEN_Q\fP,
|
|
\%\f3GL_TEXTURE_MATRIX\fP, and
|
|
\%\f3GL_TEXTURE_STACK_DEPTH\fP.
|
|
Likewise, the following parameters return the associated value for the
|
|
active client texture unit:
|
|
\%\f3GL_TEXTURE_COORD_ARRAY\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_SIZE\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_STRIDE\fP,
|
|
\%\f3GL_TEXTURE_COORD_ARRAY_TYPE\fP.
|
|
.SH ERRORS
|
|
\%\f3GL_INVALID_ENUM\fP is generated if \f2pname\fP is not an accepted value.
|
|
.P
|
|
\%\f3GL_INVALID_OPERATION\fP is generated if \%\f3glGet\fP
|
|
is executed between the execution of \%\f3glBegin\fP
|
|
and the corresponding execution of \%\f3glEnd\fP.
|
|
.P
|
|
.SH SEE ALSO
|
|
\%\f3glGetClipPlane(3G)\fP,
|
|
\%\f3glGetColorTable(3G)\fP,
|
|
\%\f3glGetColorTableParameter(3G)\fP,
|
|
\%\f3glGetConvolutionFilter(3G)\fP,
|
|
\%\f3glGetConvolutionParameter(3G)\fP,
|
|
\%\f3glGetError(3G)\fP,
|
|
\%\f3glGetHistogram(3G)\fP,
|
|
\%\f3glGetHistogramParameter(3G)\fP,
|
|
\%\f3glGetLight(3G)\fP,
|
|
\%\f3glGetMap(3G)\fP,
|
|
\%\f3glGetMaterial(3G)\fP,
|
|
\%\f3glGetMinmax(3G)\fP,
|
|
\%\f3glGetMinmaxParameter(3G)\fP,
|
|
\%\f3glGetPixelMap(3G)\fP,
|
|
\%\f3glGetPointerv(3G)\fP,
|
|
\%\f3glGetPolygonStipple(3G)\fP,
|
|
\%\f3glGetSeparableFilter(3G)\fP,
|
|
\%\f3glGetString(3G)\fP,
|
|
\%\f3glGetTexEnv(3G)\fP,
|
|
\%\f3glGetTexGen(3G)\fP,
|
|
\%\f3glGetTexImage(3G)\fP,
|
|
\%\f3glGetTexLevelParameter(3G)\fP,
|
|
\%\f3glGetTexParameter(3G)\fP,
|
|
\%\f3glIsEnabled(3G)\fP
|