Opentk/Source/Bind/Specifications/Docs/glGet.xml
2009-03-08 00:46:58 +00:00

4897 lines
232 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
"http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
<refentry id="glGet">
<refmeta>
<refmetainfo>
<copyright>
<year>1991-2006</year>
<holder>Silicon Graphics, Inc.</holder>
</copyright>
</refmetainfo>
<refentrytitle>glGet</refentrytitle>
<manvolnum>3G</manvolnum>
</refmeta>
<refnamediv>
<refname>glGet</refname>
<refpurpose>return the value or values of a selected parameter</refpurpose>
</refnamediv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glGetBooleanv</function></funcdef>
<paramdef>GLenum <parameter>pname</parameter></paramdef>
<paramdef>GLboolean * <parameter>params</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glGetDoublev</function></funcdef>
<paramdef>GLenum <parameter>pname</parameter></paramdef>
<paramdef>GLdouble * <parameter>params</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glGetFloatv</function></funcdef>
<paramdef>GLenum <parameter>pname</parameter></paramdef>
<paramdef>GLfloat * <parameter>params</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsynopsisdiv><title>C Specification</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>glGetIntegerv</function></funcdef>
<paramdef>GLenum <parameter>pname</parameter></paramdef>
<paramdef>GLint * <parameter>params</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<!-- eqn: ignoring delim $$ -->
<refsect1 id="parameters"><title>Parameters</title>
<variablelist>
<varlistentry>
<term><parameter>pname</parameter></term>
<listitem>
<para>
Specifies the parameter value to be returned.
The symbolic constants in the list below are accepted.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>params</parameter></term>
<listitem>
<para>
Returns the value or values of the specified parameter.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id="description"><title>Description</title>
<para>
These four commands return values for simple state variables in GL.
<parameter>pname</parameter> is a symbolic constant indicating the state variable to be returned,
and <parameter>params</parameter> is a pointer to an array of the indicated type in
which to place the returned data.
</para>
<para>
Type conversion is performed if <parameter>params</parameter> has a different type than
the state variable value being requested.
If <function>glGetBooleanv</function> is called,
a floating-point (or integer) value is converted to <constant>GL_FALSE</constant> if
and only if it is 0.0 (or 0).
Otherwise,
it is converted to <constant>GL_TRUE</constant>.
If <function>glGetIntegerv</function> is called, boolean values are returned as
<constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>, 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
to the most negative representable integer value.
If <function>glGetFloatv</function> or <function>glGetDoublev</function> is called,
boolean values are returned as <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>,
and integer values are converted to floating-point values.
</para>
<para>
The following symbolic constants are accepted by <parameter>pname</parameter>:
</para>
<variablelist>
<varlistentry>
<term><constant>GL_ACCUM_ALPHA_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of alpha bitplanes in the accumulation buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ACCUM_BLUE_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of blue bitplanes in the accumulation buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ACCUM_CLEAR_VALUE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (0, 0, 0, 0).
See <citerefentry><refentrytitle>glClearAccum</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ACCUM_GREEN_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of green bitplanes in the accumulation buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ACCUM_RED_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of red bitplanes in the accumulation buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ACTIVE_TEXTURE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value indicating the active multitexture unit.
The initial value is <constant>GL_TEXTURE0</constant>.
See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALIASED_POINT_SIZE_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values,
the smallest and largest supported sizes for aliased points.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALIASED_LINE_WIDTH_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values,
the smallest and largest supported widths for aliased lines.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALPHA_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the alpha bias factor used during pixel transfers. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALPHA_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of alpha bitplanes in each color buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALPHA_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the alpha scale factor used
during pixel transfers. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALPHA_TEST</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether alpha testing
of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glAlphaFunc</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALPHA_TEST_FUNC</constant> <parameter>params</parameter> returns one value,</term>
<listitem>
<para>
</para>
<para>
the symbolic name of the alpha test function. The initial value is
<constant>GL_ALWAYS</constant>.
See <citerefentry><refentrytitle>glAlphaFunc</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ALPHA_TEST_REF</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the reference value for the alpha test. The initial value is 0.
See <citerefentry><refentrytitle>glAlphaFunc</refentrytitle></citerefentry>.
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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer value.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_ARRAY_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ATTRIB_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the depth of the attribute stack.
If the stack is empty,
0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glPushAttrib</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_AUTO_NORMAL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 2D map evaluation
automatically generates surface normals. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_AUX_BUFFERS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of auxiliary color buffers available.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether blending is
enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values,
the red, green, blue, and alpha values which are the components of
the blend color.
See <citerefentry><refentrytitle>glBlendColor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_DST_ALPHA</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the symbolic constant identifying the alpha destination blend
function. The initial value is <constant>GL_ZERO</constant>.
See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_DST_RGB</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the symbolic constant identifying the RGB destination blend
function. The initial value is <constant>GL_ZERO</constant>.
See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_EQUATION_RGB</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, a symbolic constant indicating whether
the RGB blend equation is <constant>GL_FUNC_ADD</constant>, <constant>GL_FUNC_SUBTRACT</constant>,
<constant>GL_FUNC_REVERSE_SUBTRACT</constant>, <constant>GL_MIN</constant> or <constant>GL_MAX</constant>.
See <citerefentry><refentrytitle>glBlendEquationSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_EQUATION_ALPHA</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, a symbolic constant indicating whether
the Alpha blend equation is <constant>GL_FUNC_ADD</constant>, <constant>GL_FUNC_SUBTRACT</constant>,
<constant>GL_FUNC_REVERSE_SUBTRACT</constant>, <constant>GL_MIN</constant> or <constant>GL_MAX</constant>.
See <citerefentry><refentrytitle>glBlendEquationSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_SRC_ALPHA</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the symbolic constant identifying the alpha source blend function. The initial
value is <constant>GL_ONE</constant>.
See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLEND_SRC_RGB</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the symbolic constant identifying the RGB source blend function. The initial
value is <constant>GL_ONE</constant>.
See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLUE_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the blue bias factor used during pixel transfers. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLUE_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of blue bitplanes in each color buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_BLUE_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the blue scale factor used during pixel transfers. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CLIENT_ACTIVE_TEXTURE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single integer value indicating the current client active
multitexture unit. The initial value is <constant>GL_TEXTURE0</constant>.
See <citerefentry><refentrytitle>glClientActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CLIENT_ATTRIB_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value indicating the depth of the
attribute stack. The initial value is 0.
See <citerefentry><refentrytitle>glPushClientAttrib</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CLIP_PLANE</constant><emphasis>i</emphasis></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the specified
clipping plane is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glClipPlane</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the color array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the color array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_ARRAY_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of components per color in the color array. The initial value
is 4.
See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive colors in the color array. The initial
value is 0.
See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the data type of each component in the color array. The initial value
is <constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_CLEAR_VALUE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (0, 0, 0, 0).
See <citerefentry><refentrytitle>glClearColor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_LOGIC_OP</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_MATERIAL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether one or more
material parameters are tracking the current color. The initial value
is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glColorMaterial</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_MATERIAL_FACE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which materials have a parameter that is
tracking the current color. The initial value is <constant>GL_FRONT_AND_BACK</constant>.
See <citerefentry><refentrytitle>glColorMaterial</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_MATERIAL_PARAMETER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which material parameters are
tracking the current color. The initial value is
<constant>GL_AMBIENT_AND_DIFFUSE</constant>.
See <citerefentry><refentrytitle>glColorMaterial</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns sixteen values:
the color matrix on the top of the color matrix stack. Initially
this matrix is the identity matrix.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_MATRIX_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum supported depth of the projection matrix stack. The value must
be at least 2.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_SUM</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether primary and
secondary color sum is enabled.
See <citerefentry><refentrytitle>glSecondaryColor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_TABLE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the color table
lookup is enabled.
See <citerefentry><refentrytitle>glColorTable</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COLOR_WRITEMASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four boolean values:
the red, green, blue, and alpha write enables for the color
buffers. The initial value is (<constant>GL_TRUE</constant>, <constant>GL_TRUE</constant>,
<constant>GL_TRUE</constant>, <constant>GL_TRUE</constant>).
See <citerefentry><refentrytitle>glColorMask</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_COMPRESSED_TEXTURE_FORMATS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a list of symbolic
constants of length <constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant>
indicating which compressed texture formats are available.
See <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CONVOLUTION_1D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 1D convolution
is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glConvolutionFilter1D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CONVOLUTION_2D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 2D convolution
is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glConvolutionFilter2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CULL_FACE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether polygon culling
is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CULL_FACE_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which polygon faces are to be
culled. The initial value is <constant>GL_BACK</constant>.
See <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer value.
The initial value is (1, 1, 1, 1).
See <citerefentry><refentrytitle>glColor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_FOG_COORD</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the current fog coordinate. The initial value
is 0.
See <citerefentry><refentrytitle>glFogCoord</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_INDEX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the current color index. The initial value is 1.
See <citerefentry><refentrytitle>glIndex</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_NORMAL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns three values:
the <emphasis>x</emphasis>, <emphasis>y</emphasis>, and <emphasis>z</emphasis> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer value.
The initial value is (0, 0, 1).
See <citerefentry><refentrytitle>glNormal</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_PROGRAM</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the name of the program object that is currently active, or 0 if no program object is active.
See <citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the red, green, blue, and alpha color 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (1, 1, 1, 1).
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_DISTANCE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the distance from the eye to the current
raster position. The initial value is 0.
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_INDEX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the color index of the current raster position. The initial value is 1.
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_POSITION</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the <emphasis>x</emphasis>, <emphasis>y</emphasis>, <emphasis>z</emphasis>, and <emphasis>w</emphasis> components of the current
raster position.
<emphasis>x</emphasis>, <emphasis>y</emphasis>, and <emphasis>z</emphasis> are in window coordinates,
and <emphasis>w</emphasis> is in clip coordinates. The initial value is (0, 0, 0, 1).
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_POSITION_VALID</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the current
raster position is valid. The initial value is <constant>GL_TRUE</constant>.
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_SECONDARY_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the red, green, blue, and alpha secondary color 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (1, 1, 1, 1).
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_RASTER_TEXTURE_COORDS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values: the <emphasis>s</emphasis>, <emphasis>t</emphasis>, <emphasis>r</emphasis>, and <emphasis>q</emphasis>
texture coordinates of the current raster position. The initial value is (0, 0, 0, 1).
See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glMultiTexCoord</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_SECONDARY_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values: the red, green, blue, and alpha values of the
current secondary 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most
negative representable integer value. The initial value is (0, 0, 0, 0).
See <citerefentry><refentrytitle>glSecondaryColor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_CURRENT_TEXTURE_COORDS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the <emphasis>s</emphasis>, <emphasis>t</emphasis>, <emphasis>r</emphasis>, and <emphasis>q</emphasis> current texture
coordinates. The initial value is (0, 0, 0, 1).
See <citerefentry><refentrytitle>glMultiTexCoord</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the depth bias factor used during pixel transfers. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of bitplanes in the depth buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_CLEAR_VALUE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is 1.
See <citerefentry><refentrytitle>glClearDepth</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_FUNC</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the symbolic constant that indicates the depth comparison
function. The initial value is <constant>GL_LESS</constant>.
See <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (0, 1).
See <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the depth scale factor used during pixel transfers. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_TEST</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether depth testing
of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DEPTH_WRITEMASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating if the depth buffer
is enabled for writing. The initial value is <constant>GL_TRUE</constant>.
See <citerefentry><refentrytitle>glDepthMask</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DITHER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether dithering of
fragment colors and indices is enabled. The initial value is <constant>GL_TRUE</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DOUBLEBUFFER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether double buffering
is supported.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DRAW_BUFFER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which buffers are being drawn to.
See <citerefentry><refentrytitle>glDrawBuffer</refentrytitle></citerefentry>. The initial value is <constant>GL_BACK</constant> if there
are back buffers, otherwise it is <constant>GL_FRONT</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_DRAW_BUFFER</constant><emphasis>i</emphasis></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which buffers are being drawn to by the corresponding output color.
See <citerefentry><refentrytitle>glDrawBuffers</refentrytitle></citerefentry>.
The initial value of <constant>GL_DRAW_BUFFER0</constant> is <constant>GL_BACK</constant> if there
are back buffers, otherwise it is <constant>GL_FRONT</constant>. The
initial values of draw buffers for all other output colors is <constant>GL_NONE</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_EDGE_FLAG</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the current
edge flag is <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>. The initial value is <constant>GL_TRUE</constant>.
See <citerefentry><refentrytitle>glEdgeFlag</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_EDGE_FLAG_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the edge
flag array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glEdgeFlagPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_EDGE_FLAG_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the edge flag array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glEdgeFlagPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_EDGE_FLAG_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive edge flags in the edge flag
array. The initial value is 0.
See <citerefentry><refentrytitle>glEdgeFlagPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ELEMENT_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_ELEMENT_ARRAY_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FEEDBACK_BUFFER_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the size of the feedback buffer.
See <citerefentry><refentrytitle>glFeedbackBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FEEDBACK_BUFFER_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the type of the feedback buffer.
See <citerefentry><refentrytitle>glFeedbackBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether fogging is
enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_COORD_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the fog coordinate array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_COORD_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the fog coordinate array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_COORD_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive fog coordinates in the fog coordinate
array. The initial value is 0.
See <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_COORD_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the type of the fog coordinate array.
The initial value is <constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_COORD_SRC</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, a symbolic constant indicating the source of the fog coordinate.
The initial value is <constant>GL_FRAGMENT_DEPTH</constant>.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (0, 0, 0, 0).
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_DENSITY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the fog density parameter. The initial value is 1.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_END</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the end factor for the linear fog equation. The initial value is 1.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the fog hint. The initial value
is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_INDEX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the fog color index. The initial value is 0.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which fog equation is selected. The initial
value is <constant>GL_EXP</constant>.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FOG_START</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the start factor for the linear fog equation. The initial value is 0.
See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FRAGMENT_SHADER_DERIVATIVE_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the derivative accuracy hint
for fragment shaders. The initial value
is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_FRONT_FACE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating whether clockwise or counterclockwise
polygon winding is treated as front-facing. The initial value is
<constant>GL_CCW</constant>.
See <citerefentry><refentrytitle>glFrontFace</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_GENERATE_MIPMAP_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the mipmap generation filtering
hint. The initial value is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_GREEN_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the green bias factor used during pixel transfers. The initial value is 0.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_GREEN_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of green bitplanes in each color buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_GREEN_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the green scale factor used during pixel transfers. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_HISTOGRAM</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether histogram is
enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glHistogram</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the color
index array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the color index array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive color indexes in the color index
array. The initial value is 0.
See <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the data type of indexes in the color index array. The initial value is
<constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of bitplanes in each color index buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_CLEAR_VALUE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the color index used to clear the color index buffers. The initial value
is 0.
See <citerefentry><refentrytitle>glClearIndex</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_LOGIC_OP</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the GL is in
color index mode (<constant>GL_TRUE</constant>) or RGBA mode (<constant>GL_FALSE</constant>).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_OFFSET</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the offset added to color and stencil indices during pixel
transfers. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_SHIFT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the amount that color and stencil indices are shifted during pixel
transfers. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_INDEX_WRITEMASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a mask indicating which bitplanes of each color index buffer can be
written. The initial value is all 1's.
See <citerefentry><refentrytitle>glIndexMask</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIGHT</constant><emphasis>i</emphasis></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the specified
light is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLight</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIGHTING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether lighting is
enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIGHT_MODEL_AMBIENT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<inlineequation><mml:math>
<!-- eqn: -1.0:-->
<mml:mn>-1.0</mml:mn>
</mml:math></inlineequation>
returns the most negative representable integer
value. The initial value is (0.2, 0.2, 0.2, 1.0).
See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIGHT_MODEL_COLOR_CONTROL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns single enumerated value indicating whether specular
reflection calculations are separated from normal lighting computations.
The initial value is <constant>GL_SINGLE_COLOR</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIGHT_MODEL_LOCAL_VIEWER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether specular reflection
calculations treat the viewer as being local to the scene. The initial
value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIGHT_MODEL_TWO_SIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether separate materials
are used to compute lighting for front- and back-facing
polygons. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_SMOOTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
lines is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_SMOOTH_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the line antialiasing
hint. The initial value is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_STIPPLE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether stippling of lines
is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glLineStipple</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_STIPPLE_PATTERN</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the 16-bit line stipple pattern. The initial value is all 1's.
See <citerefentry><refentrytitle>glLineStipple</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_STIPPLE_REPEAT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the line stipple repeat factor. The initial value is 1.
See <citerefentry><refentrytitle>glLineStipple</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_WIDTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the line width as specified with <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>. The initial value is
1.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_WIDTH_GRANULARITY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the width difference between adjacent supported widths for antialiased lines.
See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LINE_WIDTH_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values:
the smallest and largest supported widths for antialiased
lines.
See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIST_BASE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the base offset added to all names in arrays presented to
<citerefentry><refentrytitle>glCallLists</refentrytitle></citerefentry>. The initial value is 0.
See <citerefentry><refentrytitle>glListBase</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIST_INDEX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glNewList</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LIST_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the construction mode of the display list
currently under construction. The initial value is 0.
See <citerefentry><refentrytitle>glNewList</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_LOGIC_OP_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the selected logic operation
mode. The initial value is <constant>GL_COPY</constant>.
See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_COLOR_4</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates colors. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_GRID_DOMAIN</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values:
the endpoints of the 1D map's grid domain. The initial value is (0, 1).
See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_GRID_SEGMENTS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of partitions in the 1D map's grid domain. The initial value
is 1.
See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_INDEX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates color indices. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_NORMAL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates normals. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_TEXTURE_COORD_1</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates 1D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_TEXTURE_COORD_2</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates 2D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_TEXTURE_COORD_3</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates 3D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_TEXTURE_COORD_4</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates 4D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_VERTEX_3</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates 3D vertex coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP1_VERTEX_4</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
1D evaluation generates 4D vertex coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_COLOR_4</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates colors. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_GRID_DOMAIN</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the endpoints of the 2D map's
<inlineequation><mml:math><mml:mi mathvariant="italic">i</mml:mi></mml:math></inlineequation>
and
<inlineequation><mml:math><mml:mi mathvariant="italic">j</mml:mi></mml:math></inlineequation>
grid domains. The initial value
is (0,1; 0,1).
See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_GRID_SEGMENTS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values:
the number of partitions in the 2D map's
<inlineequation><mml:math><mml:mi mathvariant="italic">i</mml:mi></mml:math></inlineequation>
and
<inlineequation><mml:math><mml:mi mathvariant="italic">j</mml:mi></mml:math></inlineequation>
grid
domains. The initial value is (1,1).
See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_INDEX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates color indices. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_NORMAL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates normals. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_TEXTURE_COORD_1</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates 1D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_TEXTURE_COORD_2</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates 2D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_TEXTURE_COORD_3</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates 3D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_TEXTURE_COORD_4</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates 4D texture coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_VERTEX_3</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates 3D vertex coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP2_VERTEX_4</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether
2D evaluation generates 4D vertex coordinates. The initial value is
<constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP_COLOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAP_STENCIL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating if stencil indices
are to be replaced by table lookup during pixel transfers. The initial
value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MATRIX_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which matrix stack is currently the
target of all matrix operations. The initial value is <constant>GL_MODELVIEW</constant>.
See <citerefentry><refentrytitle>glMatrixMode</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_3D_TEXTURE_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a rough estimate of the largest 3D texture that the GL can handle.
The value must be at least 16.
If the GL version is 1.2 or greater, use
<constant>GL_PROXY_TEXTURE_3D</constant> to determine if a texture is too large.
See <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_CLIENT_ATTRIB_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value indicating the maximum supported depth
of the client attribute stack.
See <citerefentry><refentrytitle>glPushClientAttrib</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_ATTRIB_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum supported depth of the attribute stack. The value must be
at least 16.
See <citerefentry><refentrytitle>glPushAttrib</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_CLIP_PLANES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of application-defined clipping planes. The value must be at least 6.
See <citerefentry><refentrytitle>glClipPlane</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_COLOR_MATRIX_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the maximum supported depth of the color matrix
stack. The value must be at least 2.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the maximum supported texture image units that
can be used to access texture maps from the vertex shader and the fragment processor combined.
If both the vertex shader and the fragment processing stage access the same texture image
unit, then that counts as using two texture image units against this limit.
The value must be at least 2.
See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_CUBE_MAP_TEXTURE_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value.
The value gives a rough estimate of the largest cube-map texture that
the GL can handle. The value must be at least 16.
If the GL version is 1.3 or greater, use <constant>GL_PROXY_TEXTURE_CUBE_MAP</constant>
to determine if a texture is too large.
See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_DRAW_BUFFERS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the maximum number
of simultaneous output colors allowed from a fragment shader using the
<code>gl_FragData</code> built-in array. The value must be at least 1.
See <citerefentry><refentrytitle>glDrawBuffers</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_ELEMENTS_INDICES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the recommended maximum number of vertex array indices.
See <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_ELEMENTS_VERTICES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the recommended maximum number of vertex array vertices.
See <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_EVAL_ORDER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum equation order supported by 1D and 2D
evaluators. The value must be at least 8.
See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of individual floating-point, integer, or boolean values that can be held
in uniform variable storage for a fragment shader. The value must be at least 64.
See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_LIGHTS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of lights. The value must be at least 8.
See <citerefentry><refentrytitle>glLight</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_LIST_NESTING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum recursion depth allowed during display-list
traversal. The value must be at least 64.
See <citerefentry><refentrytitle>glCallList</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_MODELVIEW_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum supported depth of the modelview matrix stack. The value must
be at least 32.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_NAME_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum supported depth of the selection name stack. The value must be at least 64.
See <citerefentry><refentrytitle>glPushName</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_PIXEL_MAP_TABLE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum supported size of a <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry> lookup table.
The value must be at least 32.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_PROJECTION_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the maximum supported depth of the projection
matrix stack. The value must be at least 2.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TEXTURE_COORDS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of texture coordinate sets available to vertex and fragment shaders.
The value must be at least 2.
See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry> and
<citerefentry><refentrytitle>glClientActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TEXTURE_IMAGE_UNITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the maximum supported texture image units that
can be used to access texture maps from the fragment shader.
The value must be at least 2.
See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TEXTURE_LOD_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum, absolute value of the texture level-of-detail bias. The
value must be at least 4.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TEXTURE_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value.
The value gives a rough estimate of the largest texture that
the GL can handle. The value must be at least 64.
If the GL version is 1.1 or greater, use
<constant>GL_PROXY_TEXTURE_1D</constant> or <constant>GL_PROXY_TEXTURE_2D</constant>
to determine if a texture is too large.
See <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TEXTURE_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum supported depth of the texture matrix stack. The value must be at least 2.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_TEXTURE_UNITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value indicating the number of conventional
texture units supported. Each conventional texture unit includes both a texture coordinate set
and a texture image unit. Conventional texture units may be used for fixed-function (non-shader)
rendering. The value must be at least 2. Additional texture coordinate sets and texture
image units may be accessed from vertex and fragment shaders.
See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry> and
<citerefentry><refentrytitle>glClientActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_VARYING_FLOATS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of interpolators available for processing varying variables used by
vertex and fragment shaders. This value represents the number of individual floating-point
values that can be interpolated; varying variables declared as vectors, matrices, and arrays
will all consume multiple interpolators. The value must be at least 32.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_VERTEX_ATTRIBS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of 4-component generic vertex attributes accessible to a vertex shader.
The value must be at least 16.
See <citerefentry><refentrytitle>glVertexAttrib</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the maximum supported texture image units that
can be used to access texture maps from the vertex shader. The value may be 0.
See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the maximum number of individual floating-point, integer, or boolean values that can be held
in uniform variable storage for a vertex shader. The value must be at least 512.
See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MAX_VIEWPORT_DIMS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glViewport</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MINMAX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether pixel minmax
values are computed. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glMinmax</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MODELVIEW_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns sixteen values:
the modelview matrix on the top of the modelview matrix stack. Initially
this matrix is the identity matrix.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_MODELVIEW_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of matrices on the modelview matrix stack.
The initial value is 1.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NAME_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of names on the selection name stack. The initial value is 0.
See <citerefentry><refentrytitle>glPushName</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NORMAL_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value, indicating whether the normal
array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NORMAL_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the normal array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NORMAL_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive normals in the normal
array. The initial value is 0.
See <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NORMAL_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the data type of each coordinate in the normal array. The initial value is
<constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NORMALIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glNormal</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single integer value indicating the number of available
compressed texture formats. The minimum value is 0.
See <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_ALIGNMENT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte alignment used for writing pixel data to memory. The initial
value is 4.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_IMAGE_HEIGHT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the image height used for writing pixel data to memory. The initial
value is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_LSB_FIRST</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_ROW_LENGTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the row length used for writing pixel data to memory. The initial value is
0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_SKIP_IMAGES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of pixel images skipped before the first pixel is written
into memory. The initial value is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_SKIP_PIXELS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of pixel locations skipped before the first pixel is written
into memory. The initial value is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_SKIP_ROWS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PACK_SWAP_BYTES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PERSPECTIVE_CORRECTION_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the perspective correction
hint. The initial value is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_A_TO_A_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the alpha-to-alpha pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_B_TO_B_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the blue-to-blue pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_G_TO_G_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the green-to-green pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_I_TO_A_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the index-to-alpha pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_I_TO_B_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the index-to-blue pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_I_TO_G_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the index-to-green pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_I_TO_I_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the index-to-index pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_I_TO_R_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the index-to-red pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_R_TO_R_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the red-to-red pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_MAP_S_TO_S_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size of the stencil-to-stencil pixel translation table.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_PACK_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_PIXEL_PACK_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PIXEL_UNPACK_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant>GL_PIXEL_UNPACK_BUFFER</constant>. If no buffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_DISTANCE_ATTENUATION</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns three values,
the coefficients for computing the attenuation value for points.
See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_FADE_THRESHOLD_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the point size threshold for determining the point size.
See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the point size as specified by <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>. The initial value is 1.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SIZE_GRANULARITY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the size difference between adjacent supported sizes for antialiased points.
See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SIZE_MAX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the upper bound for the attenuated point sizes. The initial value is 0.0.
See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SIZE_MIN</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the lower bound for the attenuated point sizes. The initial value is 1.0.
See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SIZE_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SMOOTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
points is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SMOOTH_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the point antialiasing
hint. The initial value is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POINT_SPRITE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether point sprite is
enabled. The initial value is <constant>GL_FALSE</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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
<constant>GL_FILL</constant>.
See <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_OFFSET_FACTOR</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_OFFSET_UNITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_OFFSET_FILL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether polygon offset
is enabled for polygons in fill mode. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_OFFSET_LINE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether polygon offset
is enabled for polygons in line mode. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_OFFSET_POINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether polygon offset
is enabled for polygons in point mode. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_SMOOTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
polygons is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_SMOOTH_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating the mode of the polygon antialiasing
hint. The initial value is <constant>GL_DONT_CARE</constant>.
See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POLYGON_STIPPLE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether polygon
stippling is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPolygonStipple</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_COLOR_TABLE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether post color
matrix transformation lookup is enabled.
The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glColorTable</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_RED_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the red bias factor applied to RGBA fragments
after color matrix transformations.
The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_GREEN_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the green bias factor applied to RGBA fragments
after color matrix transformations.
The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_BLUE_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the blue bias factor applied to RGBA fragments
after color matrix transformations.
The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_ALPHA_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the alpha bias factor applied to RGBA fragments
after color matrix transformations.
The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_RED_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the red scale factor applied to RGBA fragments
after color matrix transformations.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_GREEN_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the green scale factor applied to RGBA fragments
after color matrix transformations.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_BLUE_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the blue scale factor applied to RGBA fragments
after color matrix transformations.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_COLOR_MATRIX_ALPHA_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the alpha scale factor applied to RGBA fragments
after color matrix transformations.
The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_COLOR_TABLE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether post convolution
lookup is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glColorTable</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_RED_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the red bias factor applied to RGBA fragments
after convolution. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_GREEN_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the green bias factor applied to RGBA fragments
after convolution. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_BLUE_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the blue bias factor applied to RGBA fragments
after convolution. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_ALPHA_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the alpha bias factor applied to RGBA fragments
after convolution. The initial value is 0.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_RED_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the red scale factor applied to RGBA fragments
after convolution. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_GREEN_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the green scale factor applied to RGBA fragments
after convolution. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_BLUE_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the blue scale factor applied to RGBA fragments
after convolution. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_POST_CONVOLUTION_ALPHA_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the alpha scale factor applied to RGBA fragments
after convolution. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PROJECTION_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns sixteen values:
the projection matrix on the top of the projection matrix
stack. Initially this matrix is the identity matrix.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_PROJECTION_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of matrices on the projection matrix stack.
The initial value is 1.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_READ_BUFFER</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating which color buffer is selected for
reading. The initial value is <constant>GL_BACK</constant> if there is a back buffer,
otherwise it is <constant>GL_FRONT</constant>.
See
<citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glAccum</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RED_BIAS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the red bias factor used during pixel transfers. The initial value is 0.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RED_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of red bitplanes in each color buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RED_SCALE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the red scale factor used during pixel transfers. The initial value is 1.
See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RENDER_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating whether the GL is in render,
select,
or feedback mode. The initial value is <constant>GL_RENDER</constant>.
See <citerefentry><refentrytitle>glRenderMode</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RESCALE_NORMAL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns single boolean value
indicating whether normal rescaling is enabled.
See <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_RGBA_MODE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the GL is in RGBA
mode (true) or color index mode (false).
See <citerefentry><refentrytitle>glColor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SAMPLE_BUFFERS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single integer value indicating the number of sample buffers
associated with the framebuffer.
See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SAMPLE_COVERAGE_VALUE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single positive floating-point value indicating the
current sample coverage value.
See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SAMPLE_COVERAGE_INVERT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating if the temporary
coverage value should be inverted.
See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SAMPLES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single integer value indicating the coverage mask size.
See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SCISSOR_BOX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
and
<inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
window coordinates of the scissor box,
followed by its width and height.
Initially the
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
and
<inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
window coordinates are both 0 and the
width and height are set to the size of the window.
See <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SCISSOR_TEST</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether scissoring is
enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SECONDARY_COLOR_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the secondary color array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the secondary color array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SECONDARY_COLOR_ARRAY_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the number of components per color in the
secondary color array. The initial value is 3.
See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SECONDARY_COLOR_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the byte offset between consecutive colors in
the secondary color array. The initial value is 0.
See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SECONDARY_COLOR_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value, the data type of each component in the secondary
color array. The initial value is <constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SELECTION_BUFFER_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> return one value,
the size of the selection buffer.
See <citerefentry><refentrytitle>glSelectBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SEPARABLE_2D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 2D separable
convolution is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glSeparableFilter2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SHADE_MODEL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating whether the shading mode is flat or
smooth. The initial value is <constant>GL_SMOOTH</constant>.
See <citerefentry><refentrytitle>glShadeModel</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values,
the smallest and largest supported widths for antialiased lines.
See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the granularity of widths for antialiased lines.
See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SMOOTH_POINT_SIZE_RANGE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns two values,
the smallest and largest supported widths for antialiased points.
See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SMOOTH_POINT_SIZE_GRANULARITY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the granularity of sizes for antialiased points.
See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_FAIL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating what action is taken for back-facing polygons when the stencil
test fails. The initial value is <constant>GL_KEEP</constant>.
See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_FUNC</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating what function is used for back-facing polygons to compare the
stencil reference value with the stencil buffer value. The initial value
is <constant>GL_ALWAYS</constant>.
See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_PASS_DEPTH_FAIL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating what action is taken for back-facing polygons when the stencil
test passes,
but the depth test fails. The initial value is <constant>GL_KEEP</constant>.
See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_PASS_DEPTH_PASS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating what action is taken for back-facing polygons when the stencil
test passes and the depth test passes. The initial value is <constant>GL_KEEP</constant>.
See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_REF</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the reference value that is compared with the contents of the stencil
buffer for back-facing polygons. The initial value is 0.
See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_VALUE_MASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the mask that is used for back-facing polygons to mask both the stencil reference value and the
stencil buffer value before they are compared. The initial value is all 1's.
See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BACK_WRITEMASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the mask that controls writing of the stencil bitplanes for back-facing polygons. The initial value
is all 1's.
See <citerefentry><refentrytitle>glStencilMaskSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of bitplanes in the stencil buffer.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_CLEAR_VALUE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the index to which the stencil bitplanes are cleared. The initial value is
0.
See <citerefentry><refentrytitle>glClearStencil</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_FAIL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
a symbolic constant indicating what action is taken when the stencil
test fails. The initial value is <constant>GL_KEEP</constant>.
See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_FUNC</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_ALWAYS</constant>.
See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_PASS_DEPTH_FAIL</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_KEEP</constant>.
See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_PASS_DEPTH_PASS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_KEEP</constant>.
See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_REF</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the reference value that is compared with the contents of the stencil
buffer. The initial value is 0.
See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_TEST</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether stencil testing
of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_VALUE_MASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STENCIL_WRITEMASK</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the mask that controls writing of the stencil bitplanes. The initial value
is all 1's.
See <citerefentry><refentrytitle>glStencilMask</refentrytitle></citerefentry>.
If the GL version is 2.0 or greater, this stencil state only affects non-polygons
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry><refentrytitle>glStencilMaskSeparate</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_STEREO</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether stereo buffers
(left and right) are supported.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_SUBPIXEL_BITS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
an estimate of the number of bits of subpixel resolution that are used to
position rasterized geometry in window coordinates. The value must be at least 4.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_1D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 1D texture
mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_BINDING_1D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the texture
currently bound to the target <constant>GL_TEXTURE_1D</constant>. The initial value is 0.
See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_2D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 2D texture
mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_BINDING_2D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the texture
currently bound to the target <constant>GL_TEXTURE_2D</constant>. The initial value is 0.
See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_3D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether 3D texture
mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_BINDING_3D</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the texture
currently bound to the target <constant>GL_TEXTURE_3D</constant>. The initial value is 0.
See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_BINDING_CUBE_MAP</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the texture
currently bound to the target <constant>GL_TEXTURE_CUBE_MAP</constant>. The initial value is 0.
See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_COMPRESSION_HINT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value indicating the mode of the texture
compression hint. The initial value is <constant>GL_DONT_CARE</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_COORD_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the texture
coordinate array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the texture coordinate array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_COORD_ARRAY_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of coordinates per element in the texture coordinate
array. The initial value is 4.
See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_COORD_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive elements in the texture coordinate
array. The initial value is 0.
See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_COORD_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the data type of the coordinates in the texture coordinate
array. The initial value is <constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_CUBE_MAP</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether cube-mapped texture
mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_GEN_Q</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether automatic generation
of the <emphasis>q</emphasis> texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_GEN_R</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether automatic generation
of the <emphasis>r</emphasis> texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_GEN_S</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether automatic generation
of the <emphasis>S</emphasis> texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_GEN_T</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether automatic generation
of the T texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns sixteen values:
the texture matrix on the top of the texture matrix stack. Initially this
matrix is the identity matrix.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TEXTURE_STACK_DEPTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of matrices on the texture matrix stack.
The initial value is 1.
See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TRANSPOSE_COLOR_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns 16 values, the elements of the color matrix in row-major
order.
See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TRANSPOSE_MODELVIEW_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns 16 values, the elements of the modelview matrix in row-major
order.
See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TRANSPOSE_PROJECTION_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns 16 values, the elements of the projection matrix in row-major
order.
See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_TRANSPOSE_TEXTURE_MATRIX</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns 16 values, the elements of the texture matrix in row-major
order.
See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_ALIGNMENT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte alignment used for reading pixel data from memory. The initial
value is 4.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_IMAGE_HEIGHT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the image height used for reading pixel data from memory. The initial
is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_LSB_FIRST</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_ROW_LENGTH</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the row length used for reading pixel data from memory. The initial value
is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_SKIP_IMAGES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of pixel images skipped before the first pixel is read
from memory. The initial value is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_SKIP_PIXELS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of pixel locations skipped before the first pixel is read
from memory. The initial value is 0.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_SKIP_ROWS</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_UNPACK_SWAP_BYTES</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> 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 <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_ARRAY</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether the vertex
array is enabled. The initial value is <constant>GL_FALSE</constant>.
See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_ARRAY_BUFFER_BINDING</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single value, the name of the buffer object
associated with the vertex array. This buffer object would have been bound to the
target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
<citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
If no buffer object was bound to this target, 0 is returned. The initial value is 0.
See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_ARRAY_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the number of coordinates per vertex in the vertex array. The initial
value is 4.
See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_ARRAY_STRIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the byte offset between consecutive vertices in the vertex
array. The initial value is 0.
See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_ARRAY_TYPE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the data type of each coordinate in the vertex array. The initial value is
<constant>GL_FLOAT</constant>.
See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_PROGRAM_POINT_SIZE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether vertex
program point size mode is enabled. If enabled, and a vertex shader is active, then the
point size is taken from the shader built-in <code>gl_PointSize</code>. If disabled,
and a vertex shader is active, then the point size is taken from the point state as specified
by <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
The initial value is <constant>GL_FALSE</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VERTEX_PROGRAM_TWO_SIDE</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns a single boolean value indicating whether vertex
program two-sided color mode is enabled. If enabled, and a vertex shader is active, then the
GL chooses the back color output for back-facing polygons, and the front color output for
non-polygons and front-facing polygons. If disabled, and a vertex shader is active, then the
front color output is always selected. The initial value is <constant>GL_FALSE</constant>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_VIEWPORT</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns four values:
the
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
and
<inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
window coordinates of the viewport,
followed by its width and height.
Initially the
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
and
<inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
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 <citerefentry><refentrytitle>glViewport</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ZOOM_X</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the
<inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
pixel zoom factor. The initial value is 1.
See <citerefentry><refentrytitle>glPixelZoom</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>GL_ZOOM_Y</constant></term>
<listitem>
<para>
</para>
<para>
<parameter>params</parameter> returns one value,
the
<inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
pixel zoom factor. The initial value is 1.
See <citerefentry><refentrytitle>glPixelZoom</refentrytitle></citerefentry>.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Many of the boolean parameters can also be queried more easily using
<citerefentry><refentrytitle>glIsEnabled</refentrytitle></citerefentry>.
</para>
</refsect1>
<refsect1 id="notes"><title>Notes</title>
<para>
<constant>GL_COLOR_LOGIC_OP</constant>,
<constant>GL_COLOR_ARRAY</constant>,
<constant>GL_COLOR_ARRAY_SIZE</constant>,
<constant>GL_COLOR_ARRAY_STRIDE</constant>,
<constant>GL_COLOR_ARRAY_TYPE</constant>,
<constant>GL_EDGE_FLAG_ARRAY</constant>,
<constant>GL_EDGE_FLAG_ARRAY_STRIDE</constant>,
<constant>GL_INDEX_ARRAY</constant>,
<constant>GL_INDEX_ARRAY_STRIDE</constant>,
<constant>GL_INDEX_ARRAY_TYPE</constant>,
<constant>GL_INDEX_LOGIC_OP</constant>,
<constant>GL_NORMAL_ARRAY</constant>,
<constant>GL_NORMAL_ARRAY_STRIDE</constant>,
<constant>GL_NORMAL_ARRAY_TYPE</constant>,
<constant>GL_POLYGON_OFFSET_UNITS</constant>,
<constant>GL_POLYGON_OFFSET_FACTOR</constant>,
<constant>GL_POLYGON_OFFSET_FILL</constant>,
<constant>GL_POLYGON_OFFSET_LINE</constant>,
<constant>GL_POLYGON_OFFSET_POINT</constant>,
<constant>GL_TEXTURE_COORD_ARRAY</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_SIZE</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_STRIDE</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_TYPE</constant>,
<constant>GL_VERTEX_ARRAY</constant>,
<constant>GL_VERTEX_ARRAY_SIZE</constant>,
<constant>GL_VERTEX_ARRAY_STRIDE</constant>, and
<constant>GL_VERTEX_ARRAY_TYPE</constant>
are available only if the GL version is 1.1 or greater.
</para>
<para>
<constant>GL_ALIASED_POINT_SIZE_RANGE</constant>,
<constant>GL_FEEDBACK_BUFFER_SIZE</constant>,
<constant>GL_FEEDBACK_BUFFER_TYPE</constant>,
<constant>GL_LIGHT_MODEL_AMBIENT</constant>,
<constant>GL_LIGHT_MODEL_COLOR_CONTROL</constant>,
<constant>GL_MAX_3D_TEXTURE_SIZE</constant>,
<constant>GL_MAX_ELEMENTS_INDICES</constant>,
<constant>GL_MAX_ELEMENTS_VERTICES</constant>,
<constant>GL_PACK_IMAGE_HEIGHT</constant>,
<constant>GL_PACK_SKIP_IMAGES</constant>,
<constant>GL_RESCALE_NORMAL</constant>,
<constant>GL_SELECTION_BUFFER_SIZE</constant>,
<constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant>,
<constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant>,
<constant>GL_SMOOTH_POINT_SIZE_GRANULARITY</constant>,
<constant>GL_SMOOTH_POINT_SIZE_RANGE</constant>,
<constant>GL_TEXTURE_3D</constant>,
<constant>GL_TEXTURE_BINDING_3D</constant>,
<constant>GL_UNPACK_IMAGE_HEIGHT</constant>, and
<constant>GL_UNPACK_SKIP_IMAGES</constant>
are available only if the GL version is 1.2 or greater.
</para>
<para>
<constant>GL_COMPRESSED_TEXTURE_FORMATS</constant>,
<constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant>,
<constant>GL_TEXTURE_BINDING_CUBE_MAP</constant>, and
<constant>GL_TEXTURE_COMPRESSION_HINT</constant>
are available only if the GL version is 1.3 or greater.
</para>
<para>
<constant>GL_BLEND_DST_ALPHA</constant>,
<constant>GL_BLEND_DST_RGB</constant>,
<constant>GL_BLEND_SRC_ALPHA</constant>,
<constant>GL_BLEND_SRC_RGB</constant>,
<constant>GL_CURRENT_FOG_COORD</constant>,
<constant>GL_CURRENT_SECONDARY_COLOR</constant>,
<constant>GL_FOG_COORD_ARRAY_STRIDE</constant>,
<constant>GL_FOG_COORD_ARRAY_TYPE</constant>,
<constant>GL_FOG_COORD_SRC</constant>,
<constant>GL_MAX_TEXTURE_LOD_BIAS</constant>,
<constant>GL_POINT_SIZE_MIN</constant>,
<constant>GL_POINT_SIZE_MAX</constant>,
<constant>GL_POINT_FADE_THRESHOLD_SIZE</constant>,
<constant>GL_POINT_DISTANCE_ATTENUATION</constant>,
<constant>GL_SECONDARY_COLOR_ARRAY_SIZE</constant>,
<constant>GL_SECONDARY_COLOR_ARRAY_STRIDE</constant>, and
<constant>GL_SECONDARY_COLOR_ARRAY_TYPE</constant>
are available only if the GL version is 1.4 or greater.
</para>
<para>
<constant>GL_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_COLOR_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_EDGE_FLAG_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_ELEMENT_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_FOG_COORD_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_INDEX_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_NORMAL_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</constant>, and
<constant>GL_VERTEX_ARRAY_BUFFER_BINDING</constant>
are available only if the GL version is 1.5 or greater.
</para>
<para>
<constant>GL_BLEND_EQUATION_ALPHA</constant>,
<constant>GL_BLEND_EQUATION_RGB</constant>,
<constant>GL_DRAW_BUFFER</constant><emphasis>i</emphasis>,
<constant>GL_FRAGMENT_SHADER_DERIVATIVE_HINT</constant>,
<constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant>,
<constant>GL_MAX_DRAW_BUFFERS</constant>,
<constant>GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant>,
<constant>GL_MAX_TEXTURE_COORDS</constant>,
<constant>GL_MAX_TEXTURE_IMAGE_UNITS</constant>,
<constant>GL_MAX_VARYING_FLOATS</constant>,
<constant>GL_MAX_VERTEX_ATTRIBS</constant>,
<constant>GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</constant>,
<constant>GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant>,
<constant>GL_POINT_SPRITE</constant>,
<constant>GL_STENCIL_BACK_FAIL</constant>,
<constant>GL_STENCIL_BACK_FUNC</constant>,
<constant>GL_STENCIL_BACK_PASS_DEPTH_FAIL</constant>,
<constant>GL_STENCIL_BACK_PASS_DEPTH_PASS</constant>,
<constant>GL_STENCIL_BACK_REF</constant>,
<constant>GL_STENCIL_BACK_VALUE_MASK</constant>,
<constant>GL_STENCIL_BACK_WRITEMASK</constant>,
<constant>GL_VERTEX_PROGRAM_POINT_SIZE</constant>, and
<constant>GL_VERTEX_PROGRAM_TWO_SIDE</constant>
are available only if the GL version is 2.0 or greater.
</para>
<para>
<constant>GL_CURRENT_RASTER_SECONDARY_COLOR</constant>,
<constant>GL_PIXEL_PACK_BUFFER_BINDING</constant> and
<constant>GL_PIXEL_UNPACK_BUFFER_BINDING</constant>
are available only if the GL version is 2.1 or greater.
</para>
<para>
<constant>GL_LINE_WIDTH_GRANULARITY</constant> was deprecated in GL version 1.2. Its
functionality was replaced by <constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant>.
</para>
<para>
<constant>GL_LINE_WIDTH_RANGE</constant> was deprecated in GL version 1.2. Its
functionality was replaced by <constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant>.
</para>
<para>
<constant>GL_POINT_SIZE_GRANULARITY</constant> was deprecated in GL version 1.2. Its
functionality was replaced by <constant>GL_SMOOTH_POINT_SIZE_GRANULARITY</constant>.
</para>
<para>
<constant>GL_POINT_SIZE_RANGE</constant> was deprecated in GL version 1.2. Its
functionality was replaced by <constant>GL_SMOOTH_POINT_SIZE_RANGE</constant>.
</para>
<para>
<constant>GL_BLEND_EQUATION</constant> was deprecated in GL version 2.0. Its
functionality was replaced by <constant>GL_BLEND_EQUATION_RGB</constant> and
<constant>GL_BLEND_EQUATION_ALPHA</constant>.
</para>
<para>
<constant>GL_COLOR_MATRIX</constant>,
<constant>GL_COLOR_MATRIX_STACK_DEPTH</constant>,
<constant>GL_COLOR_TABLE</constant>,
<constant>GL_CONVOLUTION_1D</constant>,
<constant>GL_CONVOLUTION_2D</constant>,
<constant>GL_HISTOGRAM</constant>,
<constant>GL_MAX_COLOR_MATRIX_STACK_DEPTH</constant>,
<constant>GL_MINMAX</constant>,
<constant>GL_POST_COLOR_MATRIX_COLOR_TABLE</constant>,
<constant>GL_POST_COLOR_MATRIX_RED_BIAS</constant>,
<constant>GL_POST_COLOR_MATRIX_GREEN_BIAS</constant>,
<constant>GL_POST_COLOR_MATRIX_BLUE_BIAS</constant>,
<constant>GL_POST_COLOR_MATRIX_ALPHA_BIAS</constant>,
<constant>GL_POST_COLOR_MATRIX_RED_SCALE</constant>,
<constant>GL_POST_COLOR_MATRIX_GREEN_SCALE</constant>,
<constant>GL_POST_COLOR_MATRIX_BLUE_SCALE</constant>,
<constant>GL_POST_COLOR_MATRIX_ALPHA_SCALE</constant>,
<constant>GL_POST_CONVOLUTION_COLOR_TABLE</constant>,
<constant>GL_POST_CONVOLUTION_RED_BIAS</constant>,
<constant>GL_POST_CONVOLUTION_GREEN_BIAS</constant>,
<constant>GL_POST_CONVOLUTION_BLUE_BIAS</constant>,
<constant>GL_POST_CONVOLUTION_ALPHA_BIAS</constant>,
<constant>GL_POST_CONVOLUTION_RED_SCALE</constant>,
<constant>GL_POST_CONVOLUTION_GREEN_SCALE</constant>,
<constant>GL_POST_CONVOLUTION_BLUE_SCALE</constant>,
<constant>GL_POST_CONVOLUTION_ALPHA_SCALE</constant>, and
<constant>GL_SEPARABLE_2D</constant>
are available only if <code>ARB_imaging</code> is returned from <function>glGet</function>
when called with the argument <constant>GL_EXTENSIONS</constant>.
</para>
<para>
When the <code>ARB_multitexture</code> extension is supported, or the GL version
is 1.3 or greater, the following
parameters return the associated value for the active texture unit:
<constant>GL_CURRENT_RASTER_TEXTURE_COORDS</constant>,
<constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_BINDING_1D</constant>,
<constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_BINDING_2D</constant>,
<constant>GL_TEXTURE_3D</constant>, <constant>GL_TEXTURE_BINDING_3D</constant>,
<constant>GL_TEXTURE_GEN_S</constant>,
<constant>GL_TEXTURE_GEN_T</constant>,
<constant>GL_TEXTURE_GEN_R</constant>,
<constant>GL_TEXTURE_GEN_Q</constant>,
<constant>GL_TEXTURE_MATRIX</constant>, and
<constant>GL_TEXTURE_STACK_DEPTH</constant>.
Likewise, the following parameters return the associated value for the
active client texture unit:
<constant>GL_TEXTURE_COORD_ARRAY</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_SIZE</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_STRIDE</constant>,
<constant>GL_TEXTURE_COORD_ARRAY_TYPE</constant>.
</para>
</refsect1>
<refsect1 id="errors"><title>Errors</title>
<para>
<constant>GL_INVALID_ENUM</constant> is generated if <parameter>pname</parameter> is not an accepted value.
</para>
<para>
<constant>GL_INVALID_OPERATION</constant> is generated if <function>glGet</function>
is executed between the execution of <citerefentry><refentrytitle>glBegin</refentrytitle></citerefentry>
and the corresponding execution of <citerefentry><refentrytitle>glEnd</refentrytitle></citerefentry>.
</para>
<para>
</para>
</refsect1>
<refsect1 id="seealso"><title>See Also</title>
<para>
<citerefentry><refentrytitle>glGetActiveAttrib</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetActiveUniform</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetAttribLocation</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetBufferParameteriv</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetBufferPointerv</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetBufferSubData</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetClipPlane</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetColorTable</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetColorTableParameter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetCompressedTexImage</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetConvolutionFilter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetConvolutionParameter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetError</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetHistogram</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetHistogramParameter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetLight</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetMap</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetMaterial</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetMinmax</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetMinmaxParameter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetPixelMap</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetPointerv</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetPolygonStipple</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetProgramInfoLog</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetQueryiv</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetQueryObject</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetSeparableFilter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetShader</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetShaderSource</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetString</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetTexEnv</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetTexGen</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetTexImage</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetTexParameter</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetUniform</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetUniformLocation</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetVertexAttrib</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glGetVertexAttribPointerv</refentrytitle></citerefentry>,
<citerefentry><refentrytitle>glIsEnabled</refentrytitle></citerefentry>
</para>
</refsect1>
<refsect1 id="Copyright"><title>Copyright</title>
<para>
Copyright <trademark class="copyright"></trademark> 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
<ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
</para>
</refsect1>
</refentry>