e992d92d3595a013918b8b760f7cd3d81fa3adda
[clinton/guile-figl.git] / upstream-man-pages / man4 / xhtml / glGet.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd">
3 <!-- saved from url=(0013)about:internet -->
4 <?xml-stylesheet type="text/xsl" href="mathml.xsl"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:pref="http://www.w3.org/2002/Math/preference" pref:renderer="mathplayer-dl"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="opengl-man.css" /><title>glGet - OpenGL 4 Reference Pages</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /></head><body><div class="refentry" lang="en" xml:lang="en"><a id="glGet"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>glGet — return the value or values of a selected parameter</p></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetBooleanv</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLboolean *  </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetDoublev</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLdouble *  </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetFloatv</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLfloat *  </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetIntegerv</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLint *  </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetInteger64v</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLint64 *  </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="parameters"></a><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>pname</code></em></span></dt><dd><p>
5 Specifies the parameter value to be returned.
6 The symbolic constants in the list below are accepted.
7 </p></dd><dt><span class="term"><em class="parameter"><code>params</code></em></span></dt><dd><p>
8 Returns the value or values of the specified parameter.
9 </p></dd></dl></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetBooleani_v</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLuint  </td><td><var class="pdparam">index</var>, </td></tr><tr><td> </td><td>GLboolean *  </td><td><var class="pdparam">data</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetIntegeri_v</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLuint  </td><td><var class="pdparam">index</var>, </td></tr><tr><td> </td><td>GLint *  </td><td><var class="pdparam">data</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetFloati_v</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLuint  </td><td><var class="pdparam">index</var>, </td></tr><tr><td> </td><td>GLfloat *  </td><td><var class="pdparam">data</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetDoublei_v</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLuint  </td><td><var class="pdparam">index</var>, </td></tr><tr><td> </td><td>GLdouble *  </td><td><var class="pdparam">data</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetInteger64i_v</b>(</code></td><td>GLenum  </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLuint  </td><td><var class="pdparam">index</var>, </td></tr><tr><td> </td><td>GLint64 *  </td><td><var class="pdparam">data</var><code>)</code>;</td></tr></table></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="parameters2"></a><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>pname</code></em></span></dt><dd><p>
10 Specifies the parameter value to be returned.
11 The symbolic constants in the list below are accepted.
12 </p></dd><dt><span class="term"><em class="parameter"><code>index</code></em></span></dt><dd><p>
13 Specifies the index of the particular element being queried.
14 </p></dd><dt><span class="term"><em class="parameter"><code>data</code></em></span></dt><dd><p>
15 Returns the value or values of the specified parameter.
16 </p></dd></dl></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p>
17 These four commands return values for simple state variables in GL.
18 <em class="parameter"><code>pname</code></em> is a symbolic constant indicating the state variable to be returned,
19 and <em class="parameter"><code>params</code></em> is a pointer to an array of the indicated type in
20 which to place the returned data.
21 </p><p>
22 Type conversion is performed if <em class="parameter"><code>params</code></em> has a different type than
23 the state variable value being requested.
24 If <code class="function">glGetBooleanv</code> is called,
25 a floating-point (or integer) value is converted to <code class="constant">GL_FALSE</code> if
26 and only if it is 0.0 (or 0).
27 Otherwise,
28 it is converted to <code class="constant">GL_TRUE</code>.
29 If <code class="function">glGetIntegerv</code> is called, boolean values are returned as
30 <code class="constant">GL_TRUE</code> or <code class="constant">GL_FALSE</code>, and most floating-point values are
31 rounded to the nearest integer value. Floating-point colors and
32 normals, however, are returned with a linear mapping that maps 1.0 to
33 the most positive representable integer value
34 and
35 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
36
37 <mml:mn>-1.0</mml:mn>
38 </mml:math>
39 to the most negative representable integer value.
40 If <code class="function">glGetFloatv</code> or <code class="function">glGetDoublev</code> is called,
41 boolean values are returned as <code class="constant">GL_TRUE</code> or <code class="constant">GL_FALSE</code>,
42 and integer values are converted to floating-point values.
43 </p><p>
44 The following symbolic constants are accepted by <em class="parameter"><code>pname</code></em>:
45 </p><div class="variablelist"><dl><dt><span class="term"><code class="constant">GL_ACTIVE_TEXTURE</code></span></dt><dd><p>
46 </p><p>
47 <em class="parameter"><code>params</code></em> returns a single value indicating the active multitexture unit.
48 The initial value is <code class="constant">GL_TEXTURE0</code>.
49 See <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
50 </p></dd><dt><span class="term"><code class="constant">GL_ALIASED_LINE_WIDTH_RANGE</code></span></dt><dd><p>
51 </p><p>
52 <em class="parameter"><code>params</code></em> returns a pair of values indicating the range of
53 widths supported for aliased lines. See <a href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>.
54 </p></dd><dt><span class="term"><code class="constant">GL_ARRAY_BUFFER_BINDING</code></span></dt><dd><p>
55 </p><p>
56 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
57 currently bound to the target <code class="constant">GL_ARRAY_BUFFER</code>. If no buffer object
58 is bound to this target, 0 is returned. The initial value is 0.
59 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>.
60 </p></dd><dt><span class="term"><code class="constant">GL_BLEND</code></span></dt><dd><p>
61 </p><p>
62 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether blending is
63 enabled. The initial value is <code class="constant">GL_FALSE</code>.
64 See <a href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a>.
65 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_COLOR</code></span></dt><dd><p>
66 </p><p>
67 <em class="parameter"><code>params</code></em> returns four values,
68 the red, green, blue, and alpha values which are the components of
69 the blend color.
70 See <a href="glBlendColor.xml"><span class="citerefentry"><span class="refentrytitle">glBlendColor</span></span></a>.
71 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_DST_ALPHA</code></span></dt><dd><p>
72 </p><p>
73 <em class="parameter"><code>params</code></em> returns one value,
74 the symbolic constant identifying the alpha destination blend
75 function. The initial value is <code class="constant">GL_ZERO</code>.
76 See <a href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>.
77 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_DST_RGB</code></span></dt><dd><p>
78 </p><p>
79 <em class="parameter"><code>params</code></em> returns one value,
80 the symbolic constant identifying the RGB destination blend
81 function. The initial value is <code class="constant">GL_ZERO</code>.
82 See <a href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>.
83 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_EQUATION_RGB</code></span></dt><dd><p>
84 </p><p>
85 <em class="parameter"><code>params</code></em> returns one value, a symbolic constant indicating whether
86 the RGB blend equation is <code class="constant">GL_FUNC_ADD</code>, <code class="constant">GL_FUNC_SUBTRACT</code>,
87 <code class="constant">GL_FUNC_REVERSE_SUBTRACT</code>, <code class="constant">GL_MIN</code> or <code class="constant">GL_MAX</code>.
88 See <a href="glBlendEquationSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendEquationSeparate</span></span></a>.
89 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_EQUATION_ALPHA</code></span></dt><dd><p>
90 </p><p>
91 <em class="parameter"><code>params</code></em> returns one value, a symbolic constant indicating whether
92 the Alpha blend equation is <code class="constant">GL_FUNC_ADD</code>, <code class="constant">GL_FUNC_SUBTRACT</code>,
93 <code class="constant">GL_FUNC_REVERSE_SUBTRACT</code>, <code class="constant">GL_MIN</code> or <code class="constant">GL_MAX</code>.
94 See <a href="glBlendEquationSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendEquationSeparate</span></span></a>.
95 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_SRC_ALPHA</code></span></dt><dd><p>
96 </p><p>
97 <em class="parameter"><code>params</code></em> returns one value,
98 the symbolic constant identifying the alpha source blend function. The initial
99 value is <code class="constant">GL_ONE</code>.
100 See <a href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>.
101 </p></dd><dt><span class="term"><code class="constant">GL_BLEND_SRC_RGB</code></span></dt><dd><p>
102 </p><p>
103 <em class="parameter"><code>params</code></em> returns one value,
104 the symbolic constant identifying the RGB source blend function. The initial
105 value is <code class="constant">GL_ONE</code>.
106 See <a href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>.
107 </p></dd><dt><span class="term"><code class="constant">GL_COLOR_CLEAR_VALUE</code></span></dt><dd><p>
108 </p><p>
109 <em class="parameter"><code>params</code></em> returns four values:
110 the red, green, blue, and alpha values used to clear the color buffers.
111 Integer values,
112 if requested,
113 are linearly mapped from the internal floating-point representation such
114 that 1.0 returns the most positive representable integer value,
115 and
116 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
117
118 <mml:mn>-1.0</mml:mn>
119 </mml:math>
120 returns the most negative representable integer
121 value. The initial value is (0, 0, 0, 0).
122 See <a href="glClearColor.xml"><span class="citerefentry"><span class="refentrytitle">glClearColor</span></span></a>.
123 </p></dd><dt><span class="term"><code class="constant">GL_COLOR_LOGIC_OP</code></span></dt><dd><p>
124 </p><p>
125 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether a fragment's
126 RGBA color values are merged into the framebuffer using a logical
127 operation. The initial value is <code class="constant">GL_FALSE</code>.
128 See <a href="glLogicOp.xml"><span class="citerefentry"><span class="refentrytitle">glLogicOp</span></span></a>.
129 </p></dd><dt><span class="term"><code class="constant">GL_COLOR_WRITEMASK</code></span></dt><dd><p>
130 </p><p>
131 <em class="parameter"><code>params</code></em> returns four boolean values:
132 the red, green, blue, and alpha write enables for the color
133 buffers. The initial value is (<code class="constant">GL_TRUE</code>, <code class="constant">GL_TRUE</code>,
134 <code class="constant">GL_TRUE</code>, <code class="constant">GL_TRUE</code>).
135 See <a href="glColorMask.xml"><span class="citerefentry"><span class="refentrytitle">glColorMask</span></span></a>.
136 </p></dd><dt><span class="term"><code class="constant">GL_COMPRESSED_TEXTURE_FORMATS</code></span></dt><dd><p>
137 </p><p>
138 <em class="parameter"><code>params</code></em> returns a list of symbolic
139 constants of length <code class="constant">GL_NUM_COMPRESSED_TEXTURE_FORMATS</code>
140 indicating which compressed texture formats are available.
141 See <a href="glCompressedTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage2D</span></span></a>.
142 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
143 </p><p>
144 <em class="parameter"><code>params</code></em> returns one value,
145 the maximum number of active shader storage blocks that may be accessed by a compute shader.
146 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
147 </p><p>
148 <em class="parameter"><code>params</code></em> returns one value,
149 the maximum total number of active shader storage blocks that may be accessed by all active shaders.
150 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_UNIFORM_BLOCKS</code></span></dt><dd><p>
151 </p><p>
152 <em class="parameter"><code>params</code></em> returns one value,
153 the maximum number of uniform blocks per compute shader. The value must be at least 14.
154 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
155 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p>
156 </p><p>
157 <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that
158 can be used to access texture maps from the compute shader. The value may be at least 16.
159 See <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
160 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_UNIFORM_COMPONENTS</code></span></dt><dd><p>
161 </p><p>
162 <em class="parameter"><code>params</code></em> returns one value,
163 the maximum number of individual floating-point, integer, or boolean values that can be held
164 in uniform variable storage for a compute shader. The value must be at least 1024.
165 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
166 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_ATOMIC_COUNTERS</code></span></dt><dd><p>
167 </p><p>
168 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to compute shaders.
169 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS</code></span></dt><dd><p>
170 </p><p>
171 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counter buffers that may be accessed by a compute shader.
172 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS</code></span></dt><dd><p>
173 </p><p>
174 <em class="parameter"><code>params</code></em> returns one value,
175 the number of words for compute shader uniform variables in all uniform
176 blocks (including default). The value must be at least 1.
177 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
178 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS</code></span></dt><dd><p>
179 </p><p>
180 <em class="parameter"><code>params</code></em> returns one value,
181 the number of invocations in a single local work group
182 (i.e., the product of the three dimensions) that may
183 be dispatched to a compute shader.
184 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_WORK_GROUP_COUNT</code></span></dt><dd><p>
185 </p><p>
186 Accepted by the indexed versions of <code class="function">glGet</code>.
187 <em class="parameter"><code>params</code></em> the maximum number of work
188 groups that may be dispatched to a compute shader. Indices
189 0, 1, and 2 correspond to the X, Y and Z dimensions, respectively.
190 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMPUTE_WORK_GROUP_SIZE</code></span></dt><dd><p>
191 </p><p>
192 Accepted by the indexed versions of <code class="function">glGet</code>.
193 <em class="parameter"><code>params</code></em> the maximum size of a work
194 groups that may be used during compilation of a compute shader. Indices
195 0, 1, and 2 correspond to the X, Y and Z dimensions, respectively.
196 </p></dd><dt><span class="term"><code class="constant">GL_DISPATCH_INDIRECT_BUFFER_BINDING</code></span></dt><dd><p>
197 </p><p>
198 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
199 currently bound to the target <code class="constant">GL_DISPATCH_INDIRECT_BUFFER</code>. If no buffer object
200 is bound to this target, 0 is returned. The initial value is 0.
201 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>.
202 </p></dd><dt><span class="term"><code class="constant">GL_MAX_DEBUG_GROUP_STACK_DEPTH</code></span></dt><dd><p>
203 </p><p>
204 <em class="parameter"><code>params</code></em> returns a single value, the maximum depth of the
205 debug message group stack.
206 </p></dd><dt><span class="term"><code class="constant">GL_DEBUG_GROUP_STACK_DEPTH</code></span></dt><dd><p>
207 </p><p>
208 <em class="parameter"><code>params</code></em> returns a single value, the current depth of the
209 debug message group stack.
210 </p></dd><dt><span class="term"><code class="constant">GL_CONTEXT_FLAGS</code></span></dt><dd><p>
211 </p><p>
212 <em class="parameter"><code>params</code></em> returns one value,
213 the flags with which the context was created (such as debugging functionality).
214 </p></dd><dt><span class="term"><code class="constant">GL_CULL_FACE</code></span></dt><dd><p>
215 </p><p>
216 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon culling
217 is enabled. The initial value is <code class="constant">GL_FALSE</code>.
218 See <a href="glCullFace.xml"><span class="citerefentry"><span class="refentrytitle">glCullFace</span></span></a>.
219 </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_PROGRAM</code></span></dt><dd><p>
220 </p><p>
221 <em class="parameter"><code>params</code></em> returns one value,
222 the name of the program object that is currently active, or 0 if no program object is active.
223 See <a href="glUseProgram.xml"><span class="citerefentry"><span class="refentrytitle">glUseProgram</span></span></a>.
224 </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_CLEAR_VALUE</code></span></dt><dd><p>
225 </p><p>
226 <em class="parameter"><code>params</code></em> returns one value,
227 the value that is used to clear the depth buffer.
228 Integer values,
229 if requested,
230 are linearly mapped from the internal floating-point representation such
231 that 1.0 returns the most positive representable integer value,
232 and
233 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
234
235 <mml:mn>-1.0</mml:mn>
236 </mml:math>
237 returns the most negative representable integer
238 value. The initial value is 1.
239 See <a href="glClearDepth.xml"><span class="citerefentry"><span class="refentrytitle">glClearDepth</span></span></a>.
240 </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_FUNC</code></span></dt><dd><p>
241 </p><p>
242 <em class="parameter"><code>params</code></em> returns one value,
243 the symbolic constant that indicates the depth comparison
244 function. The initial value is <code class="constant">GL_LESS</code>.
245 See <a href="glDepthFunc.xml"><span class="citerefentry"><span class="refentrytitle">glDepthFunc</span></span></a>.
246 </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_RANGE</code></span></dt><dd><p>
247 </p><p>
248 <em class="parameter"><code>params</code></em> returns two values:
249 the near and far mapping limits for the depth buffer.
250 Integer values,
251 if requested,
252 are linearly mapped from the internal floating-point representation such
253 that 1.0 returns the most positive representable integer value,
254 and
255 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll">
256
257 <mml:mn>-1.0</mml:mn>
258 </mml:math>
259 returns the most negative representable integer
260 value. The initial value is (0, 1).
261 See <a href="glDepthRange.xml"><span class="citerefentry"><span class="refentrytitle">glDepthRange</span></span></a>.
262 </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_TEST</code></span></dt><dd><p>
263 </p><p>
264 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether depth testing
265 of fragments is enabled. The initial value is <code class="constant">GL_FALSE</code>.
266 See <a href="glDepthFunc.xml"><span class="citerefentry"><span class="refentrytitle">glDepthFunc</span></span></a> and <a href="glDepthRange.xml"><span class="citerefentry"><span class="refentrytitle">glDepthRange</span></span></a>.
267 </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_WRITEMASK</code></span></dt><dd><p>
268 </p><p>
269 <em class="parameter"><code>params</code></em> returns a single boolean value indicating if the depth buffer
270 is enabled for writing. The initial value is <code class="constant">GL_TRUE</code>.
271 See <a href="glDepthMask.xml"><span class="citerefentry"><span class="refentrytitle">glDepthMask</span></span></a>.
272 </p></dd><dt><span class="term"><code class="constant">GL_DITHER</code></span></dt><dd><p>
273 </p><p>
274 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether dithering of
275 fragment colors and indices is enabled. The initial value is <code class="constant">GL_TRUE</code>.
276 </p></dd><dt><span class="term"><code class="constant">GL_DOUBLEBUFFER</code></span></dt><dd><p>
277 </p><p>
278 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether double buffering
279 is supported.
280 </p></dd><dt><span class="term"><code class="constant">GL_DRAW_BUFFER</code></span></dt><dd><p>
281 </p><p>
282 <em class="parameter"><code>params</code></em> returns one value,
283 a symbolic constant indicating which buffers are being drawn to.
284 See <a href="glDrawBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glDrawBuffer</span></span></a>. The initial value is <code class="constant">GL_BACK</code> if there
285 are back buffers, otherwise it is <code class="constant">GL_FRONT</code>.
286 </p></dd><dt><span class="term"><code class="constant">GL_DRAW_BUFFER</code><span class="emphasis"><em>i</em></span></span></dt><dd><p>
287 </p><p>
288 <em class="parameter"><code>params</code></em> returns one value,
289 a symbolic constant indicating which buffers are being drawn to by the corresponding output color.
290 See <a href="glDrawBuffers.xml"><span class="citerefentry"><span class="refentrytitle">glDrawBuffers</span></span></a>.
291 The initial value of <code class="constant">GL_DRAW_BUFFER0</code> is <code class="constant">GL_BACK</code> if there
292 are back buffers, otherwise it is <code class="constant">GL_FRONT</code>. The
293 initial values of draw buffers for all other output colors is <code class="constant">GL_NONE</code>.
294 </p></dd><dt><span class="term"><code class="constant">GL_DRAW_FRAMEBUFFER_BINDING</code></span></dt><dd><p>
295 </p><p>
296 <em class="parameter"><code>params</code></em> returns one value,
297 the name of the framebuffer object currently bound to the <code class="constant">GL_DRAW_FRAMEBUFFER</code> target.
298 If the default framebuffer is bound, this value will be zero. The initial value is zero.
299 See <a href="glBindFramebuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindFramebuffer</span></span></a>.
300 </p></dd><dt><span class="term"><code class="constant">GL_READ_FRAMEBUFFER_BINDING</code></span></dt><dd><p>
301 </p><p>
302 <em class="parameter"><code>params</code></em> returns one value,
303 the name of the framebuffer object currently bound to the <code class="constant">GL_READ_FRAMEBUFFER</code> target.
304 If the default framebuffer is bound, this value will be zero. The initial value is zero.
305 See <a href="glBindFramebuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindFramebuffer</span></span></a>.
306 </p></dd><dt><span class="term"><code class="constant">GL_ELEMENT_ARRAY_BUFFER_BINDING</code></span></dt><dd><p>
307 </p><p>
308 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
309 currently bound to the target <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>. If no buffer object
310 is bound to this target, 0 is returned. The initial value is 0.
311 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>.
312 </p></dd><dt><span class="term"><code class="constant">GL_FRAGMENT_SHADER_DERIVATIVE_HINT</code></span></dt><dd><p>
313 </p><p>
314 <em class="parameter"><code>params</code></em> returns one value,
315 a symbolic constant indicating the mode of the derivative accuracy hint
316 for fragment shaders. The initial value
317 is <code class="constant">GL_DONT_CARE</code>.
318 See <a href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>.
319 </p></dd><dt><span class="term"><code class="constant">GL_IMPLEMENTATION_COLOR_READ_FORMAT</code></span></dt><dd><p>
320 </p><p>
321 <em class="parameter"><code>params</code></em> returns a single GLenum value indicating
322 the implementation's preferred pixel data format.
323 See <a href="glReadPixels.xml"><span class="citerefentry"><span class="refentrytitle">glReadPixels</span></span></a>.
324 </p></dd><dt><span class="term"><code class="constant">GL_IMPLEMENTATION_COLOR_READ_TYPE</code></span></dt><dd><p>
325 </p><p>
326 <em class="parameter"><code>params</code></em> returns a single GLenum value indicating
327 the implementation's preferred pixel data type.
328 See <a href="glReadPixels.xml"><span class="citerefentry"><span class="refentrytitle">glReadPixels</span></span></a>.
329 </p></dd><dt><span class="term"><code class="constant">GL_LINE_SMOOTH</code></span></dt><dd><p>
330 </p><p>
331 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether antialiasing of
332 lines is enabled. The initial value is <code class="constant">GL_FALSE</code>.
333 See <a href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>.
334 </p></dd><dt><span class="term"><code class="constant">GL_LINE_SMOOTH_HINT</code></span></dt><dd><p>
335 </p><p>
336 <em class="parameter"><code>params</code></em> returns one value,
337 a symbolic constant indicating the mode of the line antialiasing
338 hint. The initial value is <code class="constant">GL_DONT_CARE</code>.
339 See <a href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>.
340 </p></dd><dt><span class="term"><code class="constant">GL_LINE_WIDTH</code></span></dt><dd><p>
341 </p><p>
342 <em class="parameter"><code>params</code></em> returns one value,
343 the line width as specified with <a href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. The initial value is
344 1.
345 </p></dd><dt><span class="term"><code class="constant">GL_LAYER_PROVOKING_VERTEX</code></span></dt><dd><p>
346 </p><p>
347 <em class="parameter"><code>params</code></em> returns one value,
348 the implementation dependent specifc vertex of a primitive that is used to select the rendering layer.
349 If the value returned is equivalent to <code class="constant">GL_PROVOKING_VERTEX</code>, then the vertex
350 selection follows the convention specified by
351 <a href="glProvokingVertex.xml"><span class="citerefentry"><span class="refentrytitle">glProvokingVertex</span></span></a>.
352 If the value returned is equivalent to <code class="constant">GL_FIRST_VERTEX_CONVENTION</code>, then the
353 selection is always taken from the first vertex in the primitive.
354 If the value returned is equivalent to <code class="constant">GL_LAST_VERTEX_CONVENTION</code>, then the
355 selection is always taken from the last vertex in the primitive.
356 If the value returned is equivalent to <code class="constant">GL_UNDEFINED_VERTEX</code>, then the
357 selection is not guaranteed to be taken from any specific vertex in the primitive.
358 </p></dd><dt><span class="term"><code class="constant">GL_LINE_WIDTH_GRANULARITY</code></span></dt><dd><p>
359 </p><p>
360 <em class="parameter"><code>params</code></em> returns one value,
361 the width difference between adjacent supported widths for antialiased lines.
362 See <a href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>.
363 </p></dd><dt><span class="term"><code class="constant">GL_LINE_WIDTH_RANGE</code></span></dt><dd><p>
364 </p><p>
365 <em class="parameter"><code>params</code></em> returns two values:
366 the smallest and largest supported widths for antialiased
367 lines.
368 See <a href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>.
369 </p></dd><dt><span class="term"><code class="constant">GL_LOGIC_OP_MODE</code></span></dt><dd><p>
370 </p><p>
371 <em class="parameter"><code>params</code></em> returns one value,
372 a symbolic constant indicating the selected logic operation
373 mode. The initial value is <code class="constant">GL_COPY</code>.
374 See <a href="glLogicOp.xml"><span class="citerefentry"><span class="refentrytitle">glLogicOp</span></span></a>.
375 </p></dd><dt><span class="term"><code class="constant">GL_MAJOR_VERSION</code></span></dt><dd><p>
376 </p><p>
377 <em class="parameter"><code>params</code></em> returns one value,
378 the major version number of the OpenGL API supported by the current context.
379 </p></dd><dt><span class="term"><code class="constant">GL_MAX_3D_TEXTURE_SIZE</code></span></dt><dd><p>
380 </p><p>
381 <em class="parameter"><code>params</code></em> returns one value,
382 a rough estimate of the largest 3D texture that the GL can handle.
383 The value must be at least 64.
384 Use <code class="constant">GL_PROXY_TEXTURE_3D</code> to determine if a texture is too large.
385 See <a href="glTexImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage3D</span></span></a>.
386 </p></dd><dt><span class="term"><code class="constant">GL_MAX_ARRAY_TEXTURE_LAYERS</code></span></dt><dd><p>
387 </p><p>
388 <em class="parameter"><code>params</code></em> returns one value.
389 The value indicates the maximum number of layers allowed in an array texture, and must be at least 256.
390 See <a href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>.
391 </p></dd><dt><span class="term"><code class="constant">GL_MAX_CLIP_DISTANCES</code></span></dt><dd><p>
392 </p><p>
393 <em class="parameter"><code>params</code></em> returns one value,
394 the maximum number of application-defined clipping distances. The value must be at least 8.
395 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COLOR_TEXTURE_SAMPLES</code></span></dt><dd><p>
396 </p><p>
397 <em class="parameter"><code>params</code></em> returns one value,
398 the maximum number of samples in a color multisample texture.
399 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_ATOMIC_COUNTERS</code></span></dt><dd><p>
400 </p><p>
401 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to all active shaders.
402 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS</code></span></dt><dd><p>
403 </p><p>
404 <em class="parameter"><code>params</code></em> returns one value,
405 the number of words for fragment shader uniform variables in all uniform
406 blocks (including default). The value must be at least 1.
407 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
408 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS</code></span></dt><dd><p>
409 </p><p>
410 <em class="parameter"><code>params</code></em> returns one value,
411 the number of words for geometry shader uniform variables in all uniform
412 blocks (including default). The value must be at least 1.
413 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
414 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p>
415 </p><p>
416 <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that
417 can be used to access texture maps from the vertex shader and the fragment processor combined.
418 If both the vertex shader and the fragment processing stage access the same texture image
419 unit, then that counts as using two texture image units against this limit.
420 The value must be at least 48.
421 See <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
422 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_UNIFORM_BLOCKS</code></span></dt><dd><p>
423 </p><p>
424 <em class="parameter"><code>params</code></em> returns one value,
425 the maximum number of uniform blocks per program. The value must be at least 36.
426 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
427 </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS</code></span></dt><dd><p>
428 </p><p>
429 <em class="parameter"><code>params</code></em> returns one value,
430 the number of words for vertex shader uniform variables in all uniform
431 blocks (including default). The value must be at least 1.
432 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
433 </p></dd><dt><span class="term"><code class="constant">GL_MAX_CUBE_MAP_TEXTURE_SIZE</code></span></dt><dd><p>
434 </p><p>
435 <em class="parameter"><code>params</code></em> returns one value.
436 The value gives a rough estimate of the largest cube-map texture that
437 the GL can handle. The value must be at least 1024.
438 Use <code class="constant">GL_PROXY_TEXTURE_CUBE_MAP</code>
439 to determine if a texture is too large.
440 See <a href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>.
441 </p></dd><dt><span class="term"><code class="constant">GL_MAX_DEPTH_TEXTURE_SAMPLES</code></span></dt><dd><p>
442 </p><p>
443 <em class="parameter"><code>params</code></em> returns one value,
444 the maximum number of samples in a multisample depth or depth-stencil texture.
445 </p></dd><dt><span class="term"><code class="constant">GL_MAX_DRAW_BUFFERS</code></span></dt><dd><p>
446 </p><p>
447 <em class="parameter"><code>params</code></em> returns one value, the maximum number
448 of simultaneous outputs that may be written in a fragment shader.
449 The value must be at least 8.
450 See <a href="glDrawBuffers.xml"><span class="citerefentry"><span class="refentrytitle">glDrawBuffers</span></span></a>.
451 </p></dd><dt><span class="term"><code class="constant">GL_MAX_DUALSOURCE_DRAW_BUFFERS</code></span></dt><dd><p>
452 </p><p>
453 <em class="parameter"><code>params</code></em> returns one value, the maximum number
454 of active draw buffers when using dual-source blending. The value must be at least 1.
455 See <a href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and
456 <a href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>.
457 </p></dd><dt><span class="term"><code class="constant">GL_MAX_ELEMENTS_INDICES</code></span></dt><dd><p>
458 </p><p>
459 <em class="parameter"><code>params</code></em> returns one value,
460 the recommended maximum number of vertex array indices.
461 See <a href="glDrawRangeElements.xml"><span class="citerefentry"><span class="refentrytitle">glDrawRangeElements</span></span></a>.
462 </p></dd><dt><span class="term"><code class="constant">GL_MAX_ELEMENTS_VERTICES</code></span></dt><dd><p>
463 </p><p>
464 <em class="parameter"><code>params</code></em> returns one value,
465 the recommended maximum number of vertex array vertices.
466 See <a href="glDrawRangeElements.xml"><span class="citerefentry"><span class="refentrytitle">glDrawRangeElements</span></span></a>.
467 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_ATOMIC_COUNTERS</code></span></dt><dd><p>
468 </p><p>
469 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to fragment shaders.
470 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
471 </p><p>
472 <em class="parameter"><code>params</code></em> returns one value,
473 the maximum number of active shader storage blocks that may be accessed by a fragment shader.
474 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_INPUT_COMPONENTS</code></span></dt><dd><p>
475 </p><p>
476 <em class="parameter"><code>params</code></em> returns one value,
477 the maximum number of components of the inputs read by the fragment shader, which must be at least 128.
478 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</code></span></dt><dd><p>
479 </p><p>
480 <em class="parameter"><code>params</code></em> returns one value,
481 the maximum number of individual floating-point, integer, or boolean values that can be held
482 in uniform variable storage for a fragment shader. The value must be at least 1024.
483 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
484 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_UNIFORM_VECTORS</code></span></dt><dd><p>
485 </p><p>
486 <em class="parameter"><code>params</code></em> returns one value,
487 the maximum number of individual 4-vectors of floating-point, integer, or boolean values
488 that can be held
489 in uniform variable storage for a fragment shader. The value is equal to the value of
490 <code class="constant">GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</code> divided by 4 and must be at least 256.
491 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
492 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_UNIFORM_BLOCKS</code></span></dt><dd><p>
493 </p><p>
494 <em class="parameter"><code>params</code></em> returns one value,
495 the maximum number of uniform blocks per fragment shader. The value must be at least 12.
496 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
497 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAMEBUFFER_WIDTH</code></span></dt><dd><p>
498 </p><p>
499 <em class="parameter"><code>params</code></em> returns one value,
500 the maximum width for a framebuffer that has no attachments, which must be at least 16384.
501 See <a href="glFramebufferParameter.xml"><span class="citerefentry"><span class="refentrytitle">glFramebufferParameter</span></span></a>.
502 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAMEBUFFER_HEIGHT</code></span></dt><dd><p>
503 </p><p>
504 <em class="parameter"><code>params</code></em> returns one value,
505 the maximum height for a framebuffer that has no attachments, which must be at least 16384.
506 See <a href="glFramebufferParameter.xml"><span class="citerefentry"><span class="refentrytitle">glFramebufferParameter</span></span></a>.
507 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAMEBUFFER_LAYERS</code></span></dt><dd><p>
508 </p><p>
509 <em class="parameter"><code>params</code></em> returns one value,
510 the maximum number of layers for a framebuffer that has no attachments, which must be at least 2048.
511 See <a href="glFramebufferParameter.xml"><span class="citerefentry"><span class="refentrytitle">glFramebufferParameter</span></span></a>.
512 </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAMEBUFFER_SAMPLES</code></span></dt><dd><p>
513 </p><p>
514 <em class="parameter"><code>params</code></em> returns one value,
515 the maximum samples in a framebuffer that has no attachments, which must be at least 4.
516 See <a href="glFramebufferParameter.xml"><span class="citerefentry"><span class="refentrytitle">glFramebufferParameter</span></span></a>.
517 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_ATOMIC_COUNTERS</code></span></dt><dd><p>
518 </p><p>
519 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to geometry shaders.
520 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
521 </p><p>
522 <em class="parameter"><code>params</code></em> returns one value,
523 the maximum number of active shader storage blocks that may be accessed by a geometry shader.
524 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_INPUT_COMPONENTS</code></span></dt><dd><p>
525 </p><p>
526 <em class="parameter"><code>params</code></em> returns one value,
527 the maximum number of components of inputs read by a geometry shader, which must be at least 64.
528 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_OUTPUT_COMPONENTS</code></span></dt><dd><p>
529 </p><p>
530 <em class="parameter"><code>params</code></em> returns one value,
531 the maximum number of components of outputs written by a geometry shader, which must be at least 128.
532 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p>
533 </p><p>
534 <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that
535 can be used to access texture maps from the geometry shader. The value must be at least 16.
536 See <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
537 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_UNIFORM_BLOCKS</code></span></dt><dd><p>
538 </p><p>
539 <em class="parameter"><code>params</code></em> returns one value,
540 the maximum number of uniform blocks per geometry shader. The value must be at least 12.
541 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
542 </p></dd><dt><span class="term"><code class="constant">GL_MAX_GEOMETRY_UNIFORM_COMPONENTS</code></span></dt><dd><p>
543 </p><p>
544 <em class="parameter"><code>params</code></em> returns one value,
545 the maximum number of individual floating-point, integer, or boolean values that can be held
546 in uniform variable storage for a geometry shader. The value must be at least 1024.
547 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
548 </p></dd><dt><span class="term"><code class="constant">GL_MAX_INTEGER_SAMPLES</code></span></dt><dd><p>
549 </p><p>
550 <em class="parameter"><code>params</code></em> returns one value,
551 the maximum number of samples supported in integer format multisample buffers.
552 </p></dd><dt><span class="term"><code class="constant">GL_MIN_MAP_BUFFER_ALIGNMENT</code></span></dt><dd><p>
553 </p><p>
554 <em class="parameter"><code>params</code></em> returns one value,
555 the minimum alignment in basic machine units of pointers returned from<a href="glMapBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glMapBuffer</span></span></a>
556 and <a href="glMapBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glMapBufferRange</span></span></a>. This value must be a power of two and must
557 be at least 64.
558 </p></dd><dt><span class="term"><code class="constant">GL_MAX_LABEL_LENGTH</code></span></dt><dd><p>
559 </p><p>
560 <em class="parameter"><code>params</code></em> returns one value,
561 the maximum length of a label that may be assigned to an object.
562 See <a href="glObjectLabel.xml"><span class="citerefentry"><span class="refentrytitle">glObjectLabel</span></span></a> and
563 <a href="glObjectPtrLabel.xml"><span class="citerefentry"><span class="refentrytitle">glObjectPtrLabel</span></span></a>.
564 </p></dd><dt><span class="term"><code class="constant">GL_MAX_PROGRAM_TEXEL_OFFSET</code></span></dt><dd><p>
565 </p><p>
566 <em class="parameter"><code>params</code></em> returns one value,
567 the maximum texel offset allowed in a texture lookup, which must be at least 7.
568 </p></dd><dt><span class="term"><code class="constant">GL_MIN_PROGRAM_TEXEL_OFFSET</code></span></dt><dd><p>
569 </p><p>
570 <em class="parameter"><code>params</code></em> returns one value,
571 the minimum texel offset allowed in a texture lookup, which must be at most -8.
572 </p></dd><dt><span class="term"><code class="constant">GL_MAX_RECTANGLE_TEXTURE_SIZE</code></span></dt><dd><p>
573 </p><p>
574 <em class="parameter"><code>params</code></em> returns one value.
575 The value gives a rough estimate of the largest rectangular texture that
576 the GL can handle. The value must be at least 1024.
577 Use <code class="constant">GL_PROXY_RECTANGLE_TEXTURE</code>
578 to determine if a texture is too large.
579 See <a href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>.
580 </p></dd><dt><span class="term"><code class="constant">GL_MAX_RENDERBUFFER_SIZE</code></span></dt><dd><p>
581 </p><p>
582 <em class="parameter"><code>params</code></em> returns one value.
583 The value indicates the maximum supported size for renderbuffers.
584 See <a href="glFramebufferRenderbuffer.xml"><span class="citerefentry"><span class="refentrytitle">glFramebufferRenderbuffer</span></span></a>.
585 </p></dd><dt><span class="term"><code class="constant">GL_MAX_SAMPLE_MASK_WORDS</code></span></dt><dd><p>
586 </p><p>
587 <em class="parameter"><code>params</code></em> returns one value,
588 the maximum number of sample mask words.
589 </p></dd><dt><span class="term"><code class="constant">GL_MAX_SERVER_WAIT_TIMEOUT</code></span></dt><dd><p>
590 </p><p>
591 <em class="parameter"><code>params</code></em> returns one value,
592 the maximum <a href="glWaitSync.xml"><span class="citerefentry"><span class="refentrytitle">glWaitSync</span></span></a> timeout interval.
593 </p></dd><dt><span class="term"><code class="constant">GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS</code></span></dt><dd><p>
594 </p><p>
595 <em class="parameter"><code>params</code></em> returns one value,
596 the maximum number of shader storage buffer binding points on the context, which must be at least 8.
597 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS</code></span></dt><dd><p>
598 </p><p>
599 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to tessellation control shaders.
600 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS</code></span></dt><dd><p>
601 </p><p>
602 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to tessellation evaluation shaders.
603 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
604 </p><p>
605 <em class="parameter"><code>params</code></em> returns one value,
606 the maximum number of active shader storage blocks that may be accessed by a tessellation control shader.
607 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
608 </p><p>
609 <em class="parameter"><code>params</code></em> returns one value,
610 the maximum number of active shader storage blocks that may be accessed by a tessellation evaluation shader.
611 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_BUFFER_SIZE</code></span></dt><dd><p>
612 </p><p>
613 <em class="parameter"><code>params</code></em> returns one value.
614 The value gives the maximum number of texels allowed in the texel array of a texture buffer object.
615 Value must be at least 65536.
616 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p>
617 </p><p>
618 <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that
619 can be used to access texture maps from the fragment shader.
620 The value must be at least 16.
621 See <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
622 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_LOD_BIAS</code></span></dt><dd><p>
623 </p><p>
624 <em class="parameter"><code>params</code></em> returns one value,
625 the maximum, absolute value of the texture level-of-detail bias. The
626 value must be at least 2.0.
627 </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_SIZE</code></span></dt><dd><p>
628 </p><p>
629 <em class="parameter"><code>params</code></em> returns one value.
630 The value gives a rough estimate of the largest texture that
631 the GL can handle. The value must be at least 1024.
632 Use a proxy texture target such as <code class="constant">GL_PROXY_TEXTURE_1D</code> or <code class="constant">GL_PROXY_TEXTURE_2D</code>
633 to determine if a texture is too large.
634 See <a href="glTexImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage1D</span></span></a> and <a href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>.
635 </p></dd><dt><span class="term"><code class="constant">GL_MAX_UNIFORM_BUFFER_BINDINGS</code></span></dt><dd><p>
636 </p><p>
637 <em class="parameter"><code>params</code></em> returns one value,
638 the maximum number of uniform buffer binding points on the context, which must be at least 36.
639 </p></dd><dt><span class="term"><code class="constant">GL_MAX_UNIFORM_BLOCK_SIZE</code></span></dt><dd><p>
640 </p><p>
641 <em class="parameter"><code>params</code></em> returns one value,
642 the maximum size in basic machine units of a uniform block, which must be at least 16384.
643 </p></dd><dt><span class="term"><code class="constant">GL_MAX_UNIFORM_LOCATIONS</code></span></dt><dd><p>
644 </p><p>
645 <em class="parameter"><code>params</code></em> returns one value,
646 the maximum number of explicitly assignable uniform locations, which must be at least 1024.
647 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VARYING_COMPONENTS</code></span></dt><dd><p>
648 </p><p>
649 <em class="parameter"><code>params</code></em> returns one value,
650 the number components for varying variables, which must be at least 60.
651 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VARYING_VECTORS</code></span></dt><dd><p>
652 </p><p>
653 <em class="parameter"><code>params</code></em> returns one value,
654 the number 4-vectors for varying variables, which is equal to the value of
655 <code class="constant">GL_MAX_VARYING_COMPONENTS</code> and must be at least 15.
656 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VARYING_FLOATS</code></span></dt><dd><p>
657 </p><p>
658 <em class="parameter"><code>params</code></em> returns one value,
659 the maximum number of interpolators available for processing varying variables used by
660 vertex and fragment shaders. This value represents the number of individual floating-point
661 values that can be interpolated; varying variables declared as vectors, matrices, and arrays
662 will all consume multiple interpolators. The value must be at least 32.
663 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_ATOMIC_COUNTERS</code></span></dt><dd><p>
664 </p><p>
665 <em class="parameter"><code>params</code></em> returns a single value, the maximum number of atomic counters available to vertex shaders.
666 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_ATTRIBS</code></span></dt><dd><p>
667 </p><p>
668 <em class="parameter"><code>params</code></em> returns one value,
669 the maximum number of 4-component generic vertex attributes accessible to a vertex shader.
670 The value must be at least 16.
671 See <a href="glVertexAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glVertexAttrib</span></span></a>.
672 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS</code></span></dt><dd><p>
673 </p><p>
674 <em class="parameter"><code>params</code></em> returns one value,
675 the maximum number of active shader storage blocks that may be accessed by a vertex shader.
676 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p>
677 </p><p>
678 <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that
679 can be used to access texture maps from the vertex shader. The value may be at least 16.
680 See <a href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>.
681 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_UNIFORM_COMPONENTS</code></span></dt><dd><p>
682 </p><p>
683 <em class="parameter"><code>params</code></em> returns one value,
684 the maximum number of individual floating-point, integer, or boolean values that can be held
685 in uniform variable storage for a vertex shader. The value must be at least 1024.
686 See <a href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>.
687 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_UNIFORM_VECTORS</code></span></dt><dd><p>
688 </p><p>
689 <em class="parameter"><code>params</code></em> returns one value,
690 the maximum number of 4-vectors that may be held in uniform variable storage for the vertex
691 shader. The value of <code class="constant">GL_MAX_VERTEX_UNIFORM_VECTORS</code> is equal to the
692 value of <code class="constant">GL_MAX_VERTEX_UNIFORM_COMPONENTS</code> and must be at least
693 256.
694 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_OUTPUT_COMPONENTS</code></span></dt><dd><p>
695 </p><p>
696 <em class="parameter"><code>params</code></em> returns one value,
697 the maximum number of components of output written by a vertex shader, which must be at least 64.
698 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_UNIFORM_BLOCKS</code></span></dt><dd><p>
699 </p><p>
700 <em class="parameter"><code>params</code></em> returns one value,
701 the maximum number of uniform blocks per vertex shader. The value must be at least 12.
702 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
703 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VIEWPORT_DIMS</code></span></dt><dd><p>
704 </p><p>
705 <em class="parameter"><code>params</code></em> returns two values:
706 the maximum supported width and height of the viewport.
707 These must be at least as large as the visible dimensions of the display
708 being rendered to.
709 See <a href="glViewport.xml"><span class="citerefentry"><span class="refentrytitle">glViewport</span></span></a>.
710 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VIEWPORTS</code></span></dt><dd><p>
711 </p><p>
712 <em class="parameter"><code>params</code></em> returns one value, the maximum number
713 of simultaneous viewports that are supported.
714 The value must be at least 16.
715 See <a href="glViewportIndexed.xml"><span class="citerefentry"><span class="refentrytitle">glViewportIndexed</span></span></a>.
716 </p></dd><dt><span class="term"><code class="constant">GL_MINOR_VERSION</code></span></dt><dd><p>
717 </p><p>
718 <em class="parameter"><code>params</code></em> returns one value,
719 the minor version number of the OpenGL API supported by the current context.
720 </p></dd><dt><span class="term"><code class="constant">GL_NUM_COMPRESSED_TEXTURE_FORMATS</code></span></dt><dd><p>
721 </p><p>
722 <em class="parameter"><code>params</code></em> returns a single integer value indicating the number of available
723 compressed texture formats. The minimum value is 4.
724 See <a href="glCompressedTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage2D</span></span></a>.
725 </p></dd><dt><span class="term"><code class="constant">GL_NUM_EXTENSIONS</code></span></dt><dd><p>
726 </p><p>
727 <em class="parameter"><code>params</code></em> returns one value,
728 the number of extensions supported by the GL implementation for the current context.
729 See <a href="glGetString.xml"><span class="citerefentry"><span class="refentrytitle">glGetString</span></span></a>.
730 </p></dd><dt><span class="term"><code class="constant">GL_NUM_PROGRAM_BINARY_FORMATS</code></span></dt><dd><p>
731 </p><p>
732 <em class="parameter"><code>params</code></em> returns one value,
733 the number of program binary formats supported by the implementation.
734 </p></dd><dt><span class="term"><code class="constant">GL_NUM_SHADER_BINARY_FORMATS</code></span></dt><dd><p>
735 </p><p>
736 <em class="parameter"><code>params</code></em> returns one value,
737 the number of binary shader formats supported by the implementation. If this value is
738 greater than zero, then the implementation supports loading binary shaders. If it is
739 zero, then the loading of binary shaders by the implementation is not supported.
740 </p></dd><dt><span class="term"><code class="constant">GL_PACK_ALIGNMENT</code></span></dt><dd><p>
741 </p><p>
742 <em class="parameter"><code>params</code></em> returns one value,
743 the byte alignment used for writing pixel data to memory. The initial
744 value is 4.
745 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
746 </p></dd><dt><span class="term"><code class="constant">GL_PACK_IMAGE_HEIGHT</code></span></dt><dd><p>
747 </p><p>
748 <em class="parameter"><code>params</code></em> returns one value,
749 the image height used for writing pixel data to memory. The initial
750 value is 0.
751 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
752 </p></dd><dt><span class="term"><code class="constant">GL_PACK_LSB_FIRST</code></span></dt><dd><p>
753 </p><p>
754 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether single-bit
755 pixels being written to memory are written first to the least significant
756 bit of each unsigned byte. The initial value is <code class="constant">GL_FALSE</code>.
757 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
758 </p></dd><dt><span class="term"><code class="constant">GL_PACK_ROW_LENGTH</code></span></dt><dd><p>
759 </p><p>
760 <em class="parameter"><code>params</code></em> returns one value,
761 the row length used for writing pixel data to memory. The initial value is
762 0.
763 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
764 </p></dd><dt><span class="term"><code class="constant">GL_PACK_SKIP_IMAGES</code></span></dt><dd><p>
765 </p><p>
766 <em class="parameter"><code>params</code></em> returns one value,
767 the number of pixel images skipped before the first pixel is written
768 into memory. The initial value is 0.
769 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
770 </p></dd><dt><span class="term"><code class="constant">GL_PACK_SKIP_PIXELS</code></span></dt><dd><p>
771 </p><p>
772 <em class="parameter"><code>params</code></em> returns one value,
773 the number of pixel locations skipped before the first pixel is written
774 into memory. The initial value is 0.
775 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
776 </p></dd><dt><span class="term"><code class="constant">GL_PACK_SKIP_ROWS</code></span></dt><dd><p>
777 </p><p>
778 <em class="parameter"><code>params</code></em> returns one value,
779 the number of rows of pixel locations skipped before the first pixel is written
780 into memory. The initial value is 0.
781 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
782 </p></dd><dt><span class="term"><code class="constant">GL_PACK_SWAP_BYTES</code></span></dt><dd><p>
783 </p><p>
784 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the bytes of
785 two-byte and four-byte pixel indices and components are swapped before being
786 written to memory. The initial value is <code class="constant">GL_FALSE</code>.
787 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
788 </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_PACK_BUFFER_BINDING</code></span></dt><dd><p>
789 </p><p>
790 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
791 currently bound to the target <code class="constant">GL_PIXEL_PACK_BUFFER</code>. If no buffer object
792 is bound to this target, 0 is returned. The initial value is 0.
793 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>.
794 </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_UNPACK_BUFFER_BINDING</code></span></dt><dd><p>
795 </p><p>
796 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
797 currently bound to the target <code class="constant">GL_PIXEL_UNPACK_BUFFER</code>. If no buffer object
798 is bound to this target, 0 is returned. The initial value is 0.
799 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>.
800 </p></dd><dt><span class="term"><code class="constant">GL_POINT_FADE_THRESHOLD_SIZE</code></span></dt><dd><p>
801 </p><p>
802 <em class="parameter"><code>params</code></em> returns one value,
803 the point size threshold for determining the point size.
804 See <a href="glPointParameter.xml"><span class="citerefentry"><span class="refentrytitle">glPointParameter</span></span></a>.
805 </p></dd><dt><span class="term"><code class="constant">GL_PRIMITIVE_RESTART_INDEX</code></span></dt><dd><p>
806 </p><p>
807 <em class="parameter"><code>params</code></em> returns one value,
808 the current primitive restart index. The initial value is 0.
809 See <a href="glPrimitiveRestartIndex.xml"><span class="citerefentry"><span class="refentrytitle">glPrimitiveRestartIndex</span></span></a>.
810 </p></dd><dt><span class="term"><code class="constant">GL_PROGRAM_BINARY_FORMATS</code></span></dt><dd><p>
811 </p><p>
812 <em class="parameter"><code>params</code></em> an array of <code class="constant">GL_NUM_PROGRAM_BINARY_FORMATS</code> values,
813 indicating the proram binary formats supported by the implementation.
814 </p></dd><dt><span class="term"><code class="constant">GL_PROGRAM_PIPELINE_BINDING</code></span></dt><dd><p>
815 </p><p>
816 <em class="parameter"><code>params</code></em> a single value, the name of the currently bound program pipeline
817 object, or zero if no program pipeline object is bound.
818 See <a href="glBindProgramPipeline.xml"><span class="citerefentry"><span class="refentrytitle">glBindProgramPipeline</span></span></a>.
819 </p></dd><dt><span class="term"><code class="constant">GL_PROVOKING_VERTEX</code></span></dt><dd><p>
820 </p><p>
821 <em class="parameter"><code>params</code></em> returns one value,
822 the currently selected provoking vertex convention. The initial value is <code class="constant">GL_LAST_VERTEX_CONVENTION</code>.
823 See <a href="glProvokingVertex.xml"><span class="citerefentry"><span class="refentrytitle">glProvokingVertex</span></span></a>.
824 </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE</code></span></dt><dd><p>
825 </p><p>
826 <em class="parameter"><code>params</code></em> returns one value,
827 the point size as specified by <a href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>.
828 The initial value is 1.
829 </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE_GRANULARITY</code></span></dt><dd><p>
830 </p><p>
831 <em class="parameter"><code>params</code></em> returns one value,
832 the size difference between adjacent supported sizes for antialiased points.
833 See <a href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>.
834 </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE_RANGE</code></span></dt><dd><p>
835 </p><p>
836 <em class="parameter"><code>params</code></em> returns two values:
837 the smallest and largest supported sizes for antialiased
838 points. The smallest size must be at most 1, and the largest size must
839 be at least 1.
840 See <a href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>.
841 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_FACTOR</code></span></dt><dd><p>
842 </p><p>
843 <em class="parameter"><code>params</code></em> returns one value,
844 the scaling factor used to determine the variable offset that is added
845 to the depth value of each fragment generated when a polygon is
846 rasterized. The initial value is 0.
847 See <a href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>.
848 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_UNITS</code></span></dt><dd><p>
849 </p><p>
850 <em class="parameter"><code>params</code></em> returns one value.
851 This value is multiplied by an implementation-specific value and then
852 added to the depth value of each fragment
853 generated when a polygon is rasterized. The initial value is 0.
854 See <a href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>.
855 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_FILL</code></span></dt><dd><p>
856 </p><p>
857 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon offset
858 is enabled for polygons in fill mode. The initial value is <code class="constant">GL_FALSE</code>.
859 See <a href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>.
860 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_LINE</code></span></dt><dd><p>
861 </p><p>
862 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon offset
863 is enabled for polygons in line mode. The initial value is <code class="constant">GL_FALSE</code>.
864 See <a href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>.
865 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_POINT</code></span></dt><dd><p>
866 </p><p>
867 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon offset
868 is enabled for polygons in point mode. The initial value is <code class="constant">GL_FALSE</code>.
869 See <a href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>.
870 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_SMOOTH</code></span></dt><dd><p>
871 </p><p>
872 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether antialiasing of
873 polygons is enabled. The initial value is <code class="constant">GL_FALSE</code>.
874 See <a href="glPolygonMode.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonMode</span></span></a>.
875 </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_SMOOTH_HINT</code></span></dt><dd><p>
876 </p><p>
877 <em class="parameter"><code>params</code></em> returns one value,
878 a symbolic constant indicating the mode of the polygon antialiasing
879 hint. The initial value is <code class="constant">GL_DONT_CARE</code>.
880 See <a href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>.
881 </p></dd><dt><span class="term"><code class="constant">GL_READ_BUFFER</code></span></dt><dd><p>
882 </p><p>
883 <em class="parameter"><code>params</code></em> returns one value,
884 a symbolic constant indicating which color buffer is selected for
885 reading. The initial value is <code class="constant">GL_BACK</code> if there is a back buffer,
886 otherwise it is <code class="constant">GL_FRONT</code>.
887 See
888 <a href="glReadPixels.xml"><span class="citerefentry"><span class="refentrytitle">glReadPixels</span></span></a>.
889 </p></dd><dt><span class="term"><code class="constant">GL_RENDERBUFFER_BINDING</code></span></dt><dd><p>
890 </p><p>
891 <em class="parameter"><code>params</code></em> returns a single value, the name of the renderbuffer object
892 currently bound to the target <code class="constant">GL_RENDERBUFFER</code>. If no renderbuffer object
893 is bound to this target, 0 is returned. The initial value is 0.
894 See <a href="glBindRenderbuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindRenderbuffer</span></span></a>.
895 </p></dd><dt><span class="term"><code class="constant">GL_SAMPLE_BUFFERS</code></span></dt><dd><p>
896 </p><p>
897 <em class="parameter"><code>params</code></em> returns a single integer value indicating the number of sample buffers
898 associated with the framebuffer.
899 See <a href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>.
900 </p></dd><dt><span class="term"><code class="constant">GL_SAMPLE_COVERAGE_VALUE</code></span></dt><dd><p>
901 </p><p>
902 <em class="parameter"><code>params</code></em> returns a single positive floating-point value indicating the
903 current sample coverage value.
904 See <a href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>.
905 </p></dd><dt><span class="term"><code class="constant">GL_SAMPLE_COVERAGE_INVERT</code></span></dt><dd><p>
906 </p><p>
907 <em class="parameter"><code>params</code></em> returns a single boolean value indicating if the temporary
908 coverage value should be inverted.
909 See <a href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>.
910 </p></dd><dt><span class="term"><code class="constant">GL_SAMPLER_BINDING</code></span></dt><dd><p>
911 </p><p>
912 <em class="parameter"><code>params</code></em> returns a single value, the name of the sampler object
913 currently bound to the active texture unit. The initial value is 0.
914 See <a href="glBindSampler.xml"><span class="citerefentry"><span class="refentrytitle">glBindSampler</span></span></a>.
915 </p></dd><dt><span class="term"><code class="constant">GL_SAMPLES</code></span></dt><dd><p>
916 </p><p>
917 <em class="parameter"><code>params</code></em> returns a single integer value indicating the coverage mask size.
918 See <a href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>.
919 </p></dd><dt><span class="term"><code class="constant">GL_SCISSOR_BOX</code></span></dt><dd><p>
920 </p><p>
921 <em class="parameter"><code>params</code></em> returns four values:
922 the
923 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math>
924 and
925 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math>
926 window coordinates of the scissor box,
927 followed by its width and height.
928 Initially the
929 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math>
930 and
931 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math>
932 window coordinates are both 0 and the
933 width and height are set to the size of the window.
934 See <a href="glScissor.xml"><span class="citerefentry"><span class="refentrytitle">glScissor</span></span></a>.
935 </p></dd><dt><span class="term"><code class="constant">GL_SCISSOR_TEST</code></span></dt><dd><p>
936 </p><p>
937 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether scissoring is
938 enabled. The initial value is <code class="constant">GL_FALSE</code>.
939 See <a href="glScissor.xml"><span class="citerefentry"><span class="refentrytitle">glScissor</span></span></a>.
940 </p></dd><dt><span class="term"><code class="constant">GL_SHADER_COMPILER</code></span></dt><dd><p>
941 </p><p>
942 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether an online shader
943 compiler is present in the implementation. All desktop OpenGL implementations must support
944 online shader compilations, and therefore the value of <code class="constant">GL_SHADER_COMPILER</code>
945 will always be <code class="constant">GL_TRUE</code>.
946 </p></dd><dt><span class="term"><code class="constant">GL_SHADER_STORAGE_BUFFER_BINDING</code></span></dt><dd><p>
947 </p><p>
948 When used with non-indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegerv</code>),
949 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
950 currently bound to the target <code class="constant">GL_SHADER_STORAGE_BUFFER</code>. If no buffer object
951 is bound to this target, 0 is returned.
952 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegeri_v</code>),
953 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
954 bound to the indexed shader storage buffer binding points. The initial value is 0 for all targets.
955 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>, <a href="glBindBufferBase.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferBase</span></span></a>, and
956 <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
957 </p></dd><dt><span class="term"><code class="constant">GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT</code></span></dt><dd><p>
958 </p><p>
959 <em class="parameter"><code>params</code></em> returns a single value, the minimum required alignment
960 for shader storage buffer sizes and offset. The initial value is 1.
961 See <a href="glShaderStorateBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glShaderStorateBlockBinding</span></span></a>.
962 </p></dd><dt><span class="term"><code class="constant">GL_SHADER_STORAGE_BUFFER_START</code></span></dt><dd><p>
963 </p><p>
964 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetInteger64i_v</code>),
965 <em class="parameter"><code>params</code></em> returns a single value, the start offset of the binding range for each
966 indexed shader storage buffer binding. The initial value is 0 for all bindings.
967 See <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
968 </p></dd><dt><span class="term"><code class="constant">GL_SHADER_STORAGE_BUFFER_SIZE</code></span></dt><dd><p>
969 </p><p>
970 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetInteger64i_v</code>),
971 <em class="parameter"><code>params</code></em> returns a single value, the size of the binding range for each
972 indexed shader storage buffer binding. The initial value is 0 for all bindings.
973 See <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
974 </p></dd><dt><span class="term"><code class="constant">GL_SMOOTH_LINE_WIDTH_RANGE</code></span></dt><dd><p>
975 </p><p>
976 <em class="parameter"><code>params</code></em> returns a pair of values indicating the range of
977 widths supported for smooth (antialiased) lines. See <a href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>.
978 </p></dd><dt><span class="term"><code class="constant">GL_SMOOTH_LINE_WIDTH_GRANULARITY</code></span></dt><dd><p>
979 </p><p>
980 <em class="parameter"><code>params</code></em> returns a single value indicating the level of
981 quantization applied to smooth line width parameters.
982 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_FAIL</code></span></dt><dd><p>
983 </p><p>
984 <em class="parameter"><code>params</code></em> returns one value,
985 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
986 test fails. The initial value is <code class="constant">GL_KEEP</code>.
987 See <a href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>.
988 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_FUNC</code></span></dt><dd><p>
989 </p><p>
990 <em class="parameter"><code>params</code></em> returns one value,
991 a symbolic constant indicating what function is used for back-facing polygons to compare the
992 stencil reference value with the stencil buffer value. The initial value
993 is <code class="constant">GL_ALWAYS</code>.
994 See <a href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>.
995 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_PASS_DEPTH_FAIL</code></span></dt><dd><p>
996 </p><p>
997 <em class="parameter"><code>params</code></em> returns one value,
998 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
999 test passes,
1000 but the depth test fails. The initial value is <code class="constant">GL_KEEP</code>.
1001 See <a href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>.
1002 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_PASS_DEPTH_PASS</code></span></dt><dd><p>
1003 </p><p>
1004 <em class="parameter"><code>params</code></em> returns one value,
1005 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
1006 test passes and the depth test passes. The initial value is <code class="constant">GL_KEEP</code>.
1007 See <a href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>.
1008 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_REF</code></span></dt><dd><p>
1009 </p><p>
1010 <em class="parameter"><code>params</code></em> returns one value,
1011 the reference value that is compared with the contents of the stencil
1012 buffer for back-facing polygons. The initial value is 0.
1013 See <a href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>.
1014 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_VALUE_MASK</code></span></dt><dd><p>
1015 </p><p>
1016 <em class="parameter"><code>params</code></em> returns one value,
1017 the mask that is used for back-facing polygons to mask both the stencil reference value and the
1018 stencil buffer value before they are compared. The initial value is all 1's.
1019 See <a href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>.
1020 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_WRITEMASK</code></span></dt><dd><p>
1021 </p><p>
1022 <em class="parameter"><code>params</code></em> returns one value,
1023 the mask that controls writing of the stencil bitplanes for back-facing polygons. The initial value
1024 is all 1's.
1025 See <a href="glStencilMaskSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilMaskSeparate</span></span></a>.
1026 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_CLEAR_VALUE</code></span></dt><dd><p>
1027 </p><p>
1028 <em class="parameter"><code>params</code></em> returns one value,
1029 the index to which the stencil bitplanes are cleared. The initial value is
1030 0.
1031 See <a href="glClearStencil.xml"><span class="citerefentry"><span class="refentrytitle">glClearStencil</span></span></a>.
1032 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_FAIL</code></span></dt><dd><p>
1033 </p><p>
1034 <em class="parameter"><code>params</code></em> returns one value,
1035 a symbolic constant indicating what action is taken when the stencil
1036 test fails. The initial value is <code class="constant">GL_KEEP</code>.
1037 See <a href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>.
1038 This stencil state only affects non-polygons
1039 and front-facing polygons. Back-facing polygons use separate stencil state.
1040 See <a href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>.
1041 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_FUNC</code></span></dt><dd><p>
1042 </p><p>
1043 <em class="parameter"><code>params</code></em> returns one value,
1044 a symbolic constant indicating what function is used to compare the
1045 stencil reference value with the stencil buffer value. The initial value
1046 is <code class="constant">GL_ALWAYS</code>.
1047 See <a href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a>.
1048 This stencil state only affects non-polygons
1049 and front-facing polygons. Back-facing polygons use separate stencil state.
1050 See <a href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>.
1051 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_PASS_DEPTH_FAIL</code></span></dt><dd><p>
1052 </p><p>
1053 <em class="parameter"><code>params</code></em> returns one value,
1054 a symbolic constant indicating what action is taken when the stencil
1055 test passes,
1056 but the depth test fails. The initial value is <code class="constant">GL_KEEP</code>.
1057 See <a href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>.
1058 This stencil state only affects non-polygons
1059 and front-facing polygons. Back-facing polygons use separate stencil state.
1060 See <a href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>.
1061 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_PASS_DEPTH_PASS</code></span></dt><dd><p>
1062 </p><p>
1063 <em class="parameter"><code>params</code></em> returns one value,
1064 a symbolic constant indicating what action is taken when the stencil
1065 test passes and the depth test passes. The initial value is <code class="constant">GL_KEEP</code>.
1066 See <a href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>.
1067 This stencil state only affects non-polygons
1068 and front-facing polygons. Back-facing polygons use separate stencil state.
1069 See <a href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>.
1070 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_REF</code></span></dt><dd><p>
1071 </p><p>
1072 <em class="parameter"><code>params</code></em> returns one value,
1073 the reference value that is compared with the contents of the stencil
1074 buffer. The initial value is 0.
1075 See <a href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a>.
1076 This stencil state only affects non-polygons
1077 and front-facing polygons. Back-facing polygons use separate stencil state.
1078 See <a href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>.
1079 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_TEST</code></span></dt><dd><p>
1080 </p><p>
1081 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether stencil testing
1082 of fragments is enabled. The initial value is <code class="constant">GL_FALSE</code>.
1083 See <a href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a> and <a href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>.
1084 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_VALUE_MASK</code></span></dt><dd><p>
1085 </p><p>
1086 <em class="parameter"><code>params</code></em> returns one value,
1087 the mask that is used to mask both the stencil reference value and the
1088 stencil buffer value before they are compared. The initial value is all 1's.
1089 See <a href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a>.
1090 This stencil state only affects non-polygons
1091 and front-facing polygons. Back-facing polygons use separate stencil state.
1092 See <a href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>.
1093 </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_WRITEMASK</code></span></dt><dd><p>
1094 </p><p>
1095 <em class="parameter"><code>params</code></em> returns one value,
1096 the mask that controls writing of the stencil bitplanes. The initial value
1097 is all 1's.
1098 See <a href="glStencilMask.xml"><span class="citerefentry"><span class="refentrytitle">glStencilMask</span></span></a>.
1099 This stencil state only affects non-polygons
1100 and front-facing polygons. Back-facing polygons use separate stencil state.
1101 See <a href="glStencilMaskSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilMaskSeparate</span></span></a>.
1102 </p></dd><dt><span class="term"><code class="constant">GL_STEREO</code></span></dt><dd><p>
1103 </p><p>
1104 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether stereo buffers
1105 (left and right) are supported.
1106 </p></dd><dt><span class="term"><code class="constant">GL_SUBPIXEL_BITS</code></span></dt><dd><p>
1107 </p><p>
1108 <em class="parameter"><code>params</code></em> returns one value,
1109 an estimate of the number of bits of subpixel resolution that are used to
1110 position rasterized geometry in window coordinates. The value must be at least 4.
1111 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_1D</code></span></dt><dd><p>
1112 </p><p>
1113 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1114 currently bound to the target <code class="constant">GL_TEXTURE_1D</code>. The initial value is 0.
1115 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1116 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_1D_ARRAY</code></span></dt><dd><p>
1117 </p><p>
1118 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1119 currently bound to the target <code class="constant">GL_TEXTURE_1D_ARRAY</code>. The initial value is 0.
1120 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1121 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_2D</code></span></dt><dd><p>
1122 </p><p>
1123 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1124 currently bound to the target <code class="constant">GL_TEXTURE_2D</code>. The initial value is 0.
1125 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1126 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_2D_ARRAY</code></span></dt><dd><p>
1127 </p><p>
1128 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1129 currently bound to the target <code class="constant">GL_TEXTURE_2D_ARRAY</code>. The initial value is 0.
1130 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1131 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_2D_MULTISAMPLE</code></span></dt><dd><p>
1132 </p><p>
1133 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1134 currently bound to the target <code class="constant">GL_TEXTURE_2D_MULTISAMPLE</code>. The initial value is 0.
1135 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1136 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY</code></span></dt><dd><p>
1137 </p><p>
1138 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1139 currently bound to the target <code class="constant">GL_TEXTURE_2D_MULTISAMPLE_ARRAY</code>. The initial value is 0.
1140 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1141 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_3D</code></span></dt><dd><p>
1142 </p><p>
1143 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1144 currently bound to the target <code class="constant">GL_TEXTURE_3D</code>. The initial value is 0.
1145 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1146 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_BUFFER</code></span></dt><dd><p>
1147 </p><p>
1148 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1149 currently bound to the target <code class="constant">GL_TEXTURE_BUFFER</code>. The initial value is 0.
1150 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1151 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_CUBE_MAP</code></span></dt><dd><p>
1152 </p><p>
1153 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1154 currently bound to the target <code class="constant">GL_TEXTURE_CUBE_MAP</code>. The initial value is 0.
1155 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1156 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_RECTANGLE</code></span></dt><dd><p>
1157 </p><p>
1158 <em class="parameter"><code>params</code></em> returns a single value, the name of the texture
1159 currently bound to the target <code class="constant">GL_TEXTURE_RECTANGLE</code>. The initial value is 0.
1160 See <a href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>.
1161 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COMPRESSION_HINT</code></span></dt><dd><p>
1162 </p><p>
1163 <em class="parameter"><code>params</code></em> returns a single value indicating the mode of the texture
1164 compression hint. The initial value is <code class="constant">GL_DONT_CARE</code>.
1165 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BUFFER_BINDING</code></span></dt><dd><p>
1166 </p><p>
1167 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
1168 currently bound to the <code class="constant">GL_TEXTURE_BUFFER</code> buffer binding point. The initial value is 0.
1169 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>.
1170 </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT</code></span></dt><dd><p>
1171 </p><p>
1172 <em class="parameter"><code>params</code></em> returns a single value, the minimum required alignment
1173 for texture buffer sizes and offset. The initial value is 1.
1174 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
1175 </p></dd><dt><span class="term"><code class="constant">GL_TIMESTAMP</code></span></dt><dd><p>
1176 </p><p>
1177 <em class="parameter"><code>params</code></em> returns a single value, the 64-bit value of the current
1178 GL time.
1179 See <a href="glQueryCounter.xml"><span class="citerefentry"><span class="refentrytitle">glQueryCounter</span></span></a>.
1180 </p></dd><dt><span class="term"><code class="constant">GL_TRANSFORM_FEEDBACK_BUFFER_BINDING</code></span></dt><dd><p>
1181 </p><p>
1182 When used with non-indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegerv</code>),
1183 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
1184 currently bound to the target <code class="constant">GL_TRANSFORM_FEEDBACK_BUFFER</code>. If no buffer object
1185 is bound to this target, 0 is returned.
1186 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegeri_v</code>),
1187 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
1188 bound to the indexed transform feedback attribute stream. The initial value is 0 for all targets.
1189 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>, <a href="glBindBufferBase.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferBase</span></span></a>, and
1190 <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
1191 </p></dd><dt><span class="term"><code class="constant">GL_TRANSFORM_FEEDBACK_BUFFER_START</code></span></dt><dd><p>
1192 </p><p>
1193 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetInteger64i_v</code>),
1194 <em class="parameter"><code>params</code></em> returns a single value, the start offset of the binding range for each
1195 transform feedback attribute stream. The initial value is 0 for all streams.
1196 See <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
1197 </p></dd><dt><span class="term"><code class="constant">GL_TRANSFORM_FEEDBACK_BUFFER_SIZE</code></span></dt><dd><p>
1198 </p><p>
1199 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetInteger64i_v</code>),
1200 <em class="parameter"><code>params</code></em> returns a single value, the size of the binding range for each
1201 transform feedback attribute stream. The initial value is 0 for all streams.
1202 See <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
1203 </p></dd><dt><span class="term"><code class="constant">GL_UNIFORM_BUFFER_BINDING</code></span></dt><dd><p>
1204 </p><p>
1205 When used with non-indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegerv</code>),
1206 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
1207 currently bound to the target <code class="constant">GL_UNIFORM_BUFFER</code>. If no buffer object
1208 is bound to this target, 0 is returned.
1209 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegeri_v</code>),
1210 <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object
1211 bound to the indexed uniform buffer binding point. The initial value is 0 for all targets.
1212 See <a href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>, <a href="glBindBufferBase.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferBase</span></span></a>, and
1213 <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
1214 </p></dd><dt><span class="term"><code class="constant">GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT</code></span></dt><dd><p>
1215 </p><p>
1216 <em class="parameter"><code>params</code></em> returns a single value, the minimum required alignment
1217 for uniform buffer sizes and offset. The initial value is 1.
1218 See <a href="glUniformBlockBinding.xml"><span class="citerefentry"><span class="refentrytitle">glUniformBlockBinding</span></span></a>.
1219 </p></dd><dt><span class="term"><code class="constant">GL_UNIFORM_BUFFER_SIZE</code></span></dt><dd><p>
1220 </p><p>
1221 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetInteger64i_v</code>),
1222 <em class="parameter"><code>params</code></em> returns a single value, the size of the binding range for each
1223 indexed uniform buffer binding. The initial value is 0 for all bindings.
1224 See <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
1225 </p></dd><dt><span class="term"><code class="constant">GL_UNIFORM_BUFFER_START</code></span></dt><dd><p>
1226 </p><p>
1227 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetInteger64i_v</code>),
1228 <em class="parameter"><code>params</code></em> returns a single value, the start offset of the binding range for each
1229 indexed uniform buffer binding. The initial value is 0 for all bindings.
1230 See <a href="glBindBufferRange.xml"><span class="citerefentry"><span class="refentrytitle">glBindBufferRange</span></span></a>.
1231 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_ALIGNMENT</code></span></dt><dd><p>
1232 </p><p>
1233 <em class="parameter"><code>params</code></em> returns one value,
1234 the byte alignment used for reading pixel data from memory. The initial
1235 value is 4.
1236 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1237 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_IMAGE_HEIGHT</code></span></dt><dd><p>
1238 </p><p>
1239 <em class="parameter"><code>params</code></em> returns one value,
1240 the image height used for reading pixel data from memory. The initial
1241 is 0.
1242 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1243 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_LSB_FIRST</code></span></dt><dd><p>
1244 </p><p>
1245 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether single-bit
1246 pixels being read from memory are read first from the least significant
1247 bit of each unsigned byte. The initial value is <code class="constant">GL_FALSE</code>.
1248 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1249 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_ROW_LENGTH</code></span></dt><dd><p>
1250 </p><p>
1251 <em class="parameter"><code>params</code></em> returns one value,
1252 the row length used for reading pixel data from memory. The initial value
1253 is 0.
1254 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1255 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SKIP_IMAGES</code></span></dt><dd><p>
1256 </p><p>
1257 <em class="parameter"><code>params</code></em> returns one value,
1258 the number of pixel images skipped before the first pixel is read
1259 from memory. The initial value is 0.
1260 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1261 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SKIP_PIXELS</code></span></dt><dd><p>
1262 </p><p>
1263 <em class="parameter"><code>params</code></em> returns one value,
1264 the number of pixel locations skipped before the first pixel is read
1265 from memory. The initial value is 0.
1266 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1267 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SKIP_ROWS</code></span></dt><dd><p>
1268 </p><p>
1269 <em class="parameter"><code>params</code></em> returns one value,
1270 the number of rows of pixel locations skipped before the first pixel is read
1271 from memory. The initial value is 0.
1272 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1273 </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SWAP_BYTES</code></span></dt><dd><p>
1274 </p><p>
1275 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the bytes of
1276 two-byte and four-byte pixel indices and components are swapped after being
1277 read from memory. The initial value is <code class="constant">GL_FALSE</code>.
1278 See <a href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>.
1279 </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_PROGRAM_POINT_SIZE</code></span></dt><dd><p>
1280 </p><p>
1281 <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether vertex
1282 program point size mode is enabled. If enabled, and a vertex shader is active, then the
1283 point size is taken from the shader built-in <code class="code">gl_PointSize</code>. If disabled,
1284 and a vertex shader is active, then the point size is taken from the point state as specified
1285 by <a href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>.
1286 The initial value is <code class="constant">GL_FALSE</code>.
1287 </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_BINDING_DIVISOR</code></span></dt><dd><p>
1288 </p><p>
1289 Accepted by the indexed forms. <em class="parameter"><code>params</code></em> returns a single integer value representing the instance step
1290 divisor of the first element in the bound buffer's data store for vertex attribute bound to <em class="parameter"><code>index</code></em>.
1291 </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_BINDING_OFFSET</code></span></dt><dd><p>
1292 </p><p>
1293 Accepted by the indexed forms. <em class="parameter"><code>params</code></em> returns a single integer value representing the byte offset
1294 of the first element in the bound buffer's data store for vertex attribute bound to <em class="parameter"><code>index</code></em>.
1295 </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_BINDING_STRIDE</code></span></dt><dd><p>
1296 </p><p>
1297 Accepted by the indexed forms. <em class="parameter"><code>params</code></em> returns a single integer value representing the byte offset
1298 between the start of each element in the bound buffer's data store for vertex attribute bound to <em class="parameter"><code>index</code></em>.
1299 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET</code></span></dt><dd><p>
1300 </p><p>
1301 <em class="parameter"><code>params</code></em> returns a single integer value containing the maximum offset that may be added to a vertex binding
1302 offset.
1303 </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_ATTRIB_BINDINGS</code></span></dt><dd><p>
1304 </p><p>
1305 <em class="parameter"><code>params</code></em> returns a single integer value containing the maximum number of vertex buffers that may be bound.
1306 </p></dd><dt><span class="term"><code class="constant">GL_VIEWPORT</code></span></dt><dd><p>
1307 </p><p>
1308 When used with non-indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegerv</code>),
1309 <em class="parameter"><code>params</code></em> returns four values:
1310 the
1311 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math>
1312 and
1313 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math>
1314 window coordinates of the viewport, followed by its width and height.
1315 Initially the
1316 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math>
1317 and
1318 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math>
1319 window coordinates are both set to 0,
1320 and the width and height are set to the width and height of the window into
1321 which the GL will do its rendering.
1322 See <a href="glViewport.xml"><span class="citerefentry"><span class="refentrytitle">glViewport</span></span></a>.
1323
1324 When used with indexed variants of <code class="function">glGet</code> (such as <code class="function">glGetIntegeri_v</code>),
1325 <em class="parameter"><code>params</code></em> returns four values:
1326 the
1327 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math>
1328 and
1329 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math>
1330 window coordinates of the indexed viewport, followed by its width and height.
1331 Initially the
1332 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math>
1333 and
1334 <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math>
1335 window coordinates are both set to 0,
1336 and the width and height are set to the width and height of the window into
1337 which the GL will do its rendering.
1338 See <a href="glViewportIndexedf.xml"><span class="citerefentry"><span class="refentrytitle">glViewportIndexedf</span></span></a>.
1339 </p></dd><dt><span class="term"><code class="constant">GL_VIEWPORT_BOUNDS_RANGE</code></span></dt><dd><p>
1340 </p><p>
1341 <em class="parameter"><code>params</code></em> returns two values, the minimum and maximum viewport bounds range.
1342 The minimum range should be at least [-32768, 32767].
1343 </p></dd><dt><span class="term"><code class="constant">GL_VIEWPORT_INDEX_PROVOKING_VERTEX</code></span></dt><dd><p>
1344 </p><p>
1345 <em class="parameter"><code>params</code></em> returns one value,
1346 the implementation dependent specifc vertex of a primitive that is used to select the viewport index.
1347 If the value returned is equivalent to <code class="constant">GL_PROVOKING_VERTEX</code>, then the vertex
1348 selection follows the convention specified by
1349 <a href="glProvokingVertex.xml"><span class="citerefentry"><span class="refentrytitle">glProvokingVertex</span></span></a>.
1350 If the value returned is equivalent to <code class="constant">GL_FIRST_VERTEX_CONVENTION</code>, then the
1351 selection is always taken from the first vertex in the primitive.
1352 If the value returned is equivalent to <code class="constant">GL_LAST_VERTEX_CONVENTION</code>, then the
1353 selection is always taken from the last vertex in the primitive.
1354 If the value returned is equivalent to <code class="constant">GL_UNDEFINED_VERTEX</code>, then the
1355 selection is not guaranteed to be taken from any specific vertex in the primitive.
1356 </p></dd><dt><span class="term"><code class="constant">GL_VIEWPORT_SUBPIXEL_BITS</code></span></dt><dd><p>
1357 </p><p>
1358 <em class="parameter"><code>params</code></em> returns a single value, the number of bits of sub-pixel precision which the GL
1359 uses to interpret the floating point viewport bounds. The minimum value is 0.
1360 </p></dd><dt><span class="term"><code class="constant">GL_MAX_ELEMENT_INDEX</code></span></dt><dd><p>
1361 </p><p>
1362 <em class="parameter"><code>params</code></em> returns a single value, the maximum index that may be specified during the
1363 transfer of generic vertex attributes to the GL.
1364 </p></dd></dl></div><p>
1365 Many of the boolean parameters can also be queried more easily using
1366 <a href="glIsEnabled.xml"><span class="citerefentry"><span class="refentrytitle">glIsEnabled</span></span></a>.
1367 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="notes"></a><h2>Notes</h2><p>
1368 The following parameters return the associated value for the active texture unit:
1369 <code class="constant">GL_TEXTURE_1D</code>, <code class="constant">GL_TEXTURE_BINDING_1D</code>,
1370 <code class="constant">GL_TEXTURE_2D</code>, <code class="constant">GL_TEXTURE_BINDING_2D</code>,
1371 <code class="constant">GL_TEXTURE_3D</code> and <code class="constant">GL_TEXTURE_BINDING_3D</code>.
1372 </p><p>
1373 <code class="constant">GL_MAX_VIEWPORTS</code>, <code class="constant">GL_VIEWPORT_SUBPIXEL_BITS</code>,
1374 <code class="constant">GL_VIEWPORT_BOUNDS_RANGE</code>, <code class="constant">GL_LAYER_PROVOKING_VERTEX</code>,
1375 and <code class="constant">GL_VIEWPORT_INDEX_PROVOKING_VERTEX</code>
1376 are available only if the GL version is 4.1 or greater.
1377 </p><p>
1378 <code class="constant">GL_MAX_VERTEX_ATOMIC_COUNTERS</code>,
1379 <code class="constant">GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS</code>,
1380 <code class="constant">GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS</code>,
1381 <code class="constant">GL_MAX_GEOMETRY_ATOMIC_COUNTERS</code>,
1382 <code class="constant">GL_MAX_FRAMGENT_ATOMIC_COUNTERS</code>, and
1383 <code class="constant">GL_MIN_MAP_BUFFER_ALIGNMENT</code> are accepted by <em class="parameter"><code>pname</code></em>
1384 only if the GL version is 4.2 or greater.
1385 </p><p>
1386 <code class="constant">GL_MAX_ELEMENT_INDEX</code> is accepted by <em class="parameter"><code>pname</code></em> only
1387 if the GL version is 4.3 or greater.
1388 </p><p>
1389 <code class="constant">GL_MAX_COMPUTE_UNIFORM_BLOCKS</code>, <code class="constant">GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS</code>,
1390 <code class="constant">GL_MAX_COMPUTE_UNIFORM_COMPONENTS</code>, <code class="constant">GL_MAX_COMPUTE_ATOMIC_COUNTERS</code>,
1391 <code class="constant">GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS</code>, <code class="constant">GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS</code>,
1392 <code class="constant">GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS</code>, <code class="constant">GL_MAX_COMPUTE_WORK_GROUP_COUNT</code>, and
1393 <code class="constant">GL_MAX_COMPUTE_WORK_GROUP_SIZE</code> and <code class="constant">GL_DISPATCH_INDIRECT_BUFFER_BINDING</code> are available only if the GL version
1394 is 4.3 or greater.
1395 </p><p>
1396 <code class="constant">GL_MAX_DEBUG_GROUP_STACK_DEPTH</code>, <code class="constant">GL_DEBUG_GROUP_STACK_DEPTH</code> and <code class="constant">GL_MAX_LABEL_LENGTH</code> are accepted only if
1397 the GL version is 4.3 or greater.
1398 </p><p>
1399 <code class="constant">GL_MAX_UNIFORM_LOCATIONS</code> is accepted only if the GL version is 4.3 or greater.
1400 </p><p>
1401 <code class="constant">GL_MAX_FRAMEBUFFER_WIDTH</code>, <code class="constant">GL_MAX_FRAMEBUFFER_HEIGHT</code>, <code class="constant">GL_MAX_FRAMEBUFFER_LAYERS</code>,
1402 and <code class="constant">GL_MAX_FRAMEBUFFER_SAMPLES</code> are available only if the GL version is 4.3 or greater.
1403 </p><p>
1404 <code class="constant">GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS</code>, <code class="constant">GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS</code>,
1405 <code class="constant">GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS</code>, <code class="constant">GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS</code>,
1406 <code class="constant">GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS</code>, and <code class="constant">GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS</code> are available
1407 only if the GL version is 4.3 or higher.
1408 </p><p>
1409 <code class="constant">GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT</code> is available only if the GL version is 4.3 or greater.
1410 </p><p>
1411 <code class="constant">GL_VERTEX_BINDING_DIVISOR</code>, <code class="constant">GL_VERTEX_BINDING_OFFSET</code>, <code class="constant">GL_VERTEX_BINDING_STRIDE</code>,
1412 <code class="constant">GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET</code> and <code class="constant">GL_MAX_VERTEX_ATTRIB_BINDINGS</code> are available only if
1413 the GL version is 4.3 or greater.
1414 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="errors"></a><h2>Errors</h2><p>
1415 <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>pname</code></em> is not an accepted value.
1416 </p><p>
1417 <code class="constant">GL_INVALID_VALUE</code> is generated on any of <code class="function">glGetBooleani_v</code>,
1418 <code class="function">glGetIntegeri_v</code>, or <code class="function">glGetInteger64i_v</code> if
1419 <em class="parameter"><code>index</code></em> is outside of the valid range for the indexed state <em class="parameter"><code>target</code></em>.
1420 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="seealso"></a><h2>See Also</h2><p>
1421 <a href="glGetActiveUniform.xml"><span class="citerefentry"><span class="refentrytitle">glGetActiveUniform</span></span></a>,
1422 <a href="glGetAttachedShaders.xml"><span class="citerefentry"><span class="refentrytitle">glGetAttachedShaders</span></span></a>,
1423 <a href="glGetAttribLocation.xml"><span class="citerefentry"><span class="refentrytitle">glGetAttribLocation</span></span></a>,
1424 <a href="glGetBufferParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetBufferParameter</span></span></a>,
1425 <a href="glGetBufferPointerv.xml"><span class="citerefentry"><span class="refentrytitle">glGetBufferPointerv</span></span></a>,
1426 <a href="glGetBufferSubData.xml"><span class="citerefentry"><span class="refentrytitle">glGetBufferSubData</span></span></a>,
1427 <a href="glGetCompressedTexImage.xml"><span class="citerefentry"><span class="refentrytitle">glGetCompressedTexImage</span></span></a>,
1428 <a href="glGetError.xml"><span class="citerefentry"><span class="refentrytitle">glGetError</span></span></a>,
1429 <a href="glGetProgram.xml"><span class="citerefentry"><span class="refentrytitle">glGetProgram</span></span></a>,
1430 <a href="glGetProgramInfoLog.xml"><span class="citerefentry"><span class="refentrytitle">glGetProgramInfoLog</span></span></a>,
1431 <a href="glGetQueryiv.xml"><span class="citerefentry"><span class="refentrytitle">glGetQueryiv</span></span></a>,
1432 <a href="glGetQueryObject.xml"><span class="citerefentry"><span class="refentrytitle">glGetQueryObject</span></span></a>,
1433 <a href="glGetShader.xml"><span class="citerefentry"><span class="refentrytitle">glGetShader</span></span></a>,
1434 <a href="glGetShaderInfoLog.xml"><span class="citerefentry"><span class="refentrytitle">glGetShaderInfoLog</span></span></a>,
1435 <a href="glGetShaderSource.xml"><span class="citerefentry"><span class="refentrytitle">glGetShaderSource</span></span></a>,
1436 <a href="glGetString.xml"><span class="citerefentry"><span class="refentrytitle">glGetString</span></span></a>,
1437 <a href="glGetTexImage.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexImage</span></span></a>,
1438 <a href="glGetTexLevelParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexLevelParameter</span></span></a>,
1439 <a href="glGetTexParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexParameter</span></span></a>,
1440 <a href="glGetUniform.xml"><span class="citerefentry"><span class="refentrytitle">glGetUniform</span></span></a>,
1441 <a href="glGetUniformLocation.xml"><span class="citerefentry"><span class="refentrytitle">glGetUniformLocation</span></span></a>,
1442 <a href="glGetVertexAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glGetVertexAttrib</span></span></a>,
1443 <a href="glGetVertexAttribPointerv.xml"><span class="citerefentry"><span class="refentrytitle">glGetVertexAttribPointerv</span></span></a>,
1444 <a href="glIsEnabled.xml"><span class="citerefentry"><span class="refentrytitle">glIsEnabled</span></span></a>
1445 </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="Copyright"></a><h2>Copyright</h2><p>
1446 Copyright <span class="trademark"></span>© 1991-2006 Silicon Graphics, Inc.
1447 Copyright <span class="trademark"></span>© 2010-2011 Khronos Group.
1448 This document is licensed under the SGI Free Software B License. For details, see
1449 <a href="http://oss.sgi.com/projects/FreeB/" target="_top">http://oss.sgi.com/projects/FreeB/</a>.
1450 </p></div></div></body></html>