2014-03-28 19:06:55 +00:00
<!DOCTYPE refentry [ <!ENTITY % mathent SYSTEM "math.ent"> %mathent; ]>
<!-- Converted by db4 - upgrade version 1.1 -->
<refentry xmlns= "http://docbook.org/ns/docbook" version= "5.0" xml:id= "glGet" >
<info >
2013-11-03 11:43:50 +00:00
<copyright >
<year > 1991-2006</year>
<holder > Silicon Graphics, Inc.</holder>
</copyright>
<copyright >
2014-03-28 19:06:55 +00:00
<year > 2010-2014</year>
2013-11-03 11:43:50 +00:00
<holder > Khronos Group</holder>
</copyright>
2014-03-28 19:06:55 +00:00
</info>
2009-03-08 00:46:58 +00:00
<refmeta >
<refentrytitle > glGet</refentrytitle>
<manvolnum > 3G</manvolnum>
</refmeta>
<refnamediv >
<refname > glGet</refname>
<refpurpose > return the value or values of a selected parameter</refpurpose>
</refnamediv>
2014-03-28 19:06:55 +00:00
<refsynopsisdiv >
<title > C Specification</title>
2009-03-08 00:46:58 +00:00
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetBooleanv</function> </funcdef>
<paramdef > GLenum <parameter > pname</parameter> </paramdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLboolean * <parameter > data</parameter> </paramdef>
2009-03-08 00:46:58 +00:00
</funcprototype>
</funcsynopsis>
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetFloatv</function> </funcdef>
<paramdef > GLenum <parameter > pname</parameter> </paramdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLfloat * <parameter > data</parameter> </paramdef>
2009-03-08 00:46:58 +00:00
</funcprototype>
</funcsynopsis>
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetIntegerv</function> </funcdef>
<paramdef > GLenum <parameter > pname</parameter> </paramdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLint * <parameter > data</parameter> </paramdef>
2009-03-08 00:46:58 +00:00
</funcprototype>
</funcsynopsis>
2010-11-21 14:34:29 +00:00
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetInteger64v</function> </funcdef>
<paramdef > GLenum <parameter > pname</parameter> </paramdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLint64 * <parameter > data</parameter> </paramdef>
2010-11-21 14:34:29 +00:00
</funcprototype>
</funcsynopsis>
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetBooleani_v</function> </funcdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLenum <parameter > target</parameter> </paramdef>
2010-11-21 14:34:29 +00:00
<paramdef > GLuint <parameter > index</parameter> </paramdef>
<paramdef > GLboolean * <parameter > data</parameter> </paramdef>
</funcprototype>
</funcsynopsis>
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetIntegeri_v</function> </funcdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLenum <parameter > target</parameter> </paramdef>
2010-11-21 14:34:29 +00:00
<paramdef > GLuint <parameter > index</parameter> </paramdef>
<paramdef > GLint * <parameter > data</parameter> </paramdef>
</funcprototype>
</funcsynopsis>
<funcsynopsis >
<funcprototype >
<funcdef > void <function > glGetInteger64i_v</function> </funcdef>
2013-11-03 11:43:50 +00:00
<paramdef > GLenum <parameter > target</parameter> </paramdef>
2010-11-21 14:34:29 +00:00
<paramdef > GLuint <parameter > index</parameter> </paramdef>
<paramdef > GLint64 * <parameter > data</parameter> </paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
2014-03-28 19:06:55 +00:00
<refsect1 xml:id= "parameters" > <title > Parameters</title>
2010-11-21 14:34:29 +00:00
<variablelist >
<varlistentry >
<term > <parameter > pname</parameter> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
Specifies the parameter value to be returned.
2013-11-03 11:43:50 +00:00
The symbolic constants in the list below are accepted.
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <parameter > target</parameter> </term>
<listitem >
<para >
Specifies the parameter value to be returned
for indexed versions of <function > glGet</function> .
2010-11-21 14:34:29 +00:00
The symbolic constants in the list below are accepted.
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <parameter > index</parameter> </term>
<listitem >
<para >
Specifies the index of the particular element being queried.
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <parameter > data</parameter> </term>
<listitem >
<para >
Returns the value or values of the specified parameter.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
2014-03-28 19:06:55 +00:00
<refsect1 xml:id= "description" > <title > Description</title>
2009-03-08 00:46:58 +00:00
<para >
2013-11-03 11:43:50 +00:00
These commands return values for simple state variables in GL.
2009-03-08 00:46:58 +00:00
<parameter > pname</parameter> is a symbolic constant indicating the state variable to be returned,
2014-03-28 19:06:55 +00:00
and <parameter > params</parameter> is a pointer to an array of the indicated type in
2009-03-08 00:46:58 +00:00
which to place the returned data.
</para>
<para >
2014-03-28 19:06:55 +00:00
Type conversion is performed if <parameter > params</parameter> has a different type than
2009-03-08 00:46:58 +00:00
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
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" >
2010-11-21 14:34:29 +00:00
<!-- eqn: - 1.0: -->
2009-03-08 00:46:58 +00:00
<mml:mn > -1.0</mml:mn>
</mml:math> </inlineequation>
to the most negative representable integer value.
2014-03-28 19:06:55 +00:00
If <function > glGetFloatv</function> is called,
2009-03-08 00:46:58 +00:00
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_ACTIVE_TEXTURE</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value indicating the active multitexture unit.
2009-03-08 00:46:58 +00:00
The initial value is <constant > GL_TEXTURE0</constant> .
See <citerefentry > <refentrytitle > glActiveTexture</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_ALIASED_LINE_WIDTH_RANGE</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a pair of values indicating the range of
2010-11-21 14:34:29 +00:00
widths supported for aliased lines. See <citerefentry > <refentrytitle > glLineWidth</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_ALIASED_POINT_SIZE_RANGE</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns two values:
the smallest and largest supported sizes for
points. The smallest size must be at most 1, and the largest size must
be at least 1.
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_ALPHA_BITS</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns one value,
the number of alpha bitplanes in the color buffer of the
currently bound draw framebuffer. This is defined only if all color attachments
of the draw framebuffer have identical formats, in which case the number of alpha bits
of color attachment zero are returned.
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_ARRAY_BUFFER_BINDING</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2009-03-08 00:46:58 +00:00
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>
2014-03-28 19:06:55 +00:00
<varlistentry >
2009-03-08 00:46:58 +00:00
<term > <constant > GL_BLEND</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether blending is
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns four values,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_BLEND_EQUATION_ALPHA</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> ,
2009-03-08 00:46:58 +00:00
<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 >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_BLEND_EQUATION_RGB</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> ,
2009-03-08 00:46:58 +00:00
<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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_BLUE_BITS</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns one value,
the number of blue bitplanes in the color buffer of the
currently bound draw framebuffer. This is defined only if all color attachments
of the draw framebuffer have identical formats, in which case the number of blue bits
of color attachment zero are returned.
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_COLOR_CLEAR_VALUE</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns four values:
2009-03-08 00:46:58 +00:00
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,
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" >
2010-11-21 14:34:29 +00:00
<!-- eqn: - 1.0: -->
2009-03-08 00:46:58 +00:00
<mml:mn > -1.0</mml:mn>
</mml:math> </inlineequation>
2010-11-21 14:34:29 +00:00
returns the most negative representable integer
value. The initial value is (0, 0, 0, 0).
See <citerefentry > <refentrytitle > glClearColor</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_COLOR_WRITEMASK</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns four boolean values:
2010-11-21 14:34:29 +00:00
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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_COMPRESSED_TEXTURE_FORMATS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a list of symbolic
2013-11-03 11:43:50 +00:00
constants of length <constant > GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant>
2010-11-21 14:34:29 +00:00
indicating which compressed texture formats are available.
See <citerefentry > <refentrytitle > glCompressedTexImage2D</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_COPY_READ_BUFFER_BINDING</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant > GL_COPY_READ_BUFFER</constant> . If no buffer object
2013-10-23 18:17:08 +00:00
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry > <refentrytitle > glBindBuffer</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_COPY_WRITE_BUFFER_BINDING</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant > GL_COPY_WRITE_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> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_CULL_FACE</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_CULL_FACE_MODE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value indicating the mode of polygon culling.
The initial value is <constant > GL_BACK</constant> .
See <citerefentry > <refentrytitle > glCullFace</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_CURRENT_PROGRAM</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_DEPTH_BITS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number of bitplanes in the depth buffer of the
currently bound framebuffer.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_DEPTH_CLEAR_VALUE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
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,
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" >
2010-11-21 14:34:29 +00:00
<!-- eqn: - 1.0: -->
<mml:mn > -1.0</mml:mn>
</mml:math> </inlineequation>
returns the most negative representable integer
value. The initial value is 1.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glClearDepthf</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_DEPTH_FUNC</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
the symbolic constant that indicates the depth comparison
function. The initial value is <constant > GL_LESS</constant> .
See <citerefentry > <refentrytitle > glDepthFunc</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_DEPTH_RANGE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns two values:
2010-11-21 14:34:29 +00:00
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,
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" >
2010-11-21 14:34:29 +00:00
<!-- 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).
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glDepthRangef</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_DEPTH_TEST</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether depth testing
2010-11-21 14:34:29 +00:00
of fragments is enabled. The initial value is <constant > GL_FALSE</constant> .
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glDepthFunc</refentrytitle> </citerefentry> and <citerefentry > <refentrytitle > glDepthRangef</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_DEPTH_WRITEMASK</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating if the depth buffer
2010-11-21 14:34:29 +00:00
is enabled for writing. The initial value is <constant > GL_TRUE</constant> .
See <citerefentry > <refentrytitle > glDepthMask</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_DISPATCH_INDIRECT_BUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
currently bound to the target <constant > GL_DISPATCH_INDIRECT_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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_DITHER</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_DRAW_BUFFER</constant> <emphasis > i</emphasis> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
a symbolic constant indicating which buffers are being drawn to by the corresponding output color.
2013-11-03 11:43:50 +00:00
See <citerefentry > <refentrytitle > glDrawBuffers</refentrytitle> </citerefentry> .
2014-03-28 19:06:55 +00:00
The initial value of <constant > GL_DRAW_BUFFER0</constant> is <constant > GL_BACK</constant> . The
2010-11-21 14:34:29 +00:00
initial values of draw buffers for all other output colors is <constant > GL_NONE</constant> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2013-10-23 18:17:08 +00:00
<term > <constant > GL_DRAW_FRAMEBUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
the name of the framebuffer object currently bound to the <constant > GL_DRAW_FRAMEBUFFER</constant> target.
If the default framebuffer is bound, this value will be zero. The initial value is zero.
See <citerefentry > <refentrytitle > glBindFramebuffer</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_ELEMENT_ARRAY_BUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2010-11-21 14:34:29 +00:00
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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_FRAGMENT_SHADER_DERIVATIVE_HINT</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2013-11-03 11:43:50 +00:00
a symbolic constant indicating the mode of the derivative accuracy hint
2010-11-21 14:34:29 +00:00
for fragment shaders. The initial value
is <constant > GL_DONT_CARE</constant> .
See <citerefentry > <refentrytitle > glHint</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_FRONT_FACE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value indicating the winding order
of polygon front faces.
The initial value is <constant > GL_CCW</constant> .
See <citerefentry > <refentrytitle > glFrontFace</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_GENERATE_MIPMAP_HINT</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
a symbolic constant indicating the mode of the generate mipmap quality hint.
The initial value is
<constant > GL_DONT_CARE</constant> . See
<citerefentry > <refentrytitle > glHint</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_GREEN_BITS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number of green bitplanes in the color buffer of the
currently bound draw framebuffer. This is defined only if all color attachments
of the draw framebuffer have identical formats, in which case the number of green bits
of color attachment zero are returned.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_IMAGE_BINDING_LAYERED</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
corresponding to whether the image bound to the indexed image unit is layered or not.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_IMPLEMENTATION_COLOR_READ_FORMAT</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the format
chosen by the implementation in which pixels may be read from the
color buffer of the currently bound framebuffer in conjunction with
<constant > GL_IMPLEMENTATION_COLOR_READ_TYPE</constant> .
See <citerefentry > <refentrytitle > glReadPixels</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_IMPLEMENTATION_COLOR_READ_TYPE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the type
chosen by the implementation with which pixels may be read from the
color buffer of the currently bound framebuffer in conjunction with
<constant > GL_IMPLEMENTATION_COLOR_READ_FORMAT</constant> .
See <citerefentry > <refentrytitle > glReadPixels</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_LINE_WIDTH</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the line width as specified with <citerefentry > <refentrytitle > glLineWidth</refentrytitle> </citerefentry> . The initial value is
1.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAJOR_VERSION</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the major version number of the OpenGL ES API supported by the current context.
This must be 3.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_3D_TEXTURE_SIZE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
a rough estimate of the largest 3D texture that the GL can handle.
2014-03-28 19:06:55 +00:00
The value must be at least 256. See <citerefentry > <refentrytitle > glTexImage3D</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_ARRAY_TEXTURE_LAYERS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value.
2010-11-21 14:34:29 +00:00
The value indicates the maximum number of layers allowed in an array texture, and must be at least 256.
See <citerefentry > <refentrytitle > glTexImage2D</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COLOR_ATTACHMENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the maximum number
of color attachment points in a framebuffer object.
The value must be at least 4.
See <citerefentry > <refentrytitle > glFramebufferRenderbuffer</refentrytitle> </citerefentry>
and <citerefentry > <refentrytitle > glFramebufferTexture2D</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_COLOR_TEXTURE_SAMPLES</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
the maximum number of samples in a color multisample texture.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
<term > <constant > GL_MAX_COMBINED_ATOMIC_COUNTERS</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the maximum number of atomic counters available to all active shaders.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number of words for compute shader uniform variables in all uniform
2010-11-21 14:34:29 +00:00
blocks (including default). The value must be at least 1.
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number of words for fragment shader uniform variables in all uniform
blocks (including default). The value must be at least
<constant > GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant> +
<constant > GL_MAX_UNIFORM_BLOCK_SIZE</constant> * <constant > GL_MAX_FRAGMENT_UNIFORM_BLOCKS</constant> / 4.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns one value,
the maximum total number of active shader storage blocks that may be accessed by all active shaders.
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the maximum supported texture image units that
2013-11-03 11:43:50 +00:00
can be used to access texture maps from the vertex shader and the fragment processor combined.
2010-11-21 14:34:29 +00:00
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.
2014-03-28 19:06:55 +00:00
The value must be at least 32.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glActiveTexture</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_COMBINED_UNIFORM_BLOCKS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of uniform blocks per program. The value must be at least 24.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glUniformBlockBinding</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
the number of words for vertex shader uniform variables in all uniform
2014-03-28 19:06:55 +00:00
blocks (including default). The value must be at least .
<constant > GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant> +
<constant > GL_MAX_UNIFORM_BLOCK_SIZE</constant> * <constant > GL_MAX_VERTEX_UNIFORM_BLOCKS</constant> / 4.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_ATOMIC_COUNTERS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the maximum number of atomic counters available to compute shaders.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the maximum number of atomic counter buffers that may be accessed by a compute shader.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of active shader storage blocks that may be accessed by a compute shader.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the maximum supported texture image units that
can be used to access texture maps from the compute shader. The value may be at least 16.
See <citerefentry > <refentrytitle > glActiveTexture</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_UNIFORM_BLOCKS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of uniform blocks per compute shader. The value must be at least 14.
See <citerefentry > <refentrytitle > glUniformBlockBinding</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_UNIFORM_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 compute shader. The value must be at least 1024.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number of invocations in a single local work group
(i.e., the product of the three dimensions) that may
be dispatched to a compute shader.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_WORK_GROUP_COUNT</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
Accepted by the indexed versions of <function > glGet</function> .
<parameter > params</parameter> the maximum number of work
groups that may be dispatched to a compute shader. Indices
0, 1, and 2 correspond to the X, Y and Z dimensions, respectively.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_COMPUTE_WORK_GROUP_SIZE</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
Accepted by the indexed versions of <function > glGet</function> .
<parameter > params</parameter> the maximum size of a work
groups that may be used during compilation of a compute shader. Indices
0, 1, and 2 correspond to the X, Y and Z dimensions, respectively.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_CUBE_MAP_TEXTURE_SIZE</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 2048.
See <citerefentry > <refentrytitle > glTexImage2D</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_DRAW_BUFFERS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the maximum number
of simultaneous outputs that may be written in a fragment shader.
The value must be at least 4.
See <citerefentry > <refentrytitle > glDrawBuffers</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_ELEMENT_INDEX</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum index supported by the implementation.
The value must be at least
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" >
<!-- eqn: 2 sup 24 - 1: -->
<mml:mrow >
<mml:msup >
<mml:mn > 2</mml:mn>
<mml:mn > 24</mml:mn>
</mml:msup>
<mml:mo > -</mml:mo>
<mml:mn > 1</mml:mn>
</mml:mrow>
</mml:math> </inlineequation> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_ELEMENTS_INDICES</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the recommended maximum number of vertex array indices.
See <citerefentry > <refentrytitle > glDrawRangeElements</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_ELEMENTS_VERTICES</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the recommended maximum number of vertex array vertices.
See <citerefentry > <refentrytitle > glDrawRangeElements</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAGMENT_ATOMIC_COUNTERS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the maximum number of atomic counters available to fragment shaders.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAGMENT_INPUT_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of components of the inputs read by the fragment shader, which must be at least 60.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of active shader storage blocks that may be accessed by a fragment shader.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAGMENT_UNIFORM_BLOCKS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of uniform blocks per fragment shader. The value must be at least 12.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glUniformBlockBinding</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2013-11-03 11:43:50 +00:00
the maximum number of individual floating-point, integer, or boolean values that can be held
2014-03-28 19:06:55 +00:00
in uniform variable storage for a fragment shader. The value must be at least 896.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAGMENT_UNIFORM_VECTORS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of vector floating-point, integer, or boolean values that can be held
in uniform variable storage for a fragment shader. The value must be at least 224.
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAMEBUFFER_HEIGHT</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum height for a framebuffer that has no attachments, which must be at least 16384.
See <citerefentry > <refentrytitle > glFramebufferParameteri</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAMEBUFFER_SAMPLES</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum samples in a framebuffer that has no attachments, which must be at least 4.
See <citerefentry > <refentrytitle > glFramebufferParameteri</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_FRAMEBUFFER_WIDTH</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum width for a framebuffer that has no attachments, which must be at least 16384.
See <citerefentry > <refentrytitle > glFramebufferParameteri</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_INTEGER_SAMPLES</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of samples supported in integer format multisample buffers.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_PROGRAM_TEXEL_OFFSET</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum texel offset allowed in a texture lookup, which must be at least 7.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_RENDERBUFFER_SIZE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value.
The value indicates the maximum supported size for renderbuffers and must be at least 2048.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glFramebufferRenderbuffer</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_SAMPLE_MASK_WORDS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
the maximum number of sample mask words.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_SAMPLES</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value.
The value indicates the maximum supported number of samples for multisampling.
The value must be at least 4.
See <citerefentry > <refentrytitle > glGetInternalformativ</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_SERVER_WAIT_TIMEOUT</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum <citerefentry > <refentrytitle > glWaitSync</refentrytitle> </citerefentry> timeout interval.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of shader storage buffer binding points on the context, which must be at least 8.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_TEXTURE_IMAGE_UNITS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 16.
See <citerefentry > <refentrytitle > glActiveTexture</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_TEXTURE_LOD_BIAS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum, absolute value of the texture level-of-detail bias. The
value must be at least 2.0.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_TEXTURE_SIZE</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 2048.
See <citerefentry > <refentrytitle > glTexImage2D</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of components which can be written to a single transform feedback buffer in
interleaved mode. The value must be at least 64.
See <citerefentry > <refentrytitle > glTransformFeedbackVaryings</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum separate attributes or outputs which can be captured in separate
transform feedback mode. The value must be at least 4.
See <citerefentry > <refentrytitle > glTransformFeedbackVaryings</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of components which can be written per attribute or output in separate
transform feedback mode. The value must be at least 4.
See <citerefentry > <refentrytitle > glTransformFeedbackVaryings</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_UNIFORM_BLOCK_SIZE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum size in basic machine units of a uniform block.
The value must be at least 16384.
See <citerefentry > <refentrytitle > glUniformBlockBinding</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_UNIFORM_BUFFER_BINDINGS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of uniform buffer binding points on the context, which must be at least 24.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_UNIFORM_LOCATIONS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of explicitly assignable uniform locations, which must be at least 1024.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VARYING_COMPONENTS</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number components for varying variables, which must be at least 60.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VARYING_VECTORS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 vector
values that can be interpolated; varying variables declared as matrices and arrays
will consume multiple interpolators. The value must be at least 15.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_ATOMIC_COUNTERS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the maximum number of atomic counters available to vertex shaders.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_ATTRIB_BINDINGS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value containing the maximum number of vertex buffers that may be bound.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value containing the maximum offset that may be added to a vertex binding
offset.
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_VERTEX_ATTRIBS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2013-11-03 11:43:50 +00:00
the maximum number of 4-component generic vertex attributes accessible to a vertex shader.
2010-11-21 14:34:29 +00:00
The value must be at least 16.
See <citerefentry > <refentrytitle > glVertexAttrib</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
<term > <constant > GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2013-10-23 18:17:08 +00:00
the maximum number of active shader storage blocks that may be accessed by a vertex shader.
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value, the maximum supported texture image units that
2010-11-21 14:34:29 +00:00
can be used to access texture maps from the vertex shader. The value may be at least 16.
See <citerefentry > <refentrytitle > glActiveTexture</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_OUTPUT_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of components of output written by a vertex shader, which must be at least 64.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_UNIFORM_BLOCKS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of uniform blocks per vertex shader. The value must be at least 12.
See <citerefentry > <refentrytitle > glUniformBlockBinding</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 1024.
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MAX_VERTEX_UNIFORM_VECTORS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the maximum number of vector floating-point, integer, or boolean values that can be held
in uniform variable storage for a vertex shader. The value must be at least 256.
See <citerefentry > <refentrytitle > glUniform</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MAX_VIEWPORT_DIMS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns two values:
2010-11-21 14:34:29 +00:00
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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_MIN_PROGRAM_TEXEL_OFFSET</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the minimum texel offset allowed in a texture lookup, which must be at most -8.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_MINOR_VERSION</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the minor version number of the OpenGL ES API supported by the current context.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value indicating the number of available
compressed texture formats. The minimum value is 10.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glCompressedTexImage2D</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_NUM_EXTENSIONS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
the number of extensions supported by the GL implementation for the current context.
See <citerefentry > <refentrytitle > glGetString</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_NUM_PROGRAM_BINARY_FORMATS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value indicating the number of available
program binary formats. The minimum value is 0.
See <citerefentry > <refentrytitle > glProgramBinary</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_NUM_SHADER_BINARY_FORMATS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value indicating the number of available
shader binary formats. The minimum value is 0.
See <citerefentry > <refentrytitle > glShaderBinary</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PACK_ALIGNMENT</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the byte alignment used for writing pixel data to memory. The initial
value is 4.
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PACK_ROW_LENGTH</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the row length used for writing pixel data to memory. The initial value is
0.
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PACK_SKIP_PIXELS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PACK_SKIP_ROWS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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 > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PIXEL_PACK_BUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PIXEL_UNPACK_BUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_POLYGON_OFFSET_FACTOR</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2010-11-21 14:34:29 +00:00
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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_POLYGON_OFFSET_FILL</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns a single boolean value indicating whether polygon offset
is enabled for polygons. The initial value is <constant > GL_FALSE</constant> .
See <citerefentry > <refentrytitle > glPolygonOffset</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_POLYGON_OFFSET_UNITS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value.
2010-11-21 14:34:29 +00:00
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> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PRIMITIVE_RESTART_FIXED_INDEX</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether primitive restart
with a fixed index is enabled. The initial value is <constant > GL_FALSE</constant> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PROGRAM_BINARY_FORMATS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a list of symbolic
constants of length <constant > GL_NUM_PROGRAM_BINARY_FORMATS</constant>
indicating which program binary formats are available.
See <citerefentry > <refentrytitle > glProgramBinary</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_PROGRAM_PIPELINE_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> a single value, the name of the currently bound program pipeline
object, or zero if no program pipeline object is bound.
See <citerefentry > <refentrytitle > glBindProgramPipeline</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_READ_BUFFER</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<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> .
See
<citerefentry > <refentrytitle > glReadPixels</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_READ_FRAMEBUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the name of the framebuffer object currently bound to the <constant > GL_READ_FRAMEBUFFER</constant> target.
If the default framebuffer is bound, this value will be zero. The initial value is zero.
See <citerefentry > <refentrytitle > glBindFramebuffer</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_RED_BITS</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
the number of red bitplanes in the color buffer of the
currently bound draw framebuffer. This is defined only if all color attachments
of the draw framebuffer have identical formats, in which case the number of red bits
of color attachment zero are returned.
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_RENDERBUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the renderbuffer object
2010-11-21 14:34:29 +00:00
currently bound to the target <constant > GL_RENDERBUFFER</constant> . If no renderbuffer object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry > <refentrytitle > glBindRenderbuffer</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_SAMPLE_ALPHA_TO_COVERAGE</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns a single boolean value indicating whether modification
of sample coverage based on alpha is
enabled. The initial value is <constant > GL_FALSE</constant> .
See <citerefentry > <refentrytitle > glSampleCoverage</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_SAMPLE_BUFFERS</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value indicating the number of sample buffers
2009-03-08 00:46:58 +00:00
associated with the framebuffer.
See <citerefentry > <refentrytitle > glSampleCoverage</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_SAMPLE_COVERAGE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether modification
of sample coverage based on the value specified by
<citerefentry > <refentrytitle > glSampleCoverage</refentrytitle> </citerefentry> is
enabled. The initial value is <constant > GL_FALSE</constant> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_SAMPLE_COVERAGE_INVERT</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating if the temporary
2009-03-08 00:46:58 +00:00
coverage value should be inverted.
See <citerefentry > <refentrytitle > glSampleCoverage</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_SAMPLE_COVERAGE_VALUE</constant> </term>
<listitem >
<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>
2010-11-21 14:34:29 +00:00
<varlistentry >
<term > <constant > GL_SAMPLER_BINDING</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the sampler object
2010-11-21 14:34:29 +00:00
currently bound to the active texture unit. The initial value is 0.
See <citerefentry > <refentrytitle > glBindSampler</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_SAMPLES</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single integer value indicating the coverage mask size.
2009-03-08 00:46:58 +00:00
See <citerefentry > <refentrytitle > glSampleCoverage</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_SCISSOR_BOX</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns four values:
2013-11-03 11:43:50 +00:00
the
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > x</mml:mi> </mml:math> </inlineequation>
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > y</mml:mi> </mml:math> </inlineequation>
2009-03-08 00:46:58 +00:00
window coordinates of the scissor box,
followed by its width and height.
2013-11-03 11:43:50 +00:00
Initially the
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > x</mml:mi> </mml:math> </inlineequation>
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > y</mml:mi> </mml:math> </inlineequation>
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether scissoring is
2009-03-08 00:46:58 +00:00
enabled. The initial value is <constant > GL_FALSE</constant> .
See <citerefentry > <refentrytitle > glScissor</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_SHADER_BINARY_FORMATS</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns a list of symbolic
constants of length <constant > GL_NUM_SHADER_BINARY_FORMATS</constant>
indicating which shader binary formats are available.
See <citerefentry > <refentrytitle > glShaderBinary</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_SHADER_COMPILER</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether
a shader compiler is supported. This value is always <constant > GL_TRUE</constant> .
See <citerefentry > <refentrytitle > glCompileShader</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
<term > <constant > GL_SHADER_STORAGE_BUFFER_BINDING</constant> </term>
<listitem >
<para >
When used with non-indexed variants of <function > glGet</function> (such as <function > glGetIntegerv</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2013-10-23 18:17:08 +00:00
currently bound to the target <constant > GL_SHADER_STORAGE_BUFFER</constant> . If no buffer object
is bound to this target, 0 is returned.
When used with indexed variants of <function > glGet</function> (such as <function > glGetIntegeri_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2013-10-23 18:17:08 +00:00
bound to the indexed shader storage buffer binding points. The initial value is 0 for all targets.
See <citerefentry > <refentrytitle > glBindBuffer</refentrytitle> </citerefentry> , <citerefentry > <refentrytitle > glBindBufferBase</refentrytitle> </citerefentry> , and
<citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the minimum required alignment
2013-10-23 18:17:08 +00:00
for shader storage buffer sizes and offset. The initial value is 1.
See <citerefentry > <refentrytitle > glShaderStorateBlockBinding</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_SHADER_STORAGE_BUFFER_SIZE</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
When used with indexed variants of <function > glGet</function> (such as <function > glGetInteger64i_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the size of the binding range for each
2013-10-23 18:17:08 +00:00
indexed shader storage buffer binding. The initial value is 0 for all bindings.
See <citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_SHADER_STORAGE_BUFFER_START</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
When used with indexed variants of <function > glGet</function> (such as <function > glGetInteger64i_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the start offset of the binding range for each
2013-10-23 18:17:08 +00:00
indexed shader storage buffer binding. The initial value is 0 for all bindings.
See <citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_STENCIL_BACK_FAIL</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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>
2014-03-28 19:06:55 +00:00
<varlistentry >
<term > <constant > GL_STENCIL_BITS</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns one value,
the number of bitplanes in the stencil buffer of the
currently bound framebuffer.
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_STENCIL_CLEAR_VALUE</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the reference value that is compared with the contents of the stencil
buffer. The initial value is 0.
See <citerefentry > <refentrytitle > glStencilFunc</refentrytitle> </citerefentry> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating whether stencil testing
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
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 >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the mask that controls writing of the stencil bitplanes. The initial value
is all 1's.
See <citerefentry > <refentrytitle > glStencilMask</refentrytitle> </citerefentry> .
2010-11-21 14:34:29 +00:00
This stencil state only affects non-polygons
2009-03-08 00:46:58 +00:00
and front-facing polygons. Back-facing polygons use separate stencil state.
See <citerefentry > <refentrytitle > glStencilMaskSeparate</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_SUBPIXEL_BITS</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
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_BINDING_2D</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the texture
2009-03-08 00:46:58 +00:00
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 >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_TEXTURE_BINDING_2D_ARRAY</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the texture
2010-11-21 14:34:29 +00:00
currently bound to the target <constant > GL_TEXTURE_2D_ARRAY</constant> . The initial value is 0.
2009-03-08 00:46:58 +00:00
See <citerefentry > <refentrytitle > glBindTexture</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_TEXTURE_BINDING_3D</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the texture
2010-11-21 14:34:29 +00:00
currently bound to the target <constant > GL_TEXTURE_3D</constant> . The initial value is 0.
See <citerefentry > <refentrytitle > glBindTexture</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_TEXTURE_BINDING_CUBE_MAP</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the texture
2010-11-21 14:34:29 +00:00
currently bound to the target <constant > GL_TEXTURE_CUBE_MAP</constant> . The initial value is 0.
See <citerefentry > <refentrytitle > glBindTexture</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_TEXTURE_BINDING_2D_MULTISAMPLE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the texture
currently bound to the target <constant > GL_TEXTURE_2D_MULTISAMPLE</constant> . The initial value is 0.
2010-11-21 14:34:29 +00:00
See <citerefentry > <refentrytitle > glBindTexture</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the texture
currently bound to the target <constant > GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant> . The initial value is 0.
See <citerefentry > <refentrytitle > glBindTexture</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
2013-10-23 18:17:08 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_TRANSFORM_FEEDBACK_BINDING</constant> </term>
2013-10-23 18:17:08 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the transform feedback object
currently bound to the <constant > GL_TRANSFORM_FEEDBACK</constant> target. If no transform feedback object
is bound to this target, 0 is returned. The initial value is 0.
See <citerefentry > <refentrytitle > glBindTransformFeedback</refentrytitle> </citerefentry> .
2013-10-23 18:17:08 +00:00
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_TRANSFORM_FEEDBACK_ACTIVE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single boolean value indicating if the currently
bound transform feedback object is active.
See <citerefentry > <refentrytitle > glBeginTransformFeedback</refentrytitle> </citerefentry>
and <citerefentry > <refentrytitle > glResumeTransformFeedback</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_TRANSFORM_FEEDBACK_BUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2010-11-21 14:34:29 +00:00
When used with non-indexed variants of <function > glGet</function> (such as <function > glGetIntegerv</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2010-11-21 14:34:29 +00:00
currently bound to the target <constant > GL_TRANSFORM_FEEDBACK_BUFFER</constant> . If no buffer object
is bound to this target, 0 is returned.
When used with indexed variants of <function > glGet</function> (such as <function > glGetIntegeri_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2010-11-21 14:34:29 +00:00
bound to the indexed transform feedback attribute stream. The initial value is 0 for all targets.
See <citerefentry > <refentrytitle > glBindBuffer</refentrytitle> </citerefentry> , <citerefentry > <refentrytitle > glBindBufferBase</refentrytitle> </citerefentry> , and
<citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_TRANSFORM_FEEDBACK_PAUSED</constant> </term>
<listitem >
<para >
<parameter > params</parameter> returns a single boolean value indicating if the currently
bound transform feedback object is paused.
See <citerefentry > <refentrytitle > glPauseTransformFeedback</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_TRANSFORM_FEEDBACK_BUFFER_SIZE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2010-11-21 14:34:29 +00:00
When used with indexed variants of <function > glGet</function> (such as <function > glGetInteger64i_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the size of the binding range for each
2010-11-21 14:34:29 +00:00
transform feedback attribute stream. The initial value is 0 for all streams.
See <citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2014-03-28 19:06:55 +00:00
<term > <constant > GL_TRANSFORM_FEEDBACK_BUFFER_START</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2010-11-21 14:34:29 +00:00
When used with indexed variants of <function > glGet</function> (such as <function > glGetInteger64i_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the start offset of the binding range for each
2010-11-21 14:34:29 +00:00
transform feedback attribute stream. The initial value is 0 for all streams.
See <citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_UNIFORM_BUFFER_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2010-11-21 14:34:29 +00:00
When used with non-indexed variants of <function > glGet</function> (such as <function > glGetIntegerv</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2010-11-21 14:34:29 +00:00
currently bound to the target <constant > GL_UNIFORM_BUFFER</constant> . If no buffer object
is bound to this target, 0 is returned.
When used with indexed variants of <function > glGet</function> (such as <function > glGetIntegeri_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the buffer object
2010-11-21 14:34:29 +00:00
bound to the indexed uniform buffer binding point. The initial value is 0 for all targets.
See <citerefentry > <refentrytitle > glBindBuffer</refentrytitle> </citerefentry> , <citerefentry > <refentrytitle > glBindBufferBase</refentrytitle> </citerefentry> , and
<citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the minimum required alignment
2010-11-21 14:34:29 +00:00
for uniform buffer sizes and offset. The initial value is 1.
See <citerefentry > <refentrytitle > glUniformBlockBinding</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_UNIFORM_BUFFER_SIZE</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2010-11-21 14:34:29 +00:00
When used with indexed variants of <function > glGet</function> (such as <function > glGetInteger64i_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the size of the binding range for each
2010-11-21 14:34:29 +00:00
indexed uniform buffer binding. The initial value is 0 for all bindings.
See <citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2010-11-21 14:34:29 +00:00
<term > <constant > GL_UNIFORM_BUFFER_START</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2010-11-21 14:34:29 +00:00
When used with indexed variants of <function > glGet</function> (such as <function > glGetInteger64i_v</function> ),
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the start offset of the binding range for each
2010-11-21 14:34:29 +00:00
indexed uniform buffer binding. The initial value is 0 for all bindings.
See <citerefentry > <refentrytitle > glBindBufferRange</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_UNPACK_ALIGNMENT</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the byte alignment used for reading pixel data from memory. The initial
value is 4.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_UNPACK_IMAGE_HEIGHT</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the image height used for reading pixel data from memory. The initial
is 0.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_UNPACK_ROW_LENGTH</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the row length used for reading pixel data from memory. The initial value
is 0.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_UNPACK_SKIP_IMAGES</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the number of pixel images skipped before the first pixel is read
from memory. The initial value is 0.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_UNPACK_SKIP_PIXELS</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the number of pixel locations skipped before the first pixel is read
from memory. The initial value is 0.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_UNPACK_SKIP_ROWS</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns one value,
2009-03-08 00:46:58 +00:00
the number of rows of pixel locations skipped before the first pixel is read
from memory. The initial value is 0.
2014-03-28 19:06:55 +00:00
See <citerefentry > <refentrytitle > glPixelStorei</refentrytitle> </citerefentry> .
2009-03-08 00:46:58 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry >
2013-10-23 18:17:08 +00:00
<term > <constant > GL_VERTEX_ARRAY_BINDING</constant> </term>
2009-03-08 00:46:58 +00:00
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns a single value, the name of the vertex array object
currently bound. If no vertex array object is bound, 0 is returned. The initial value is 0.
2013-10-23 18:17:08 +00:00
See <citerefentry > <refentrytitle > glBindVertexArray</refentrytitle> </citerefentry> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_VERTEX_BINDING_DIVISOR</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
Accepted by the indexed forms. <parameter > params</parameter> returns a single integer value representing the instance step
2013-10-23 18:17:08 +00:00
divisor of the first element in the bound buffer's data store for vertex attribute bound to <parameter > index</parameter> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_VERTEX_BINDING_OFFSET</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
Accepted by the indexed forms. <parameter > params</parameter> returns a single integer value representing the byte offset
2013-10-23 18:17:08 +00:00
of the first element in the bound buffer's data store for vertex attribute bound to <parameter > index</parameter> .
</para>
</listitem>
</varlistentry>
<varlistentry >
<term > <constant > GL_VERTEX_BINDING_STRIDE</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
Accepted by the indexed forms. <parameter > params</parameter> returns a single integer value representing the byte offset
2013-10-23 18:17:08 +00:00
between the start of each element in the bound buffer's data store for vertex attribute bound to <parameter > index</parameter> .
</para>
</listitem>
</varlistentry>
2009-03-08 00:46:58 +00:00
<varlistentry >
<term > <constant > GL_VIEWPORT</constant> </term>
<listitem >
<para >
2014-03-28 19:06:55 +00:00
<parameter > params</parameter> returns four values:
2013-11-03 11:43:50 +00:00
the
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > x</mml:mi> </mml:math> </inlineequation>
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > y</mml:mi> </mml:math> </inlineequation>
window coordinates of the viewport,
followed by its width and height.
2013-11-03 11:43:50 +00:00
Initially the
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > x</mml:mi> </mml:math> </inlineequation>
2013-11-03 11:43:50 +00:00
and
2014-03-28 19:06:55 +00:00
<inlineequation > <mml:math xmlns:mml= "http://www.w3.org/1998/Math/MathML" overflow= "scroll" > <mml:mi mathvariant= "italic" > y</mml:mi> </mml:math> </inlineequation>
2009-03-08 00:46:58 +00:00
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> .
2013-11-03 11:43:50 +00:00
</para>
2013-10-23 18:17:08 +00:00
</listitem>
</varlistentry>
2014-03-28 19:06:55 +00:00
</variablelist>
2009-03-08 00:46:58 +00:00
<para >
Many of the boolean parameters can also be queried more easily using
<citerefentry > <refentrytitle > glIsEnabled</refentrytitle> </citerefentry> .
</para>
</refsect1>
2014-03-28 19:06:55 +00:00
<refsect1 xml:id= "notes" > <title > Notes</title>
2009-03-08 00:46:58 +00:00
<para >
2010-11-21 14:34:29 +00:00
The following parameters return the associated value for the active texture unit:
2009-03-08 00:46:58 +00:00
<constant > GL_TEXTURE_2D</constant> , <constant > GL_TEXTURE_BINDING_2D</constant> ,
2010-11-21 14:34:29 +00:00
<constant > GL_TEXTURE_3D</constant> and <constant > GL_TEXTURE_BINDING_3D</constant> .
</para>
2013-10-23 18:17:08 +00:00
<para >
<constant > GL_MAX_VERTEX_ATOMIC_COUNTERS</constant> ,
2014-03-28 19:06:55 +00:00
<constant > GL_MAX_FRAMGENT_ATOMIC_COUNTERS</constant> ,
<constant > GL_MAX_COMPUTE_ATOMIC_COUNTERS</constant> ,
<constant > GL_MAX_COMBINED_ATOMIC_COUNTERS</constant> ,
<constant > GL_MAX_COMPUTE_UNIFORM_BLOCKS</constant> ,
<constant > GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS</constant> ,
<constant > GL_MAX_COMPUTE_UNIFORM_COMPONENTS</constant> ,
<constant > GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS</constant> ,
<constant > GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS</constant> ,
<constant > GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS</constant> ,
<constant > GL_MAX_COMPUTE_WORK_GROUP_COUNT</constant> ,
<constant > GL_MAX_COMPUTE_WORK_GROUP_SIZE</constant> ,
<constant > GL_DISPATCH_INDIRECT_BUFFER_BINDING</constant> ,
<constant > GL_MAX_UNIFORM_LOCATIONS</constant> ,
<constant > GL_MAX_FRAMEBUFFER_WIDTH</constant> ,
<constant > GL_MAX_FRAMEBUFFER_HEIGHT</constant> ,
<constant > GL_MAX_FRAMEBUFFER_SAMPLES</constant> ,
<constant > GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS</constant> ,
<constant > GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS</constant> ,
<constant > GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS</constant> ,
<constant > GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS</constant> ,
<constant > GL_VERTEX_BINDING_DIVISOR</constant> ,
<constant > GL_VERTEX_BINDING_OFFSET</constant> ,
<constant > GL_VERTEX_BINDING_STRIDE</constant> ,
<constant > GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET</constant> and
<constant > GL_MAX_VERTEX_ATTRIB_BINDINGS</constant> are available
only if the GL ES version is 3.1 or greater.
2013-10-23 18:17:08 +00:00
</para>
2009-03-08 00:46:58 +00:00
</refsect1>
2014-03-28 19:06:55 +00:00
<refsect1 xml:id= "errors" > <title > Errors</title>
2009-03-08 00:46:58 +00:00
<para >
<constant > GL_INVALID_ENUM</constant> is generated if <parameter > pname</parameter> is not an accepted value.
</para>
<para >
2014-03-28 19:06:55 +00:00
<constant > GL_INVALID_VALUE</constant> is generated on either <function > glGetIntegeri_v</function> ,
or <function > glGetInteger64i_v</function> if
2010-11-21 14:34:29 +00:00
<parameter > index</parameter> is outside of the valid range for the indexed state <parameter > target</parameter> .
2009-03-08 00:46:58 +00:00
</para>
</refsect1>
2014-03-28 19:06:55 +00:00
<refsect1 xml:id= "versions" >
<title > API Version Support</title>
<informaltable >
<tgroup cols= "4" align= "left" >
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apifunchead.xml" xpointer= "xpointer(/*/*)" />
<tbody >
<row >
<entry > <function > glGetBooleanv</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es20']/*)" />
</row>
<row >
<entry > <function > glGetBooleani_v</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es31']/*)" />
</row>
<row >
<entry > <function > glGetFloatv</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es20']/*)" />
</row>
<row >
<entry > <function > glGetIntegerv</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es20']/*)" />
</row>
<row >
<entry > <function > glGetInteger64v</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es30']/*)" />
</row>
<row >
<entry > <function > glGetIntegeri_v</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es30']/*)" />
</row>
<row >
<entry > <function > glGetInteger64i_v</function> </entry>
<xi:include xmlns:xi= "http://www.w3.org/2001/XInclude" href= "apiversion.xml" xpointer= "xpointer(/*/*[@role='es30']/*)" />
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 xml:id= "seealso" > <title > See Also</title>
2009-03-08 00:46:58 +00:00
<para >
<citerefentry > <refentrytitle > glGetActiveUniform</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetAttachedShaders</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetAttribLocation</refentrytitle> </citerefentry> ,
2010-11-21 14:34:29 +00:00
<citerefentry > <refentrytitle > glGetBufferParameter</refentrytitle> </citerefentry> ,
2009-03-08 00:46:58 +00:00
<citerefentry > <refentrytitle > glGetBufferPointerv</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetError</refentrytitle> </citerefentry> ,
2014-03-28 19:06:55 +00:00
<citerefentry > <refentrytitle > glGetProgramiv</refentrytitle> </citerefentry> ,
2009-03-08 00:46:58 +00:00
<citerefentry > <refentrytitle > glGetProgramInfoLog</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetQueryiv</refentrytitle> </citerefentry> ,
2014-03-28 19:06:55 +00:00
<citerefentry > <refentrytitle > glGetQueryObjectuiv</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetShaderiv</refentrytitle> </citerefentry> ,
2009-03-08 00:46:58 +00:00
<citerefentry > <refentrytitle > glGetShaderInfoLog</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetShaderSource</refentrytitle> </citerefentry> ,
<citerefentry > <refentrytitle > glGetString</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>
2014-03-28 19:06:55 +00:00
<refsect1 xml:id= "Copyright" > <title > Copyright</title>
2009-03-08 00:46:58 +00:00
<para >
2014-03-28 19:06:55 +00:00
Copyright <trademark class= "copyright" /> 1991-2006 Silicon Graphics, Inc.
Copyright <trademark class= "copyright" /> 2010-2014 Khronos Group.
This document is licensed under the SGI Free Software B License.
For details, see
<link xmlns:xlink= "http://www.w3.org/1999/xlink" xlink:href= "http://oss.sgi.com/projects/FreeB/" > http://oss.sgi.com/projects/FreeB/</link> .
2009-03-08 00:46:58 +00:00
</para>
</refsect1>
</refentry>