update upstream sources
[clinton/guile-figl.git] / upstream-doc / man3 / glGet.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id="glGet">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glGet</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glGet</refname>
17 <refpurpose>return the value or values of a selected parameter</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>void <function>glGetBooleanv</function></funcdef>
23 <paramdef>GLenum <parameter>pname</parameter></paramdef>
24 <paramdef>GLboolean * <parameter>params</parameter></paramdef>
25 </funcprototype>
26 </funcsynopsis>
27 </refsynopsisdiv>
28 <refsynopsisdiv><title>C Specification</title>
29 <funcsynopsis>
30 <funcprototype>
31 <funcdef>void <function>glGetDoublev</function></funcdef>
32 <paramdef>GLenum <parameter>pname</parameter></paramdef>
33 <paramdef>GLdouble * <parameter>params</parameter></paramdef>
34 </funcprototype>
35 </funcsynopsis>
36 </refsynopsisdiv>
37 <refsynopsisdiv><title>C Specification</title>
38 <funcsynopsis>
39 <funcprototype>
40 <funcdef>void <function>glGetFloatv</function></funcdef>
41 <paramdef>GLenum <parameter>pname</parameter></paramdef>
42 <paramdef>GLfloat * <parameter>params</parameter></paramdef>
43 </funcprototype>
44 </funcsynopsis>
45 </refsynopsisdiv>
46 <refsynopsisdiv><title>C Specification</title>
47 <funcsynopsis>
48 <funcprototype>
49 <funcdef>void <function>glGetIntegerv</function></funcdef>
50 <paramdef>GLenum <parameter>pname</parameter></paramdef>
51 <paramdef>GLint * <parameter>params</parameter></paramdef>
52 </funcprototype>
53 </funcsynopsis>
54 </refsynopsisdiv>
55 <refsynopsisdiv><title>C Specification</title>
56 <funcsynopsis>
57 <funcprototype>
58 <funcdef>void <function>glGetInteger64v</function></funcdef>
59 <paramdef>GLenum <parameter>pname</parameter></paramdef>
60 <paramdef>GLint64 * <parameter>params</parameter></paramdef>
61 </funcprototype>
62 </funcsynopsis>
63 </refsynopsisdiv>
64 <!-- eqn: ignoring delim $$ -->
65 <refsect1 id="parameters"><title>Parameters</title>
66 <variablelist>
67 <varlistentry>
68 <term><parameter>pname</parameter></term>
69 <listitem>
70 <para>
71 Specifies the parameter value to be returned.
72 The symbolic constants in the list below are accepted.
73 </para>
74 </listitem>
75 </varlistentry>
76 <varlistentry>
77 <term><parameter>params</parameter></term>
78 <listitem>
79 <para>
80 Returns the value or values of the specified parameter.
81 </para>
82 </listitem>
83 </varlistentry>
84 </variablelist>
85 </refsect1>
86 <refsynopsisdiv><title>C Specification</title>
87 <funcsynopsis>
88 <funcprototype>
89 <funcdef>void <function>glGetBooleani_v</function></funcdef>
90 <paramdef>GLenum <parameter>pname</parameter></paramdef>
91 <paramdef>GLuint <parameter>index</parameter></paramdef>
92 <paramdef>GLboolean * <parameter>data</parameter></paramdef>
93 </funcprototype>
94 </funcsynopsis>
95 </refsynopsisdiv>
96 <refsynopsisdiv><title>C Specification</title>
97 <funcsynopsis>
98 <funcprototype>
99 <funcdef>void <function>glGetIntegeri_v</function></funcdef>
100 <paramdef>GLenum <parameter>pname</parameter></paramdef>
101 <paramdef>GLuint <parameter>index</parameter></paramdef>
102 <paramdef>GLint * <parameter>data</parameter></paramdef>
103 </funcprototype>
104 </funcsynopsis>
105 </refsynopsisdiv>
106 <refsynopsisdiv><title>C Specification</title>
107 <funcsynopsis>
108 <funcprototype>
109 <funcdef>void <function>glGetInteger64i_v</function></funcdef>
110 <paramdef>GLenum <parameter>pname</parameter></paramdef>
111 <paramdef>GLuint <parameter>index</parameter></paramdef>
112 <paramdef>GLint64 * <parameter>data</parameter></paramdef>
113 </funcprototype>
114 </funcsynopsis>
115 </refsynopsisdiv>
116 <!-- eqn: ignoring delim $$ -->
117 <refsect1 id="parameters2"><title>Parameters</title>
118 <variablelist>
119 <varlistentry>
120 <term><parameter>pname</parameter></term>
121 <listitem>
122 <para>
123 Specifies the parameter value to be returned.
124 The symbolic constants in the list below are accepted.
125 </para>
126 </listitem>
127 </varlistentry>
128 <varlistentry>
129 <term><parameter>index</parameter></term>
130 <listitem>
131 <para>
132 Specifies the index of the particular element being queried.
133 </para>
134 </listitem>
135 </varlistentry>
136 <varlistentry>
137 <term><parameter>data</parameter></term>
138 <listitem>
139 <para>
140 Returns the value or values of the specified parameter.
141 </para>
142 </listitem>
143 </varlistentry>
144 </variablelist>
145 </refsect1>
146 <refsect1 id="description"><title>Description</title>
147 <para>
148 These four commands return values for simple state variables in GL.
149 <parameter>pname</parameter> is a symbolic constant indicating the state variable to be returned,
150 and <parameter>params</parameter> is a pointer to an array of the indicated type in
151 which to place the returned data.
152 </para>
153 <para>
154 Type conversion is performed if <parameter>params</parameter> has a different type than
155 the state variable value being requested.
156 If <function>glGetBooleanv</function> is called,
157 a floating-point (or integer) value is converted to <constant>GL_FALSE</constant> if
158 and only if it is 0.0 (or 0).
159 Otherwise,
160 it is converted to <constant>GL_TRUE</constant>.
161 If <function>glGetIntegerv</function> is called, boolean values are returned as
162 <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>, and most floating-point values are
163 rounded to the nearest integer value. Floating-point colors and
164 normals, however, are returned with a linear mapping that maps 1.0 to
165 the most positive representable integer value
166 and
167 <inlineequation><mml:math>
168 <!-- eqn: -1.0: -->
169 <mml:mn>-1.0</mml:mn>
170 </mml:math></inlineequation>
171 to the most negative representable integer value.
172 If <function>glGetFloatv</function> or <function>glGetDoublev</function> is called,
173 boolean values are returned as <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>,
174 and integer values are converted to floating-point values.
175 </para>
176 <para>
177 The following symbolic constants are accepted by <parameter>pname</parameter>:
178 </para>
179 <variablelist>
180 <varlistentry>
181 <term><constant>GL_ACTIVE_TEXTURE</constant></term>
182 <listitem>
183 <para>
184 </para>
185 <para>
186 <parameter>params</parameter> returns a single value indicating the active multitexture unit.
187 The initial value is <constant>GL_TEXTURE0</constant>.
188 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
189 </para>
190 </listitem>
191 </varlistentry>
192 <varlistentry>
193 <term><constant>GL_ALIASED_LINE_WIDTH_RANGE</constant></term>
194 <listitem>
195 <para>
196 </para>
197 <para>
198 <parameter>params</parameter> returns a pair of values indicating the range of
199 widths supported for aliased lines. See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
200 </para>
201 </listitem>
202 </varlistentry>
203 <varlistentry>
204 <term><constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant></term>
205 <listitem>
206 <para>
207 </para>
208 <para>
209 <parameter>params</parameter> returns a pair of values indicating the range of
210 widths supported for smooth (antialiased) lines. See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
211 </para>
212 </listitem>
213 </varlistentry>
214 <varlistentry>
215 <term><constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant></term>
216 <listitem>
217 <para>
218 </para>
219 <para>
220 <parameter>params</parameter> returns a single value indicating the level of
221 quantization applied to smooth line width parameters.
222 </para>
223 </listitem>
224 </varlistentry>
225 <varlistentry>
226 <term><constant>GL_ARRAY_BUFFER_BINDING</constant></term>
227 <listitem>
228 <para>
229 </para>
230 <para>
231 <parameter>params</parameter> returns a single value, the name of the buffer object
232 currently bound to the target <constant>GL_ARRAY_BUFFER</constant>. If no buffer object
233 is bound to this target, 0 is returned. The initial value is 0.
234 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
235 </para>
236 </listitem>
237 </varlistentry>
238 <varlistentry>
239 <term><constant>GL_BLEND</constant></term>
240 <listitem>
241 <para>
242 </para>
243 <para>
244 <parameter>params</parameter> returns a single boolean value indicating whether blending is
245 enabled. The initial value is <constant>GL_FALSE</constant>.
246 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>.
247 </para>
248 </listitem>
249 </varlistentry>
250 <varlistentry>
251 <term><constant>GL_BLEND_COLOR</constant></term>
252 <listitem>
253 <para>
254 </para>
255 <para>
256 <parameter>params</parameter> returns four values,
257 the red, green, blue, and alpha values which are the components of
258 the blend color.
259 See <citerefentry><refentrytitle>glBlendColor</refentrytitle></citerefentry>.
260 </para>
261 </listitem>
262 </varlistentry>
263 <varlistentry>
264 <term><constant>GL_BLEND_DST_ALPHA</constant></term>
265 <listitem>
266 <para>
267 </para>
268 <para>
269 <parameter>params</parameter> returns one value,
270 the symbolic constant identifying the alpha destination blend
271 function. The initial value is <constant>GL_ZERO</constant>.
272 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
273 </para>
274 </listitem>
275 </varlistentry>
276 <varlistentry>
277 <term><constant>GL_BLEND_DST_RGB</constant></term>
278 <listitem>
279 <para>
280 </para>
281 <para>
282 <parameter>params</parameter> returns one value,
283 the symbolic constant identifying the RGB destination blend
284 function. The initial value is <constant>GL_ZERO</constant>.
285 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
286 </para>
287 </listitem>
288 </varlistentry>
289 <varlistentry>
290 <term><constant>GL_BLEND_EQUATION_RGB</constant></term>
291 <listitem>
292 <para>
293 </para>
294 <para>
295 <parameter>params</parameter> returns one value, a symbolic constant indicating whether
296 the RGB blend equation is <constant>GL_FUNC_ADD</constant>, <constant>GL_FUNC_SUBTRACT</constant>,
297 <constant>GL_FUNC_REVERSE_SUBTRACT</constant>, <constant>GL_MIN</constant> or <constant>GL_MAX</constant>.
298 See <citerefentry><refentrytitle>glBlendEquationSeparate</refentrytitle></citerefentry>.
299 </para>
300 </listitem>
301 </varlistentry>
302 <varlistentry>
303 <term><constant>GL_BLEND_EQUATION_ALPHA</constant></term>
304 <listitem>
305 <para>
306 </para>
307 <para>
308 <parameter>params</parameter> returns one value, a symbolic constant indicating whether
309 the Alpha blend equation is <constant>GL_FUNC_ADD</constant>, <constant>GL_FUNC_SUBTRACT</constant>,
310 <constant>GL_FUNC_REVERSE_SUBTRACT</constant>, <constant>GL_MIN</constant> or <constant>GL_MAX</constant>.
311 See <citerefentry><refentrytitle>glBlendEquationSeparate</refentrytitle></citerefentry>.
312 </para>
313 </listitem>
314 </varlistentry>
315 <varlistentry>
316 <term><constant>GL_BLEND_SRC_ALPHA</constant></term>
317 <listitem>
318 <para>
319 </para>
320 <para>
321 <parameter>params</parameter> returns one value,
322 the symbolic constant identifying the alpha source blend function. The initial
323 value is <constant>GL_ONE</constant>.
324 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
325 </para>
326 </listitem>
327 </varlistentry>
328 <varlistentry>
329 <term><constant>GL_BLEND_SRC_RGB</constant></term>
330 <listitem>
331 <para>
332 </para>
333 <para>
334 <parameter>params</parameter> returns one value,
335 the symbolic constant identifying the RGB source blend function. The initial
336 value is <constant>GL_ONE</constant>.
337 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
338 </para>
339 </listitem>
340 </varlistentry>
341 <varlistentry>
342 <term><constant>GL_COLOR_CLEAR_VALUE</constant></term>
343 <listitem>
344 <para>
345 </para>
346 <para>
347 <parameter>params</parameter> returns four values:
348 the red, green, blue, and alpha values used to clear the color buffers.
349 Integer values,
350 if requested,
351 are linearly mapped from the internal floating-point representation such
352 that 1.0 returns the most positive representable integer value,
353 and
354 <inlineequation><mml:math>
355 <!-- eqn: -1.0: -->
356 <mml:mn>-1.0</mml:mn>
357 </mml:math></inlineequation>
358 returns the most negative representable integer
359 value. The initial value is (0, 0, 0, 0).
360 See <citerefentry><refentrytitle>glClearColor</refentrytitle></citerefentry>.
361 </para>
362 </listitem>
363 </varlistentry>
364 <varlistentry>
365 <term><constant>GL_COLOR_LOGIC_OP</constant></term>
366 <listitem>
367 <para>
368 </para>
369 <para>
370 <parameter>params</parameter> returns a single boolean value indicating whether a fragment's
371 RGBA color values are merged into the framebuffer using a logical
372 operation. The initial value is <constant>GL_FALSE</constant>.
373 See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
374 </para>
375 </listitem>
376 </varlistentry>
377 <varlistentry>
378 <term><constant>GL_COLOR_WRITEMASK</constant></term>
379 <listitem>
380 <para>
381 </para>
382 <para>
383 <parameter>params</parameter> returns four boolean values:
384 the red, green, blue, and alpha write enables for the color
385 buffers. The initial value is (<constant>GL_TRUE</constant>, <constant>GL_TRUE</constant>,
386 <constant>GL_TRUE</constant>, <constant>GL_TRUE</constant>).
387 See <citerefentry><refentrytitle>glColorMask</refentrytitle></citerefentry>.
388 </para>
389 </listitem>
390 </varlistentry>
391 <varlistentry>
392 <term><constant>GL_COMPRESSED_TEXTURE_FORMATS</constant></term>
393 <listitem>
394 <para>
395 </para>
396 <para>
397 <parameter>params</parameter> returns a list of symbolic
398 constants of length <constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant>
399 indicating which compressed texture formats are available.
400 See <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>.
401 </para>
402 </listitem>
403 </varlistentry>
404 <varlistentry>
405 <term><constant>GL_CULL_FACE</constant></term>
406 <listitem>
407 <para>
408 </para>
409 <para>
410 <parameter>params</parameter> returns a single boolean value indicating whether polygon culling
411 is enabled. The initial value is <constant>GL_FALSE</constant>.
412 See <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>.
413 </para>
414 </listitem>
415 </varlistentry>
416 <varlistentry>
417 <term><constant>GL_CURRENT_PROGRAM</constant></term>
418 <listitem>
419 <para>
420 </para>
421 <para>
422 <parameter>params</parameter> returns one value,
423 the name of the program object that is currently active, or 0 if no program object is active.
424 See <citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>.
425 </para>
426 </listitem>
427 </varlistentry>
428 <varlistentry>
429 <term><constant>GL_DEPTH_CLEAR_VALUE</constant></term>
430 <listitem>
431 <para>
432 </para>
433 <para>
434 <parameter>params</parameter> returns one value,
435 the value that is used to clear the depth buffer.
436 Integer values,
437 if requested,
438 are linearly mapped from the internal floating-point representation such
439 that 1.0 returns the most positive representable integer value,
440 and
441 <inlineequation><mml:math>
442 <!-- eqn: -1.0: -->
443 <mml:mn>-1.0</mml:mn>
444 </mml:math></inlineequation>
445 returns the most negative representable integer
446 value. The initial value is 1.
447 See <citerefentry><refentrytitle>glClearDepth</refentrytitle></citerefentry>.
448 </para>
449 </listitem>
450 </varlistentry>
451 <varlistentry>
452 <term><constant>GL_DEPTH_FUNC</constant></term>
453 <listitem>
454 <para>
455 </para>
456 <para>
457 <parameter>params</parameter> returns one value,
458 the symbolic constant that indicates the depth comparison
459 function. The initial value is <constant>GL_LESS</constant>.
460 See <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>.
461 </para>
462 </listitem>
463 </varlistentry>
464 <varlistentry>
465 <term><constant>GL_DEPTH_RANGE</constant></term>
466 <listitem>
467 <para>
468 </para>
469 <para>
470 <parameter>params</parameter> returns two values:
471 the near and far mapping limits for the depth buffer.
472 Integer values,
473 if requested,
474 are linearly mapped from the internal floating-point representation such
475 that 1.0 returns the most positive representable integer value,
476 and
477 <inlineequation><mml:math>
478 <!-- eqn: -1.0: -->
479 <mml:mn>-1.0</mml:mn>
480 </mml:math></inlineequation>
481 returns the most negative representable integer
482 value. The initial value is (0, 1).
483 See <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>.
484 </para>
485 </listitem>
486 </varlistentry>
487 <varlistentry>
488 <term><constant>GL_DEPTH_TEST</constant></term>
489 <listitem>
490 <para>
491 </para>
492 <para>
493 <parameter>params</parameter> returns a single boolean value indicating whether depth testing
494 of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
495 See <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>.
496 </para>
497 </listitem>
498 </varlistentry>
499 <varlistentry>
500 <term><constant>GL_DEPTH_WRITEMASK</constant></term>
501 <listitem>
502 <para>
503 </para>
504 <para>
505 <parameter>params</parameter> returns a single boolean value indicating if the depth buffer
506 is enabled for writing. The initial value is <constant>GL_TRUE</constant>.
507 See <citerefentry><refentrytitle>glDepthMask</refentrytitle></citerefentry>.
508 </para>
509 </listitem>
510 </varlistentry>
511 <varlistentry>
512 <term><constant>GL_DITHER</constant></term>
513 <listitem>
514 <para>
515 </para>
516 <para>
517 <parameter>params</parameter> returns a single boolean value indicating whether dithering of
518 fragment colors and indices is enabled. The initial value is <constant>GL_TRUE</constant>.
519 </para>
520 </listitem>
521 </varlistentry>
522 <varlistentry>
523 <term><constant>GL_DOUBLEBUFFER</constant></term>
524 <listitem>
525 <para>
526 </para>
527 <para>
528 <parameter>params</parameter> returns a single boolean value indicating whether double buffering
529 is supported.
530 </para>
531 </listitem>
532 </varlistentry>
533 <varlistentry>
534 <term><constant>GL_DRAW_BUFFER</constant></term>
535 <listitem>
536 <para>
537 </para>
538 <para>
539 <parameter>params</parameter> returns one value,
540 a symbolic constant indicating which buffers are being drawn to.
541 See <citerefentry><refentrytitle>glDrawBuffer</refentrytitle></citerefentry>. The initial value is <constant>GL_BACK</constant> if there
542 are back buffers, otherwise it is <constant>GL_FRONT</constant>.
543 </para>
544 </listitem>
545 </varlistentry>
546 <varlistentry>
547 <term><constant>GL_DRAW_BUFFER</constant><emphasis>i</emphasis></term>
548 <listitem>
549 <para>
550 </para>
551 <para>
552 <parameter>params</parameter> returns one value,
553 a symbolic constant indicating which buffers are being drawn to by the corresponding output color.
554 See <citerefentry><refentrytitle>glDrawBuffers</refentrytitle></citerefentry>.
555 The initial value of <constant>GL_DRAW_BUFFER0</constant> is <constant>GL_BACK</constant> if there
556 are back buffers, otherwise it is <constant>GL_FRONT</constant>. The
557 initial values of draw buffers for all other output colors is <constant>GL_NONE</constant>.
558 </para>
559 </listitem>
560 </varlistentry>
561 <varlistentry>
562 <term><constant>GL_DRAW_FRAMEBUFFER_BINDING</constant></term>
563 <listitem>
564 <para>
565 </para>
566 <para>
567 <parameter>params</parameter> returns one value,
568 the name of the framebuffer object currently bound to the <constant>GL_DRAW_FRAMEBUFFER</constant> target.
569 If the default framebuffer is bound, this value will be zero. The initial value is zero.
570 See <citerefentry><refentrytitle>glBindFramebuffer</refentrytitle></citerefentry>.
571 </para>
572 </listitem>
573 </varlistentry>
574 <varlistentry>
575 <term><constant>GL_READ_FRAMEBUFFER_BINDING</constant></term>
576 <listitem>
577 <para>
578 </para>
579 <para>
580 <parameter>params</parameter> returns one value,
581 the name of the framebuffer object currently bound to the <constant>GL_READ_FRAMEBUFFER</constant> target.
582 If the default framebuffer is bound, this value will be zero. The initial value is zero.
583 See <citerefentry><refentrytitle>glBindFramebuffer</refentrytitle></citerefentry>.
584 </para>
585 </listitem>
586 </varlistentry>
587 <varlistentry>
588 <term><constant>GL_ELEMENT_ARRAY_BUFFER_BINDING</constant></term>
589 <listitem>
590 <para>
591 </para>
592 <para>
593 <parameter>params</parameter> returns a single value, the name of the buffer object
594 currently bound to the target <constant>GL_ELEMENT_ARRAY_BUFFER</constant>. If no buffer object
595 is bound to this target, 0 is returned. The initial value is 0.
596 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
597 </para>
598 </listitem>
599 </varlistentry>
600 <varlistentry>
601 <term><constant>GL_RENDERBUFFER_BINDING</constant></term>
602 <listitem>
603 <para>
604 </para>
605 <para>
606 <parameter>params</parameter> returns a single value, the name of the renderbuffer object
607 currently bound to the target <constant>GL_RENDERBUFFER</constant>. If no renderbuffer object
608 is bound to this target, 0 is returned. The initial value is 0.
609 See <citerefentry><refentrytitle>glBindRenderbuffer</refentrytitle></citerefentry>.
610 </para>
611 </listitem>
612 </varlistentry>
613 <varlistentry>
614 <term><constant>GL_FRAGMENT_SHADER_DERIVATIVE_HINT</constant></term>
615 <listitem>
616 <para>
617 </para>
618 <para>
619 <parameter>params</parameter> returns one value,
620 a symbolic constant indicating the mode of the derivative accuracy hint
621 for fragment shaders. The initial value
622 is <constant>GL_DONT_CARE</constant>.
623 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
624 </para>
625 </listitem>
626 </varlistentry>
627 <varlistentry>
628 <term><constant>GL_LINE_SMOOTH</constant></term>
629 <listitem>
630 <para>
631 </para>
632 <para>
633 <parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
634 lines is enabled. The initial value is <constant>GL_FALSE</constant>.
635 See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
636 </para>
637 </listitem>
638 </varlistentry>
639 <varlistentry>
640 <term><constant>GL_LINE_SMOOTH_HINT</constant></term>
641 <listitem>
642 <para>
643 </para>
644 <para>
645 <parameter>params</parameter> returns one value,
646 a symbolic constant indicating the mode of the line antialiasing
647 hint. The initial value is <constant>GL_DONT_CARE</constant>.
648 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
649 </para>
650 </listitem>
651 </varlistentry>
652 <varlistentry>
653 <term><constant>GL_LINE_WIDTH</constant></term>
654 <listitem>
655 <para>
656 </para>
657 <para>
658 <parameter>params</parameter> returns one value,
659 the line width as specified with <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>. The initial value is
660 1.
661 </para>
662 </listitem>
663 </varlistentry>
664 <varlistentry>
665 <term><constant>GL_LOGIC_OP_MODE</constant></term>
666 <listitem>
667 <para>
668 </para>
669 <para>
670 <parameter>params</parameter> returns one value,
671 a symbolic constant indicating the selected logic operation
672 mode. The initial value is <constant>GL_COPY</constant>.
673 See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
674 </para>
675 </listitem>
676 </varlistentry>
677 <varlistentry>
678 <term><constant>GL_MAX_3D_TEXTURE_SIZE</constant></term>
679 <listitem>
680 <para>
681 </para>
682 <para>
683 <parameter>params</parameter> returns one value,
684 a rough estimate of the largest 3D texture that the GL can handle.
685 The value must be at least 64.
686 Use <constant>GL_PROXY_TEXTURE_3D</constant> to determine if a texture is too large.
687 See <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>.
688 </para>
689 </listitem>
690 </varlistentry>
691 <varlistentry>
692 <term><constant>GL_MAX_CLIP_DISTANCES</constant></term>
693 <listitem>
694 <para>
695 </para>
696 <para>
697 <parameter>params</parameter> returns one value,
698 the maximum number of application-defined clipping distances. The value must be at least 8.
699 </para>
700 </listitem>
701 </varlistentry>
702 <varlistentry>
703 <term><constant>GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS</constant></term>
704 <listitem>
705 <para>
706 </para>
707 <para>
708 <parameter>params</parameter> returns one value,
709 the number of words for fragment shader uniform variables in all uniform
710 blocks (including default). The value must be at least 1.
711 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
712 </para>
713 </listitem>
714 </varlistentry>
715 <varlistentry>
716 <term><constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant></term>
717 <listitem>
718 <para>
719 </para>
720 <para>
721 <parameter>params</parameter> returns one value, the maximum supported texture image units that
722 can be used to access texture maps from the vertex shader and the fragment processor combined.
723 If both the vertex shader and the fragment processing stage access the same texture image
724 unit, then that counts as using two texture image units against this limit.
725 The value must be at least 48.
726 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
727 </para>
728 </listitem>
729 </varlistentry>
730 <varlistentry>
731 <term><constant>GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS</constant></term>
732 <listitem>
733 <para>
734 </para>
735 <para>
736 <parameter>params</parameter> returns one value,
737 the number of words for vertex shader uniform variables in all uniform
738 blocks (including default). The value must be at least 1.
739 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
740 </para>
741 </listitem>
742 </varlistentry>
743 <varlistentry>
744 <term><constant>GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS</constant></term>
745 <listitem>
746 <para>
747 </para>
748 <para>
749 <parameter>params</parameter> returns one value,
750 the number of words for geometry shader uniform variables in all uniform
751 blocks (including default). The value must be at least 1.
752 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
753 </para>
754 </listitem>
755 </varlistentry>
756 <varlistentry>
757 <term><constant>GL_MAX_VARYING_COMPONENTS</constant></term>
758 <listitem>
759 <para>
760 </para>
761 <para>
762 <parameter>params</parameter> returns one value,
763 the number components for varying variables, which must be at least 60.
764 </para>
765 </listitem>
766 </varlistentry>
767 <varlistentry>
768 <term><constant>GL_MAX_COMBINED_UNIFORM_BLOCKS</constant></term>
769 <listitem>
770 <para>
771 </para>
772 <para>
773 <parameter>params</parameter> returns one value,
774 the maximum number of uniform blocks per program. The value must be at least 36.
775 See <citerefentry><refentrytitle>glUniformBlockBinding</refentrytitle></citerefentry>.
776 </para>
777 </listitem>
778 </varlistentry>
779 <varlistentry>
780 <term><constant>GL_MAX_CUBE_MAP_TEXTURE_SIZE</constant></term>
781 <listitem>
782 <para>
783 </para>
784 <para>
785 <parameter>params</parameter> returns one value.
786 The value gives a rough estimate of the largest cube-map texture that
787 the GL can handle. The value must be at least 1024.
788 Use <constant>GL_PROXY_TEXTURE_CUBE_MAP</constant>
789 to determine if a texture is too large.
790 See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
791 </para>
792 </listitem>
793 </varlistentry>
794 <varlistentry>
795 <term><constant>GL_MAX_DRAW_BUFFERS</constant></term>
796 <listitem>
797 <para>
798 </para>
799 <para>
800 <parameter>params</parameter> returns one value, the maximum number
801 of simultaneous outputs that may be written in a fragment shader.
802 The value must be at least 8.
803 See <citerefentry><refentrytitle>glDrawBuffers</refentrytitle></citerefentry>.
804 </para>
805 </listitem>
806 </varlistentry>
807 <varlistentry>
808 <term><constant>GL_MAX_DUAL_SOURCE_DRAW_BUFFERS</constant></term>
809 <listitem>
810 <para>
811 </para>
812 <para>
813 <parameter>params</parameter> returns one value, the maximum number
814 of active draw buffers when using dual-source blending. The value must be at least 1.
815 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and
816 <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
817 </para>
818 </listitem>
819 </varlistentry>
820 <varlistentry>
821 <term><constant>GL_MAX_ELEMENTS_INDICES</constant></term>
822 <listitem>
823 <para>
824 </para>
825 <para>
826 <parameter>params</parameter> returns one value,
827 the recommended maximum number of vertex array indices.
828 See <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>.
829 </para>
830 </listitem>
831 </varlistentry>
832 <varlistentry>
833 <term><constant>GL_MAX_ELEMENTS_VERTICES</constant></term>
834 <listitem>
835 <para>
836 </para>
837 <para>
838 <parameter>params</parameter> returns one value,
839 the recommended maximum number of vertex array vertices.
840 See <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>.
841 </para>
842 </listitem>
843 </varlistentry>
844 <varlistentry>
845 <term><constant>GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant></term>
846 <listitem>
847 <para>
848 </para>
849 <para>
850 <parameter>params</parameter> returns one value,
851 the maximum number of individual floating-point, integer, or boolean values that can be held
852 in uniform variable storage for a fragment shader. The value must be at least 1024.
853 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
854 </para>
855 </listitem>
856 </varlistentry>
857 <varlistentry>
858 <term><constant>GL_MAX_FRAGMENT_UNIFORM_BLOCKS</constant></term>
859 <listitem>
860 <para>
861 </para>
862 <para>
863 <parameter>params</parameter> returns one value,
864 the maximum number of uniform blocks per fragment shader. The value must be at least 12.
865 See <citerefentry><refentrytitle>glUniformBlockBinding</refentrytitle></citerefentry>.
866 </para>
867 </listitem>
868 </varlistentry>
869 <varlistentry>
870 <term><constant>GL_MAX_FRAGMENT_INPUT_COMPONENTS</constant></term>
871 <listitem>
872 <para>
873 </para>
874 <para>
875 <parameter>params</parameter> returns one value,
876 the maximum number of components of the inputs read by the fragment shader, which must be at least 128.
877 </para>
878 </listitem>
879 </varlistentry>
880 <varlistentry>
881 <term><constant>GL_MIN_PROGRAM_TEXEL_OFFSET</constant></term>
882 <listitem>
883 <para>
884 </para>
885 <para>
886 <parameter>params</parameter> returns one value,
887 the minimum texel offset allowed in a texture lookup, which must be at most -8.
888 </para>
889 </listitem>
890 </varlistentry>
891 <varlistentry>
892 <term><constant>GL_MAX_PROGRAM_TEXEL_OFFSET</constant></term>
893 <listitem>
894 <para>
895 </para>
896 <para>
897 <parameter>params</parameter> returns one value,
898 the maximum texel offset allowed in a texture lookup, which must be at least 7.
899 </para>
900 </listitem>
901 </varlistentry>
902 <varlistentry>
903 <term><constant>GL_MAX_RECTANGLE_TEXTURE_SIZE</constant></term>
904 <listitem>
905 <para>
906 </para>
907 <para>
908 <parameter>params</parameter> returns one value.
909 The value gives a rough estimate of the largest rectangular texture that
910 the GL can handle. The value must be at least 1024.
911 Use <constant>GL_PROXY_TEXTURE_RECTANGLE</constant>
912 to determine if a texture is too large.
913 See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
914 </para>
915 </listitem>
916 </varlistentry>
917 <varlistentry>
918 <term><constant>GL_MAX_TEXTURE_IMAGE_UNITS</constant></term>
919 <listitem>
920 <para>
921 </para>
922 <para>
923 <parameter>params</parameter> returns one value, the maximum supported texture image units that
924 can be used to access texture maps from the fragment shader.
925 The value must be at least 16.
926 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
927 </para>
928 </listitem>
929 </varlistentry>
930 <varlistentry>
931 <term><constant>GL_MAX_TEXTURE_LOD_BIAS</constant></term>
932 <listitem>
933 <para>
934 </para>
935 <para>
936 <parameter>params</parameter> returns one value,
937 the maximum, absolute value of the texture level-of-detail bias. The
938 value must be at least 2.0.
939 </para>
940 </listitem>
941 </varlistentry>
942 <varlistentry>
943 <term><constant>GL_MAX_TEXTURE_SIZE</constant></term>
944 <listitem>
945 <para>
946 </para>
947 <para>
948 <parameter>params</parameter> returns one value.
949 The value gives a rough estimate of the largest texture that
950 the GL can handle. The value must be at least 1024.
951 Use a proxy texture target such as <constant>GL_PROXY_TEXTURE_1D</constant> or <constant>GL_PROXY_TEXTURE_2D</constant>
952 to determine if a texture is too large.
953 See <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
954 </para>
955 </listitem>
956 </varlistentry>
957 <varlistentry>
958 <term><constant>GL_MAX_RENDERBUFFER_SIZE</constant></term>
959 <listitem>
960 <para>
961 </para>
962 <para>
963 <parameter>params</parameter> returns one value.
964 The value indicates the maximum supported size for renderbuffers.
965 See <citerefentry><refentrytitle>glFramebufferRenderbuffer</refentrytitle></citerefentry>.
966 </para>
967 </listitem>
968 </varlistentry>
969 <varlistentry>
970 <term><constant>GL_MAX_ARRAY_TEXTURE_LAYERS</constant></term>
971 <listitem>
972 <para>
973 </para>
974 <para>
975 <parameter>params</parameter> returns one value.
976 The value indicates the maximum number of layers allowed in an array texture, and must be at least 256.
977 See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
978 </para>
979 </listitem>
980 </varlistentry>
981 <varlistentry>
982 <term><constant>GL_MAX_TEXTURE_BUFFER_SIZE</constant></term>
983 <listitem>
984 <para>
985 </para>
986 <para>
987 <parameter>params</parameter> returns one value.
988 The value gives the maximum number of texels allowed in the texel array of a texture buffer object.
989 Value must be at least 65536.
990 </para>
991 </listitem>
992 </varlistentry>
993 <varlistentry>
994 <term><constant>GL_MAX_UNIFORM_BLOCK_SIZE</constant></term>
995 <listitem>
996 <para>
997 </para>
998 <para>
999 <parameter>params</parameter> returns one value,
1000 the maximum size in basic machine units of a uniform block.
1001 The value must be at least 16384.
1002 See <citerefentry><refentrytitle>glUniformBlockBinding</refentrytitle></citerefentry>.
1003 </para>
1004 </listitem>
1005 </varlistentry>
1006 <varlistentry>
1007 <term><constant>GL_MAX_VARYING_FLOATS</constant></term>
1008 <listitem>
1009 <para>
1010 </para>
1011 <para>
1012 <parameter>params</parameter> returns one value,
1013 the maximum number of interpolators available for processing varying variables used by
1014 vertex and fragment shaders. This value represents the number of individual floating-point
1015 values that can be interpolated; varying variables declared as vectors, matrices, and arrays
1016 will all consume multiple interpolators. The value must be at least 32.
1017 </para>
1018 </listitem>
1019 </varlistentry>
1020 <varlistentry>
1021 <term><constant>GL_MAX_VERTEX_ATTRIBS</constant></term>
1022 <listitem>
1023 <para>
1024 </para>
1025 <para>
1026 <parameter>params</parameter> returns one value,
1027 the maximum number of 4-component generic vertex attributes accessible to a vertex shader.
1028 The value must be at least 16.
1029 See <citerefentry><refentrytitle>glVertexAttrib</refentrytitle></citerefentry>.
1030 </para>
1031 </listitem>
1032 </varlistentry>
1033 <varlistentry>
1034 <term><constant>GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</constant></term>
1035 <listitem>
1036 <para>
1037 </para>
1038 <para>
1039 <parameter>params</parameter> returns one value, the maximum supported texture image units that
1040 can be used to access texture maps from the vertex shader. The value may be at least 16.
1041 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
1042 </para>
1043 </listitem>
1044 </varlistentry>
1045 <varlistentry>
1046 <term><constant>GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS</constant></term>
1047 <listitem>
1048 <para>
1049 </para>
1050 <para>
1051 <parameter>params</parameter> returns one value, the maximum supported texture image units that
1052 can be used to access texture maps from the geometry shader. The value must be at least 16.
1053 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
1054 </para>
1055 </listitem>
1056 </varlistentry>
1057 <varlistentry>
1058 <term><constant>GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant></term>
1059 <listitem>
1060 <para>
1061 </para>
1062 <para>
1063 <parameter>params</parameter> returns one value,
1064 the maximum number of individual floating-point, integer, or boolean values that can be held
1065 in uniform variable storage for a vertex shader. The value must be at least 1024.
1066 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
1067 </para>
1068 </listitem>
1069 </varlistentry>
1070 <varlistentry>
1071 <term><constant>GL_MAX_VERTEX_OUTPUT_COMPONENTS</constant></term>
1072 <listitem>
1073 <para>
1074 </para>
1075 <para>
1076 <parameter>params</parameter> returns one value,
1077 the maximum number of components of output written by a vertex shader, which must be at least 64.
1078 </para>
1079 </listitem>
1080 </varlistentry>
1081 <varlistentry>
1082 <term><constant>GL_MAX_GEOMETRY_UNIFORM_COMPONENTS</constant></term>
1083 <listitem>
1084 <para>
1085 </para>
1086 <para>
1087 <parameter>params</parameter> returns one value,
1088 the maximum number of individual floating-point, integer, or boolean values that can be held
1089 in uniform variable storage for a geometry shader. The value must be at least 1024.
1090 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
1091 </para>
1092 </listitem>
1093 </varlistentry>
1094 <varlistentry>
1095 <term><constant>GL_MAX_SAMPLE_MASK_WORDS</constant></term>
1096 <listitem>
1097 <para>
1098 </para>
1099 <para>
1100 <parameter>params</parameter> returns one value,
1101 the maximum number of sample mask words.
1102 </para>
1103 </listitem>
1104 </varlistentry>
1105 <varlistentry>
1106 <term><constant>GL_MAX_COLOR_TEXTURE_SAMPLES</constant></term>
1107 <listitem>
1108 <para>
1109 </para>
1110 <para>
1111 <parameter>params</parameter> returns one value,
1112 the maximum number of samples in a color multisample texture.
1113 </para>
1114 </listitem>
1115 </varlistentry>
1116 <varlistentry>
1117 <term><constant>GL_MAX_DEPTH_TEXTURE_SAMPLES</constant></term>
1118 <listitem>
1119 <para>
1120 </para>
1121 <para>
1122 <parameter>params</parameter> returns one value,
1123 the maximum number of samples in a multisample depth or depth-stencil texture.
1124 </para>
1125 </listitem>
1126 </varlistentry>
1127 <varlistentry>
1128 <term><constant>GL_MAX_DEPTH_TEXTURE_SAMPLES</constant></term>
1129 <listitem>
1130 <para>
1131 </para>
1132 <para>
1133 <parameter>params</parameter> returns one value,
1134 the maximum number of samples in a multisample depth or depth-stencil texture.
1135 </para>
1136 </listitem>
1137 </varlistentry>
1138 <varlistentry>
1139 <term><constant>GL_MAX_INTEGER_SAMPLES</constant></term>
1140 <listitem>
1141 <para>
1142 </para>
1143 <para>
1144 <parameter>params</parameter> returns one value,
1145 the maximum number of samples supported in integer format multisample buffers.
1146 </para>
1147 </listitem>
1148 </varlistentry>
1149 <varlistentry>
1150 <term><constant>GL_MAX_SERVER_WAIT_TIMEOUT</constant></term>
1151 <listitem>
1152 <para>
1153 </para>
1154 <para>
1155 <parameter>params</parameter> returns one value,
1156 the maximum <citerefentry><refentrytitle>glWaitSync</refentrytitle></citerefentry> timeout interval.
1157 </para>
1158 </listitem>
1159 </varlistentry>
1160 <varlistentry>
1161 <term><constant>GL_MAX_UNIFORM_BUFFER_BINDINGS</constant></term>
1162 <listitem>
1163 <para>
1164 </para>
1165 <para>
1166 <parameter>params</parameter> returns one value,
1167 the maximum number of uniform buffer binding points on the context, which must be at least 36.
1168 </para>
1169 </listitem>
1170 </varlistentry>
1171 <varlistentry>
1172 <term><constant>GL_MAX_UNIFORM_BLOCK_SIZE</constant></term>
1173 <listitem>
1174 <para>
1175 </para>
1176 <para>
1177 <parameter>params</parameter> returns one value,
1178 the maximum size in basic machine units of a uniform block, which must be at least 16384.
1179 </para>
1180 </listitem>
1181 </varlistentry>
1182 <varlistentry>
1183 <term><constant>GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT</constant></term>
1184 <listitem>
1185 <para>
1186 </para>
1187 <para>
1188 <parameter>params</parameter> returns one value,
1189 the minimum required alignment for uniform buffer sizes and offsets.
1190 </para>
1191 </listitem>
1192 </varlistentry>
1193 <varlistentry>
1194 <term><constant>GL_MAX_VERTEX_UNIFORM_BLOCKS</constant></term>
1195 <listitem>
1196 <para>
1197 </para>
1198 <para>
1199 <parameter>params</parameter> returns one value,
1200 the maximum number of uniform blocks per vertex shader. The value must be at least 12.
1201 See <citerefentry><refentrytitle>glUniformBlockBinding</refentrytitle></citerefentry>.
1202 </para>
1203 </listitem>
1204 </varlistentry>
1205 <varlistentry>
1206 <term><constant>GL_MAX_GEOMETRY_UNIFORM_BLOCKS</constant></term>
1207 <listitem>
1208 <para>
1209 </para>
1210 <para>
1211 <parameter>params</parameter> returns one value,
1212 the maximum number of uniform blocks per geometry shader. The value must be at least 12.
1213 See <citerefentry><refentrytitle>glUniformBlockBinding</refentrytitle></citerefentry>.
1214 </para>
1215 </listitem>
1216 </varlistentry>
1217 <varlistentry>
1218 <term><constant>GL_MAX_GEOMETRY_INPUT_COMPONENTS</constant></term>
1219 <listitem>
1220 <para>
1221 </para>
1222 <para>
1223 <parameter>params</parameter> returns one value,
1224 the maximum number of components of inputs read by a geometry shader, which must be at least 64.
1225 </para>
1226 </listitem>
1227 </varlistentry>
1228 <varlistentry>
1229 <term><constant>GL_MAX_GEOMETRY_OUTPUT_COMPONENTS</constant></term>
1230 <listitem>
1231 <para>
1232 </para>
1233 <para>
1234 <parameter>params</parameter> returns one value,
1235 the maximum number of components of outputs written by a geometry shader, which must be at least 128.
1236 </para>
1237 </listitem>
1238 </varlistentry>
1239 <varlistentry>
1240 <term><constant>GL_MAX_VIEWPORT_DIMS</constant></term>
1241 <listitem>
1242 <para>
1243 </para>
1244 <para>
1245 <parameter>params</parameter> returns two values:
1246 the maximum supported width and height of the viewport.
1247 These must be at least as large as the visible dimensions of the display
1248 being rendered to.
1249 See <citerefentry><refentrytitle>glViewport</refentrytitle></citerefentry>.
1250 </para>
1251 </listitem>
1252 </varlistentry>
1253 <varlistentry>
1254 <term><constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant></term>
1255 <listitem>
1256 <para>
1257 </para>
1258 <para>
1259 <parameter>params</parameter> returns a single integer value indicating the number of available
1260 compressed texture formats. The minimum value is 4.
1261 See <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>.
1262 </para>
1263 </listitem>
1264 </varlistentry>
1265 <varlistentry>
1266 <term><constant>GL_PACK_ALIGNMENT</constant></term>
1267 <listitem>
1268 <para>
1269 </para>
1270 <para>
1271 <parameter>params</parameter> returns one value,
1272 the byte alignment used for writing pixel data to memory. The initial
1273 value is 4.
1274 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1275 </para>
1276 </listitem>
1277 </varlistentry>
1278 <varlistentry>
1279 <term><constant>GL_PACK_IMAGE_HEIGHT</constant></term>
1280 <listitem>
1281 <para>
1282 </para>
1283 <para>
1284 <parameter>params</parameter> returns one value,
1285 the image height used for writing pixel data to memory. The initial
1286 value is 0.
1287 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1288 </para>
1289 </listitem>
1290 </varlistentry>
1291 <varlistentry>
1292 <term><constant>GL_PACK_LSB_FIRST</constant></term>
1293 <listitem>
1294 <para>
1295 </para>
1296 <para>
1297 <parameter>params</parameter> returns a single boolean value indicating whether single-bit
1298 pixels being written to memory are written first to the least significant
1299 bit of each unsigned byte. The initial value is <constant>GL_FALSE</constant>.
1300 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1301 </para>
1302 </listitem>
1303 </varlistentry>
1304 <varlistentry>
1305 <term><constant>GL_PACK_ROW_LENGTH</constant></term>
1306 <listitem>
1307 <para>
1308 </para>
1309 <para>
1310 <parameter>params</parameter> returns one value,
1311 the row length used for writing pixel data to memory. The initial value is
1312 0.
1313 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1314 </para>
1315 </listitem>
1316 </varlistentry>
1317 <varlistentry>
1318 <term><constant>GL_PACK_SKIP_IMAGES</constant></term>
1319 <listitem>
1320 <para>
1321 </para>
1322 <para>
1323 <parameter>params</parameter> returns one value,
1324 the number of pixel images skipped before the first pixel is written
1325 into memory. The initial value is 0.
1326 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1327 </para>
1328 </listitem>
1329 </varlistentry>
1330 <varlistentry>
1331 <term><constant>GL_PACK_SKIP_PIXELS</constant></term>
1332 <listitem>
1333 <para>
1334 </para>
1335 <para>
1336 <parameter>params</parameter> returns one value,
1337 the number of pixel locations skipped before the first pixel is written
1338 into memory. The initial value is 0.
1339 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1340 </para>
1341 </listitem>
1342 </varlistentry>
1343 <varlistentry>
1344 <term><constant>GL_PACK_SKIP_ROWS</constant></term>
1345 <listitem>
1346 <para>
1347 </para>
1348 <para>
1349 <parameter>params</parameter> returns one value,
1350 the number of rows of pixel locations skipped before the first pixel is written
1351 into memory. The initial value is 0.
1352 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1353 </para>
1354 </listitem>
1355 </varlistentry>
1356 <varlistentry>
1357 <term><constant>GL_PACK_SWAP_BYTES</constant></term>
1358 <listitem>
1359 <para>
1360 </para>
1361 <para>
1362 <parameter>params</parameter> returns a single boolean value indicating whether the bytes of
1363 two-byte and four-byte pixel indices and components are swapped before being
1364 written to memory. The initial value is <constant>GL_FALSE</constant>.
1365 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
1366 </para>
1367 </listitem>
1368 </varlistentry>
1369 <varlistentry>
1370 <term><constant>GL_PIXEL_PACK_BUFFER_BINDING</constant></term>
1371 <listitem>
1372 <para>
1373 </para>
1374 <para>
1375 <parameter>params</parameter> returns a single value, the name of the buffer object
1376 currently bound to the target <constant>GL_PIXEL_PACK_BUFFER</constant>. If no buffer object
1377 is bound to this target, 0 is returned. The initial value is 0.
1378 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
1379 </para>
1380 </listitem>
1381 </varlistentry>
1382 <varlistentry>
1383 <term><constant>GL_PIXEL_UNPACK_BUFFER_BINDING</constant></term>
1384 <listitem>
1385 <para>
1386 </para>
1387 <para>
1388 <parameter>params</parameter> returns a single value, the name of the buffer object
1389 currently bound to the target <constant>GL_PIXEL_UNPACK_BUFFER</constant>. If no buffer object
1390 is bound to this target, 0 is returned. The initial value is 0.
1391 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
1392 </para>
1393 </listitem>
1394 </varlistentry>
1395 <varlistentry>
1396 <term><constant>GL_POINT_FADE_THRESHOLD_SIZE</constant></term>
1397 <listitem>
1398 <para>
1399 </para>
1400 <para>
1401 <parameter>params</parameter> returns one value,
1402 the point size threshold for determining the point size.
1403 See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
1404 </para>
1405 </listitem>
1406 </varlistentry>
1407 <varlistentry>
1408 <term><constant>GL_PRIMITIVE_RESTART_INDEX</constant></term>
1409 <listitem>
1410 <para>
1411 </para>
1412 <para>
1413 <parameter>params</parameter> returns one value,
1414 the current primitive restart index. The initial value is 0.
1415 See <citerefentry><refentrytitle>glPrimitiveRestartIndex</refentrytitle></citerefentry>.
1416 </para>
1417 </listitem>
1418 </varlistentry>
1419 <varlistentry>
1420 <term><constant>GL_PROGRAM_POINT_SIZE</constant></term>
1421 <listitem>
1422 <para>
1423 </para>
1424 <para>
1425 <parameter>params</parameter> returns a single boolean value indicating whether vertex
1426 program point size mode is enabled. If enabled, then the
1427 point size is taken from the shader built-in <code>gl_PointSize</code>. If disabled,
1428 then the point size is taken from the point state as specified
1429 by <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
1430 The initial value is <constant>GL_FALSE</constant>.
1431 </para>
1432 </listitem>
1433 </varlistentry>
1434 <varlistentry>
1435 <term><constant>GL_PROVOKING_VERTEX</constant></term>
1436 <listitem>
1437 <para>
1438 </para>
1439 <para>
1440 <parameter>params</parameter> returns one value,
1441 the currently selected provoking vertex convention. The initial value is <constant>GL_LAST_VERTEX_CONVENTION</constant>.
1442 See <citerefentry><refentrytitle>glProvokingVertex</refentrytitle></citerefentry>.
1443 </para>
1444 </listitem>
1445 </varlistentry>
1446 <varlistentry>
1447 <term><constant>GL_POINT_SIZE</constant></term>
1448 <listitem>
1449 <para>
1450 </para>
1451 <para>
1452 <parameter>params</parameter> returns one value,
1453 the point size as specified by <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
1454 The initial value is 1.
1455 </para>
1456 </listitem>
1457 </varlistentry>
1458 <varlistentry>
1459 <term><constant>GL_POINT_SIZE_GRANULARITY</constant></term>
1460 <listitem>
1461 <para>
1462 </para>
1463 <para>
1464 <parameter>params</parameter> returns one value,
1465 the size difference between adjacent supported sizes for antialiased points.
1466 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
1467 </para>
1468 </listitem>
1469 </varlistentry>
1470 <varlistentry>
1471 <term><constant>GL_POINT_SIZE_RANGE</constant></term>
1472 <listitem>
1473 <para>
1474 </para>
1475 <para>
1476 <parameter>params</parameter> returns two values:
1477 the smallest and largest supported sizes for antialiased
1478 points. The smallest size must be at most 1, and the largest size must
1479 be at least 1.
1480 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
1481 </para>
1482 </listitem>
1483 </varlistentry>
1484 <varlistentry>
1485 <term><constant>GL_POLYGON_OFFSET_FACTOR</constant></term>
1486 <listitem>
1487 <para>
1488 </para>
1489 <para>
1490 <parameter>params</parameter> returns one value,
1491 the scaling factor used to determine the variable offset that is added
1492 to the depth value of each fragment generated when a polygon is
1493 rasterized. The initial value is 0.
1494 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
1495 </para>
1496 </listitem>
1497 </varlistentry>
1498 <varlistentry>
1499 <term><constant>GL_POLYGON_OFFSET_UNITS</constant></term>
1500 <listitem>
1501 <para>
1502 </para>
1503 <para>
1504 <parameter>params</parameter> returns one value.
1505 This value is multiplied by an implementation-specific value and then
1506 added to the depth value of each fragment
1507 generated when a polygon is rasterized. The initial value is 0.
1508 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
1509 </para>
1510 </listitem>
1511 </varlistentry>
1512 <varlistentry>
1513 <term><constant>GL_POLYGON_OFFSET_FILL</constant></term>
1514 <listitem>
1515 <para>
1516 </para>
1517 <para>
1518 <parameter>params</parameter> returns a single boolean value indicating whether polygon offset
1519 is enabled for polygons in fill mode. The initial value is <constant>GL_FALSE</constant>.
1520 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
1521 </para>
1522 </listitem>
1523 </varlistentry>
1524 <varlistentry>
1525 <term><constant>GL_POLYGON_OFFSET_LINE</constant></term>
1526 <listitem>
1527 <para>
1528 </para>
1529 <para>
1530 <parameter>params</parameter> returns a single boolean value indicating whether polygon offset
1531 is enabled for polygons in line mode. The initial value is <constant>GL_FALSE</constant>.
1532 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
1533 </para>
1534 </listitem>
1535 </varlistentry>
1536 <varlistentry>
1537 <term><constant>GL_POLYGON_OFFSET_POINT</constant></term>
1538 <listitem>
1539 <para>
1540 </para>
1541 <para>
1542 <parameter>params</parameter> returns a single boolean value indicating whether polygon offset
1543 is enabled for polygons in point mode. The initial value is <constant>GL_FALSE</constant>.
1544 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
1545 </para>
1546 </listitem>
1547 </varlistentry>
1548 <varlistentry>
1549 <term><constant>GL_POLYGON_SMOOTH</constant></term>
1550 <listitem>
1551 <para>
1552 </para>
1553 <para>
1554 <parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
1555 polygons is enabled. The initial value is <constant>GL_FALSE</constant>.
1556 See <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>.
1557 </para>
1558 </listitem>
1559 </varlistentry>
1560 <varlistentry>
1561 <term><constant>GL_POLYGON_SMOOTH_HINT</constant></term>
1562 <listitem>
1563 <para>
1564 </para>
1565 <para>
1566 <parameter>params</parameter> returns one value,
1567 a symbolic constant indicating the mode of the polygon antialiasing
1568 hint. The initial value is <constant>GL_DONT_CARE</constant>.
1569 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
1570 </para>
1571 </listitem>
1572 </varlistentry>
1573 <varlistentry>
1574 <term><constant>GL_READ_BUFFER</constant></term>
1575 <listitem>
1576 <para>
1577 </para>
1578 <para>
1579 <parameter>params</parameter> returns one value,
1580 a symbolic constant indicating which color buffer is selected for
1581 reading. The initial value is <constant>GL_BACK</constant> if there is a back buffer,
1582 otherwise it is <constant>GL_FRONT</constant>.
1583 See
1584 <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry>.
1585 </para>
1586 </listitem>
1587 </varlistentry>
1588 <varlistentry>
1589 <term><constant>GL_SAMPLE_BUFFERS</constant></term>
1590 <listitem>
1591 <para>
1592 </para>
1593 <para>
1594 <parameter>params</parameter> returns a single integer value indicating the number of sample buffers
1595 associated with the framebuffer.
1596 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
1597 </para>
1598 </listitem>
1599 </varlistentry>
1600 <varlistentry>
1601 <term><constant>GL_SAMPLE_COVERAGE_VALUE</constant></term>
1602 <listitem>
1603 <para>
1604 </para>
1605 <para>
1606 <parameter>params</parameter> returns a single positive floating-point value indicating the
1607 current sample coverage value.
1608 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
1609 </para>
1610 </listitem>
1611 </varlistentry>
1612 <varlistentry>
1613 <term><constant>GL_SAMPLE_COVERAGE_INVERT</constant></term>
1614 <listitem>
1615 <para>
1616 </para>
1617 <para>
1618 <parameter>params</parameter> returns a single boolean value indicating if the temporary
1619 coverage value should be inverted.
1620 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
1621 </para>
1622 </listitem>
1623 </varlistentry>
1624 <varlistentry>
1625 <term><constant>GL_SAMPLER_BINDING</constant></term>
1626 <listitem>
1627 <para>
1628 </para>
1629 <para>
1630 <parameter>params</parameter> returns a single value, the name of the sampler object
1631 currently bound to the active texture unit. The initial value is 0.
1632 See <citerefentry><refentrytitle>glBindSampler</refentrytitle></citerefentry>.
1633 </para>
1634 </listitem>
1635 </varlistentry>
1636 <varlistentry>
1637 <term><constant>GL_SAMPLES</constant></term>
1638 <listitem>
1639 <para>
1640 </para>
1641 <para>
1642 <parameter>params</parameter> returns a single integer value indicating the coverage mask size.
1643 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
1644 </para>
1645 </listitem>
1646 </varlistentry>
1647 <varlistentry>
1648 <term><constant>GL_SCISSOR_BOX</constant></term>
1649 <listitem>
1650 <para>
1651 </para>
1652 <para>
1653 <parameter>params</parameter> returns four values:
1654 the
1655 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
1656 and
1657 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
1658 window coordinates of the scissor box,
1659 followed by its width and height.
1660 Initially the
1661 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
1662 and
1663 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
1664 window coordinates are both 0 and the
1665 width and height are set to the size of the window.
1666 See <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>.
1667 </para>
1668 </listitem>
1669 </varlistentry>
1670 <varlistentry>
1671 <term><constant>GL_SCISSOR_TEST</constant></term>
1672 <listitem>
1673 <para>
1674 </para>
1675 <para>
1676 <parameter>params</parameter> returns a single boolean value indicating whether scissoring is
1677 enabled. The initial value is <constant>GL_FALSE</constant>.
1678 See <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>.
1679 </para>
1680 </listitem>
1681 </varlistentry>
1682 <varlistentry>
1683 <term><constant>GL_STENCIL_BACK_FAIL</constant></term>
1684 <listitem>
1685 <para>
1686 </para>
1687 <para>
1688 <parameter>params</parameter> returns one value,
1689 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
1690 test fails. The initial value is <constant>GL_KEEP</constant>.
1691 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
1692 </para>
1693 </listitem>
1694 </varlistentry>
1695 <varlistentry>
1696 <term><constant>GL_STENCIL_BACK_FUNC</constant></term>
1697 <listitem>
1698 <para>
1699 </para>
1700 <para>
1701 <parameter>params</parameter> returns one value,
1702 a symbolic constant indicating what function is used for back-facing polygons to compare the
1703 stencil reference value with the stencil buffer value. The initial value
1704 is <constant>GL_ALWAYS</constant>.
1705 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
1706 </para>
1707 </listitem>
1708 </varlistentry>
1709 <varlistentry>
1710 <term><constant>GL_STENCIL_BACK_PASS_DEPTH_FAIL</constant></term>
1711 <listitem>
1712 <para>
1713 </para>
1714 <para>
1715 <parameter>params</parameter> returns one value,
1716 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
1717 test passes,
1718 but the depth test fails. The initial value is <constant>GL_KEEP</constant>.
1719 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
1720 </para>
1721 </listitem>
1722 </varlistentry>
1723 <varlistentry>
1724 <term><constant>GL_STENCIL_BACK_PASS_DEPTH_PASS</constant></term>
1725 <listitem>
1726 <para>
1727 </para>
1728 <para>
1729 <parameter>params</parameter> returns one value,
1730 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
1731 test passes and the depth test passes. The initial value is <constant>GL_KEEP</constant>.
1732 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
1733 </para>
1734 </listitem>
1735 </varlistentry>
1736 <varlistentry>
1737 <term><constant>GL_STENCIL_BACK_REF</constant></term>
1738 <listitem>
1739 <para>
1740 </para>
1741 <para>
1742 <parameter>params</parameter> returns one value,
1743 the reference value that is compared with the contents of the stencil
1744 buffer for back-facing polygons. The initial value is 0.
1745 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
1746 </para>
1747 </listitem>
1748 </varlistentry>
1749 <varlistentry>
1750 <term><constant>GL_STENCIL_BACK_VALUE_MASK</constant></term>
1751 <listitem>
1752 <para>
1753 </para>
1754 <para>
1755 <parameter>params</parameter> returns one value,
1756 the mask that is used for back-facing polygons to mask both the stencil reference value and the
1757 stencil buffer value before they are compared. The initial value is all 1's.
1758 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
1759 </para>
1760 </listitem>
1761 </varlistentry>
1762 <varlistentry>
1763 <term><constant>GL_STENCIL_BACK_WRITEMASK</constant></term>
1764 <listitem>
1765 <para>
1766 </para>
1767 <para>
1768 <parameter>params</parameter> returns one value,
1769 the mask that controls writing of the stencil bitplanes for back-facing polygons. The initial value
1770 is all 1's.
1771 See <citerefentry><refentrytitle>glStencilMaskSeparate</refentrytitle></citerefentry>.
1772 </para>
1773 </listitem>
1774 </varlistentry>
1775 <varlistentry>
1776 <term><constant>GL_STENCIL_CLEAR_VALUE</constant></term>
1777 <listitem>
1778 <para>
1779 </para>
1780 <para>
1781 <parameter>params</parameter> returns one value,
1782 the index to which the stencil bitplanes are cleared. The initial value is
1783 0.
1784 See <citerefentry><refentrytitle>glClearStencil</refentrytitle></citerefentry>.
1785 </para>
1786 </listitem>
1787 </varlistentry>
1788 <varlistentry>
1789 <term><constant>GL_STENCIL_FAIL</constant></term>
1790 <listitem>
1791 <para>
1792 </para>
1793 <para>
1794 <parameter>params</parameter> returns one value,
1795 a symbolic constant indicating what action is taken when the stencil
1796 test fails. The initial value is <constant>GL_KEEP</constant>.
1797 See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
1798 This stencil state only affects non-polygons
1799 and front-facing polygons. Back-facing polygons use separate stencil state.
1800 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
1801 </para>
1802 </listitem>
1803 </varlistentry>
1804 <varlistentry>
1805 <term><constant>GL_STENCIL_FUNC</constant></term>
1806 <listitem>
1807 <para>
1808 </para>
1809 <para>
1810 <parameter>params</parameter> returns one value,
1811 a symbolic constant indicating what function is used to compare the
1812 stencil reference value with the stencil buffer value. The initial value
1813 is <constant>GL_ALWAYS</constant>.
1814 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
1815 This stencil state only affects non-polygons
1816 and front-facing polygons. Back-facing polygons use separate stencil state.
1817 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
1818 </para>
1819 </listitem>
1820 </varlistentry>
1821 <varlistentry>
1822 <term><constant>GL_STENCIL_PASS_DEPTH_FAIL</constant></term>
1823 <listitem>
1824 <para>
1825 </para>
1826 <para>
1827 <parameter>params</parameter> returns one value,
1828 a symbolic constant indicating what action is taken when the stencil
1829 test passes,
1830 but the depth test fails. The initial value is <constant>GL_KEEP</constant>.
1831 See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
1832 This stencil state only affects non-polygons
1833 and front-facing polygons. Back-facing polygons use separate stencil state.
1834 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
1835 </para>
1836 </listitem>
1837 </varlistentry>
1838 <varlistentry>
1839 <term><constant>GL_STENCIL_PASS_DEPTH_PASS</constant></term>
1840 <listitem>
1841 <para>
1842 </para>
1843 <para>
1844 <parameter>params</parameter> returns one value,
1845 a symbolic constant indicating what action is taken when the stencil
1846 test passes and the depth test passes. The initial value is <constant>GL_KEEP</constant>.
1847 See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
1848 This stencil state only affects non-polygons
1849 and front-facing polygons. Back-facing polygons use separate stencil state.
1850 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
1851 </para>
1852 </listitem>
1853 </varlistentry>
1854 <varlistentry>
1855 <term><constant>GL_STENCIL_REF</constant></term>
1856 <listitem>
1857 <para>
1858 </para>
1859 <para>
1860 <parameter>params</parameter> returns one value,
1861 the reference value that is compared with the contents of the stencil
1862 buffer. The initial value is 0.
1863 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
1864 This stencil state only affects non-polygons
1865 and front-facing polygons. Back-facing polygons use separate stencil state.
1866 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
1867 </para>
1868 </listitem>
1869 </varlistentry>
1870 <varlistentry>
1871 <term><constant>GL_STENCIL_TEST</constant></term>
1872 <listitem>
1873 <para>
1874 </para>
1875 <para>
1876 <parameter>params</parameter> returns a single boolean value indicating whether stencil testing
1877 of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
1878 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
1879 </para>
1880 </listitem>
1881 </varlistentry>
1882 <varlistentry>
1883 <term><constant>GL_STENCIL_VALUE_MASK</constant></term>
1884 <listitem>
1885 <para>
1886 </para>
1887 <para>
1888 <parameter>params</parameter> returns one value,
1889 the mask that is used to mask both the stencil reference value and the
1890 stencil buffer value before they are compared. The initial value is all 1's.
1891 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
1892 This stencil state only affects non-polygons
1893 and front-facing polygons. Back-facing polygons use separate stencil state.
1894 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
1895 </para>
1896 </listitem>
1897 </varlistentry>
1898 <varlistentry>
1899 <term><constant>GL_STENCIL_WRITEMASK</constant></term>
1900 <listitem>
1901 <para>
1902 </para>
1903 <para>
1904 <parameter>params</parameter> returns one value,
1905 the mask that controls writing of the stencil bitplanes. The initial value
1906 is all 1's.
1907 See <citerefentry><refentrytitle>glStencilMask</refentrytitle></citerefentry>.
1908 This stencil state only affects non-polygons
1909 and front-facing polygons. Back-facing polygons use separate stencil state.
1910 See <citerefentry><refentrytitle>glStencilMaskSeparate</refentrytitle></citerefentry>.
1911 </para>
1912 </listitem>
1913 </varlistentry>
1914 <varlistentry>
1915 <term><constant>GL_STEREO</constant></term>
1916 <listitem>
1917 <para>
1918 </para>
1919 <para>
1920 <parameter>params</parameter> returns a single boolean value indicating whether stereo buffers
1921 (left and right) are supported.
1922 </para>
1923 </listitem>
1924 </varlistentry>
1925 <varlistentry>
1926 <term><constant>GL_SUBPIXEL_BITS</constant></term>
1927 <listitem>
1928 <para>
1929 </para>
1930 <para>
1931 <parameter>params</parameter> returns one value,
1932 an estimate of the number of bits of subpixel resolution that are used to
1933 position rasterized geometry in window coordinates. The value must be at least 4.
1934 </para>
1935 </listitem>
1936 </varlistentry>
1937 <varlistentry>
1938 <term><constant>GL_TEXTURE_BINDING_1D</constant></term>
1939 <listitem>
1940 <para>
1941 </para>
1942 <para>
1943 <parameter>params</parameter> returns a single value, the name of the texture
1944 currently bound to the target <constant>GL_TEXTURE_1D</constant>. The initial value is 0.
1945 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
1946 </para>
1947 </listitem>
1948 </varlistentry>
1949 <varlistentry>
1950 <term><constant>GL_TEXTURE_BINDING_1D_ARRAY</constant></term>
1951 <listitem>
1952 <para>
1953 </para>
1954 <para>
1955 <parameter>params</parameter> returns a single value, the name of the texture
1956 currently bound to the target <constant>GL_TEXTURE_1D_ARRAY</constant>. The initial value is 0.
1957 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
1958 </para>
1959 </listitem>
1960 </varlistentry>
1961 <varlistentry>
1962 <term><constant>GL_TEXTURE_BINDING_2D</constant></term>
1963 <listitem>
1964 <para>
1965 </para>
1966 <para>
1967 <parameter>params</parameter> returns a single value, the name of the texture
1968 currently bound to the target <constant>GL_TEXTURE_2D</constant>. The initial value is 0.
1969 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
1970 </para>
1971 </listitem>
1972 </varlistentry>
1973 <varlistentry>
1974 <term><constant>GL_TEXTURE_BINDING_2D_ARRAY</constant></term>
1975 <listitem>
1976 <para>
1977 </para>
1978 <para>
1979 <parameter>params</parameter> returns a single value, the name of the texture
1980 currently bound to the target <constant>GL_TEXTURE_2D_ARRAY</constant>. The initial value is 0.
1981 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
1982 </para>
1983 </listitem>
1984 </varlistentry>
1985 <varlistentry>
1986 <term><constant>GL_TEXTURE_BINDING_2D_MULTISAMPLE</constant></term>
1987 <listitem>
1988 <para>
1989 </para>
1990 <para>
1991 <parameter>params</parameter> returns a single value, the name of the texture
1992 currently bound to the target <constant>GL_TEXTURE_2D_MULTISAMPLE</constant>. The initial value is 0.
1993 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
1994 </para>
1995 </listitem>
1996 </varlistentry>
1997 <varlistentry>
1998 <term><constant>GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY</constant></term>
1999 <listitem>
2000 <para>
2001 </para>
2002 <para>
2003 <parameter>params</parameter> returns a single value, the name of the texture
2004 currently bound to the target <constant>GL_TEXTURE_2D_MULTISAMPLE_ARRAY</constant>. The initial value is 0.
2005 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
2006 </para>
2007 </listitem>
2008 </varlistentry>
2009 <varlistentry>
2010 <term><constant>GL_TEXTURE_BINDING_3D</constant></term>
2011 <listitem>
2012 <para>
2013 </para>
2014 <para>
2015 <parameter>params</parameter> returns a single value, the name of the texture
2016 currently bound to the target <constant>GL_TEXTURE_3D</constant>. The initial value is 0.
2017 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
2018 </para>
2019 </listitem>
2020 </varlistentry>
2021 <varlistentry>
2022 <term><constant>GL_TEXTURE_BINDING_BUFFER</constant></term>
2023 <listitem>
2024 <para>
2025 </para>
2026 <para>
2027 <parameter>params</parameter> returns a single value, the name of the texture
2028 currently bound to the target <constant>GL_TEXTURE_BUFFER</constant>. The initial value is 0.
2029 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
2030 </para>
2031 </listitem>
2032 </varlistentry>
2033 <varlistentry>
2034 <term><constant>GL_TEXTURE_BINDING_CUBE_MAP</constant></term>
2035 <listitem>
2036 <para>
2037 </para>
2038 <para>
2039 <parameter>params</parameter> returns a single value, the name of the texture
2040 currently bound to the target <constant>GL_TEXTURE_CUBE_MAP</constant>. The initial value is 0.
2041 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
2042 </para>
2043 </listitem>
2044 </varlistentry>
2045 <varlistentry>
2046 <term><constant>GL_TEXTURE_BINDING_RECTANGLE</constant></term>
2047 <listitem>
2048 <para>
2049 </para>
2050 <para>
2051 <parameter>params</parameter> returns a single value, the name of the texture
2052 currently bound to the target <constant>GL_TEXTURE_RECTANGLE</constant>. The initial value is 0.
2053 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
2054 </para>
2055 </listitem>
2056 </varlistentry>
2057 <varlistentry>
2058 <term><constant>GL_TEXTURE_COMPRESSION_HINT</constant></term>
2059 <listitem>
2060 <para>
2061 </para>
2062 <para>
2063 <parameter>params</parameter> returns a single value indicating the mode of the texture
2064 compression hint. The initial value is <constant>GL_DONT_CARE</constant>.
2065 </para>
2066 </listitem>
2067 </varlistentry>
2068 <varlistentry>
2069 <term><constant>GL_TEXTURE_BINDING_BUFFER</constant></term>
2070 <listitem>
2071 <para>
2072 </para>
2073 <para>
2074 <parameter>params</parameter> returns a single value, the name of the texture buffer object
2075 currently bound. The initial value is 0.
2076 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
2077 </para>
2078 </listitem>
2079 </varlistentry>
2080 <varlistentry>
2081 <term><constant>GL_TIMESTAMP</constant></term>
2082 <listitem>
2083 <para>
2084 </para>
2085 <para>
2086 <parameter>params</parameter> returns a single value, the 64-bit value of the current
2087 GL time.
2088 See <citerefentry><refentrytitle>glQueryCounter</refentrytitle></citerefentry>.
2089 </para>
2090 </listitem>
2091 </varlistentry>
2092 <varlistentry>
2093 <term><constant>GL_TRANSFORM_FEEDBACK_BUFFER_BINDING</constant></term>
2094 <listitem>
2095 <para>
2096 </para>
2097 <para>
2098 When used with non-indexed variants of <function>glGet</function> (such as <function>glGetIntegerv</function>),
2099 <parameter>params</parameter> returns a single value, the name of the buffer object
2100 currently bound to the target <constant>GL_TRANSFORM_FEEDBACK_BUFFER</constant>. If no buffer object
2101 is bound to this target, 0 is returned.
2102 When used with indexed variants of <function>glGet</function> (such as <function>glGetIntegeri_v</function>),
2103 <parameter>params</parameter> returns a single value, the name of the buffer object
2104 bound to the indexed transform feedback attribute stream. The initial value is 0 for all targets.
2105 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glBindBufferBase</refentrytitle></citerefentry>, and
2106 <citerefentry><refentrytitle>glBindBufferRange</refentrytitle></citerefentry>.
2107 </para>
2108 </listitem>
2109 </varlistentry>
2110 <varlistentry>
2111 <term><constant>GL_TRANSFORM_FEEDBACK_BUFFER_START</constant></term>
2112 <listitem>
2113 <para>
2114 </para>
2115 <para>
2116 When used with indexed variants of <function>glGet</function> (such as <function>glGetInteger64i_v</function>),
2117 <parameter>params</parameter> returns a single value, the start offset of the binding range for each
2118 transform feedback attribute stream. The initial value is 0 for all streams.
2119 See <citerefentry><refentrytitle>glBindBufferRange</refentrytitle></citerefentry>.
2120 </para>
2121 </listitem>
2122 </varlistentry>
2123 <varlistentry>
2124 <term><constant>GL_TRANSFORM_FEEDBACK_BUFFER_SIZE</constant></term>
2125 <listitem>
2126 <para>
2127 </para>
2128 <para>
2129 When used with indexed variants of <function>glGet</function> (such as <function>glGetInteger64i_v</function>),
2130 <parameter>params</parameter> returns a single value, the size of the binding range for each
2131 transform feedback attribute stream. The initial value is 0 for all streams.
2132 See <citerefentry><refentrytitle>glBindBufferRange</refentrytitle></citerefentry>.
2133 </para>
2134 </listitem>
2135 </varlistentry>
2136 <varlistentry>
2137 <term><constant>GL_UNIFORM_BUFFER_BINDING</constant></term>
2138 <listitem>
2139 <para>
2140 </para>
2141 <para>
2142 When used with non-indexed variants of <function>glGet</function> (such as <function>glGetIntegerv</function>),
2143 <parameter>params</parameter> returns a single value, the name of the buffer object
2144 currently bound to the target <constant>GL_UNIFORM_BUFFER</constant>. If no buffer object
2145 is bound to this target, 0 is returned.
2146 When used with indexed variants of <function>glGet</function> (such as <function>glGetIntegeri_v</function>),
2147 <parameter>params</parameter> returns a single value, the name of the buffer object
2148 bound to the indexed uniform buffer binding point. The initial value is 0 for all targets.
2149 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>, <citerefentry><refentrytitle>glBindBufferBase</refentrytitle></citerefentry>, and
2150 <citerefentry><refentrytitle>glBindBufferRange</refentrytitle></citerefentry>.
2151 </para>
2152 </listitem>
2153 </varlistentry>
2154 <varlistentry>
2155 <term><constant>GL_UNIFORM_BUFFER_START</constant></term>
2156 <listitem>
2157 <para>
2158 </para>
2159 <para>
2160 When used with indexed variants of <function>glGet</function> (such as <function>glGetInteger64i_v</function>),
2161 <parameter>params</parameter> returns a single value, the start offset of the binding range for each
2162 indexed uniform buffer binding. The initial value is 0 for all bindings.
2163 See <citerefentry><refentrytitle>glBindBufferRange</refentrytitle></citerefentry>.
2164 </para>
2165 </listitem>
2166 </varlistentry>
2167 <varlistentry>
2168 <term><constant>GL_UNIFORM_BUFFER_SIZE</constant></term>
2169 <listitem>
2170 <para>
2171 </para>
2172 <para>
2173 When used with indexed variants of <function>glGet</function> (such as <function>glGetInteger64i_v</function>),
2174 <parameter>params</parameter> returns a single value, the size of the binding range for each
2175 indexed uniform buffer binding. The initial value is 0 for all bindings.
2176 See <citerefentry><refentrytitle>glBindBufferRange</refentrytitle></citerefentry>.
2177 </para>
2178 </listitem>
2179 </varlistentry>
2180 <varlistentry>
2181 <term><constant>GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT</constant></term>
2182 <listitem>
2183 <para>
2184 </para>
2185 <para>
2186 <parameter>params</parameter> returns a single value, the minimum required alignment
2187 for uniform buffer sizes and offset. The initial value is 1.
2188 See <citerefentry><refentrytitle>glUniformBlockBinding</refentrytitle></citerefentry>.
2189 </para>
2190 </listitem>
2191 </varlistentry>
2192 <varlistentry>
2193 <term><constant>GL_UNPACK_ALIGNMENT</constant></term>
2194 <listitem>
2195 <para>
2196 </para>
2197 <para>
2198 <parameter>params</parameter> returns one value,
2199 the byte alignment used for reading pixel data from memory. The initial
2200 value is 4.
2201 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2202 </para>
2203 </listitem>
2204 </varlistentry>
2205 <varlistentry>
2206 <term><constant>GL_UNPACK_IMAGE_HEIGHT</constant></term>
2207 <listitem>
2208 <para>
2209 </para>
2210 <para>
2211 <parameter>params</parameter> returns one value,
2212 the image height used for reading pixel data from memory. The initial
2213 is 0.
2214 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2215 </para>
2216 </listitem>
2217 </varlistentry>
2218 <varlistentry>
2219 <term><constant>GL_UNPACK_LSB_FIRST</constant></term>
2220 <listitem>
2221 <para>
2222 </para>
2223 <para>
2224 <parameter>params</parameter> returns a single boolean value indicating whether single-bit
2225 pixels being read from memory are read first from the least significant
2226 bit of each unsigned byte. The initial value is <constant>GL_FALSE</constant>.
2227 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2228 </para>
2229 </listitem>
2230 </varlistentry>
2231 <varlistentry>
2232 <term><constant>GL_UNPACK_ROW_LENGTH</constant></term>
2233 <listitem>
2234 <para>
2235 </para>
2236 <para>
2237 <parameter>params</parameter> returns one value,
2238 the row length used for reading pixel data from memory. The initial value
2239 is 0.
2240 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2241 </para>
2242 </listitem>
2243 </varlistentry>
2244 <varlistentry>
2245 <term><constant>GL_UNPACK_SKIP_IMAGES</constant></term>
2246 <listitem>
2247 <para>
2248 </para>
2249 <para>
2250 <parameter>params</parameter> returns one value,
2251 the number of pixel images skipped before the first pixel is read
2252 from memory. The initial value is 0.
2253 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2254 </para>
2255 </listitem>
2256 </varlistentry>
2257 <varlistentry>
2258 <term><constant>GL_UNPACK_SKIP_PIXELS</constant></term>
2259 <listitem>
2260 <para>
2261 </para>
2262 <para>
2263 <parameter>params</parameter> returns one value,
2264 the number of pixel locations skipped before the first pixel is read
2265 from memory. The initial value is 0.
2266 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2267 </para>
2268 </listitem>
2269 </varlistentry>
2270 <varlistentry>
2271 <term><constant>GL_UNPACK_SKIP_ROWS</constant></term>
2272 <listitem>
2273 <para>
2274 </para>
2275 <para>
2276 <parameter>params</parameter> returns one value,
2277 the number of rows of pixel locations skipped before the first pixel is read
2278 from memory. The initial value is 0.
2279 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2280 </para>
2281 </listitem>
2282 </varlistentry>
2283 <varlistentry>
2284 <term><constant>GL_UNPACK_SWAP_BYTES</constant></term>
2285 <listitem>
2286 <para>
2287 </para>
2288 <para>
2289 <parameter>params</parameter> returns a single boolean value indicating whether the bytes of
2290 two-byte and four-byte pixel indices and components are swapped after being
2291 read from memory. The initial value is <constant>GL_FALSE</constant>.
2292 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2293 </para>
2294 </listitem>
2295 </varlistentry>
2296 <varlistentry>
2297 <term><constant>GL_NUM_EXTENSIONS</constant></term>
2298 <listitem>
2299 <para>
2300 </para>
2301 <para>
2302 <parameter>params</parameter> returns one value,
2303 the number of extensions supported by the GL implementation for the current context.
2304 See <citerefentry><refentrytitle>glGetString</refentrytitle></citerefentry>.
2305 </para>
2306 </listitem>
2307 </varlistentry>
2308 <varlistentry>
2309 <term><constant>GL_MAJOR_VERSION</constant></term>
2310 <listitem>
2311 <para>
2312 </para>
2313 <para>
2314 <parameter>params</parameter> returns one value,
2315 the major version number of the OpenGL API supported by the current context.
2316 </para>
2317 </listitem>
2318 </varlistentry>
2319 <varlistentry>
2320 <term><constant>GL_MINOR_VERSION</constant></term>
2321 <listitem>
2322 <para>
2323 </para>
2324 <para>
2325 <parameter>params</parameter> returns one value,
2326 the minor version number of the OpenGL API supported by the current context.
2327 </para>
2328 </listitem>
2329 </varlistentry>
2330 <varlistentry>
2331 <term><constant>GL_CONTEXT_FLAGS</constant></term>
2332 <listitem>
2333 <para>
2334 </para>
2335 <para>
2336 <parameter>params</parameter> returns one value,
2337 the flags with which the context was created (such as debugging functionality).
2338 </para>
2339 </listitem>
2340 </varlistentry>
2341 <varlistentry>
2342 <term><constant>GL_VIEWPORT</constant></term>
2343 <listitem>
2344 <para>
2345 </para>
2346 <para>
2347 <parameter>params</parameter> returns four values:
2348 the
2349 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
2350 and
2351 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
2352 window coordinates of the viewport,
2353 followed by its width and height.
2354 Initially the
2355 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
2356 and
2357 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
2358 window coordinates are both set to 0,
2359 and the width and height are set to the width and height of the window into
2360 which the GL will do its rendering.
2361 See <citerefentry><refentrytitle>glViewport</refentrytitle></citerefentry>.
2362 </para>
2363 </listitem>
2364 </varlistentry>
2365 </variablelist>
2366 <para>
2367 Many of the boolean parameters can also be queried more easily using
2368 <citerefentry><refentrytitle>glIsEnabled</refentrytitle></citerefentry>.
2369 </para>
2370 </refsect1>
2371 <refsect1 id="notes"><title>Notes</title>
2372 <para>
2373 The following parameters return the associated value for the active texture unit:
2374 <constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_BINDING_1D</constant>,
2375 <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_BINDING_2D</constant>,
2376 <constant>GL_TEXTURE_3D</constant> and <constant>GL_TEXTURE_BINDING_3D</constant>.
2377 </para>
2378 <para>
2379 <constant>GL_MAX_RECTANGLE_TEXTURE_SIZE</constant>, <constant>GL_MAX_TEXTURE_BUFFER_SIZE</constant>,
2380 <constant>GL_UNIFORM_BUFFER_BINDING</constant>, <constant>GL_TEXTURE_BINDING_BUFFER</constant>,
2381 <constant>GL_MAX_VERTEX_UNIFORM_BLOCKS</constant>, <constant>GL_MAX_FRAGMENT_UNIFORM_BLOCKS</constant>,
2382 <constant>GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS</constant>, <constant>GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS</constant>
2383 <constant>GL_MAX_COMBINED_UNIFORM_BLOCKS</constant>, <constant>GL_MAX_UNIFORM_BLOCK_SIZE</constant>,
2384 and <constant>GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT</constant>
2385 are available only if the GL version is 3.1 or greater.
2386 </para>
2387 <para>
2388 <constant>GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS</constant>, <constant>GL_MAX_GEOMETRY_UNIFORM_BLOCKS</constant>,
2389 <constant>GL_MAX_GEOMETRY_INPUT_COMPONENTS</constant>, <constant>GL_MAX_GEOMETRY_OUTPUT_COMPONENTS</constant>,
2390 <constant>GL_MAX_GEOMETRY_OUTPUT_VERTICES</constant>, <constant>GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS</constant> and
2391 <constant>GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS</constant> are available only if the GL version is 3.2 or greater.
2392 </para>
2393 <para>
2394 <function>glGetInteger64v</function> and <function>glGetInteger64i_v</function> are available only if
2395 the GL version is 3.2 or greater.
2396 </para>
2397 <para>
2398 <constant>GL_MAX_DUAL_SOURCE_DRAW_BUFFERS</constant>, <constant>GL_SAMPLER_BINDING</constant>, and
2399 <constant>GL_TIMESTAMP</constant> are available only if the GL version is 3.3 or greater.
2400 </para>
2401 </refsect1>
2402 <refsect1 id="errors"><title>Errors</title>
2403 <para>
2404 <constant>GL_INVALID_ENUM</constant> is generated if <parameter>pname</parameter> is not an accepted value.
2405 </para>
2406 <para>
2407 <constant>GL_INVALID_VALUE</constant> is generated on any of <function>glGetBooleani_v</function>,
2408 <function>glGetIntegeri_v</function>, or <function>glGetInteger64i_v</function> if
2409 <parameter>index</parameter> is outside of the valid range for the indexed state <parameter>target</parameter>.
2410 </para>
2411 </refsect1>
2412 <refsect1 id="seealso"><title>See Also</title>
2413 <para>
2414 <citerefentry><refentrytitle>glGetActiveUniform</refentrytitle></citerefentry>,
2415 <citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry>,
2416 <citerefentry><refentrytitle>glGetAttribLocation</refentrytitle></citerefentry>,
2417 <citerefentry><refentrytitle>glGetBufferParameter</refentrytitle></citerefentry>,
2418 <citerefentry><refentrytitle>glGetBufferPointerv</refentrytitle></citerefentry>,
2419 <citerefentry><refentrytitle>glGetBufferSubData</refentrytitle></citerefentry>,
2420 <citerefentry><refentrytitle>glGetCompressedTexImage</refentrytitle></citerefentry>,
2421 <citerefentry><refentrytitle>glGetError</refentrytitle></citerefentry>,
2422 <citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry>,
2423 <citerefentry><refentrytitle>glGetProgramInfoLog</refentrytitle></citerefentry>,
2424 <citerefentry><refentrytitle>glGetQueryiv</refentrytitle></citerefentry>,
2425 <citerefentry><refentrytitle>glGetQueryObject</refentrytitle></citerefentry>,
2426 <citerefentry><refentrytitle>glGetShader</refentrytitle></citerefentry>,
2427 <citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry>,
2428 <citerefentry><refentrytitle>glGetShaderSource</refentrytitle></citerefentry>,
2429 <citerefentry><refentrytitle>glGetString</refentrytitle></citerefentry>,
2430 <citerefentry><refentrytitle>glGetTexImage</refentrytitle></citerefentry>,
2431 <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>,
2432 <citerefentry><refentrytitle>glGetTexParameter</refentrytitle></citerefentry>,
2433 <citerefentry><refentrytitle>glGetUniform</refentrytitle></citerefentry>,
2434 <citerefentry><refentrytitle>glGetUniformLocation</refentrytitle></citerefentry>,
2435 <citerefentry><refentrytitle>glGetVertexAttrib</refentrytitle></citerefentry>,
2436 <citerefentry><refentrytitle>glGetVertexAttribPointerv</refentrytitle></citerefentry>,
2437 <citerefentry><refentrytitle>glIsEnabled</refentrytitle></citerefentry>
2438 </para>
2439 </refsect1>
2440 <refsect1 id="Copyright"><title>Copyright</title>
2441 <para>
2442 Copyright <trademark class="copyright"></trademark> 1991-2006
2443 Silicon Graphics, Inc. This document is licensed under the SGI
2444 Free Software B License. For details, see
2445 <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
2446 </para>
2447 </refsect1>
2448 </refentry>