e8ca91962b1f00562cb0f199075b48e32cfe3355
[clinton/guile-figl.git] / upstream-man-pages / man2 / 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 <!-- eqn: ignoring delim $$ -->
56 <refsect1 id="parameters"><title>Parameters</title>
57 <variablelist>
58 <varlistentry>
59 <term><parameter>pname</parameter></term>
60 <listitem>
61 <para>
62 Specifies the parameter value to be returned.
63 The symbolic constants in the list below are accepted.
64 </para>
65 </listitem>
66 </varlistentry>
67 <varlistentry>
68 <term><parameter>params</parameter></term>
69 <listitem>
70 <para>
71 Returns the value or values of the specified parameter.
72 </para>
73 </listitem>
74 </varlistentry>
75 </variablelist>
76 </refsect1>
77 <refsect1 id="description"><title>Description</title>
78 <para>
79 These four commands return values for simple state variables in GL.
80 <parameter>pname</parameter> is a symbolic constant indicating the state variable to be returned,
81 and <parameter>params</parameter> is a pointer to an array of the indicated type in
82 which to place the returned data.
83 </para>
84 <para>
85 Type conversion is performed if <parameter>params</parameter> has a different type than
86 the state variable value being requested.
87 If <function>glGetBooleanv</function> is called,
88 a floating-point (or integer) value is converted to <constant>GL_FALSE</constant> if
89 and only if it is 0.0 (or 0).
90 Otherwise,
91 it is converted to <constant>GL_TRUE</constant>.
92 If <function>glGetIntegerv</function> is called, boolean values are returned as
93 <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>, and most floating-point values are
94 rounded to the nearest integer value. Floating-point colors and
95 normals, however, are returned with a linear mapping that maps 1.0 to
96 the most positive representable integer value
97 and
98 <inlineequation><mml:math>
99 <!-- eqn: -1.0:-->
100 <mml:mn>-1.0</mml:mn>
101 </mml:math></inlineequation>
102 to the most negative representable integer value.
103 If <function>glGetFloatv</function> or <function>glGetDoublev</function> is called,
104 boolean values are returned as <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>,
105 and integer values are converted to floating-point values.
106 </para>
107 <para>
108 The following symbolic constants are accepted by <parameter>pname</parameter>:
109 </para>
110 <variablelist>
111 <varlistentry>
112 <term><constant>GL_ACCUM_ALPHA_BITS</constant></term>
113 <listitem>
114 <para>
115 </para>
116 <para>
117 <parameter>params</parameter> returns one value,
118 the number of alpha bitplanes in the accumulation buffer.
119 </para>
120 </listitem>
121 </varlistentry>
122 <varlistentry>
123 <term><constant>GL_ACCUM_BLUE_BITS</constant></term>
124 <listitem>
125 <para>
126 </para>
127 <para>
128 <parameter>params</parameter> returns one value,
129 the number of blue bitplanes in the accumulation buffer.
130 </para>
131 </listitem>
132 </varlistentry>
133 <varlistentry>
134 <term><constant>GL_ACCUM_CLEAR_VALUE</constant></term>
135 <listitem>
136 <para>
137 </para>
138 <para>
139 <parameter>params</parameter> returns four values:
140 the red, green, blue, and alpha values used to clear the accumulation buffer.
141 Integer values,
142 if requested,
143 are linearly mapped from the internal floating-point representation such
144 that 1.0 returns the most positive representable integer value,
145 and
146 <inlineequation><mml:math>
147 <!-- eqn: -1.0:-->
148 <mml:mn>-1.0</mml:mn>
149 </mml:math></inlineequation>
150 returns the most negative representable integer
151 value. The initial value is (0, 0, 0, 0).
152 See <citerefentry><refentrytitle>glClearAccum</refentrytitle></citerefentry>.
153 </para>
154 </listitem>
155 </varlistentry>
156 <varlistentry>
157 <term><constant>GL_ACCUM_GREEN_BITS</constant></term>
158 <listitem>
159 <para>
160 </para>
161 <para>
162 <parameter>params</parameter> returns one value,
163 the number of green bitplanes in the accumulation buffer.
164 </para>
165 </listitem>
166 </varlistentry>
167 <varlistentry>
168 <term><constant>GL_ACCUM_RED_BITS</constant></term>
169 <listitem>
170 <para>
171 </para>
172 <para>
173 <parameter>params</parameter> returns one value,
174 the number of red bitplanes in the accumulation buffer.
175 </para>
176 </listitem>
177 </varlistentry>
178 <varlistentry>
179 <term><constant>GL_ACTIVE_TEXTURE</constant></term>
180 <listitem>
181 <para>
182 </para>
183 <para>
184 <parameter>params</parameter> returns a single value indicating the active multitexture unit.
185 The initial value is <constant>GL_TEXTURE0</constant>.
186 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
187 </para>
188 </listitem>
189 </varlistentry>
190 <varlistentry>
191 <term><constant>GL_ALIASED_POINT_SIZE_RANGE</constant></term>
192 <listitem>
193 <para>
194 </para>
195 <para>
196 <parameter>params</parameter> returns two values,
197 the smallest and largest supported sizes for aliased points.
198 </para>
199 </listitem>
200 </varlistentry>
201 <varlistentry>
202 <term><constant>GL_ALIASED_LINE_WIDTH_RANGE</constant></term>
203 <listitem>
204 <para>
205 </para>
206 <para>
207 <parameter>params</parameter> returns two values,
208 the smallest and largest supported widths for aliased lines.
209 </para>
210 </listitem>
211 </varlistentry>
212 <varlistentry>
213 <term><constant>GL_ALPHA_BIAS</constant></term>
214 <listitem>
215 <para>
216 </para>
217 <para>
218 <parameter>params</parameter> returns one value,
219 the alpha bias factor used during pixel transfers. The initial value is 0.
220 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
221 </para>
222 </listitem>
223 </varlistentry>
224 <varlistentry>
225 <term><constant>GL_ALPHA_BITS</constant></term>
226 <listitem>
227 <para>
228 </para>
229 <para>
230 <parameter>params</parameter> returns one value,
231 the number of alpha bitplanes in each color buffer.
232 </para>
233 </listitem>
234 </varlistentry>
235 <varlistentry>
236 <term><constant>GL_ALPHA_SCALE</constant></term>
237 <listitem>
238 <para>
239 </para>
240 <para>
241 <parameter>params</parameter> returns one value,
242 the alpha scale factor used
243 during pixel transfers. The initial value is 1.
244 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
245 </para>
246 </listitem>
247 </varlistentry>
248 <varlistentry>
249 <term><constant>GL_ALPHA_TEST</constant></term>
250 <listitem>
251 <para>
252 </para>
253 <para>
254 <parameter>params</parameter> returns a single boolean value indicating whether alpha testing
255 of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
256 See <citerefentry><refentrytitle>glAlphaFunc</refentrytitle></citerefentry>.
257 </para>
258 </listitem>
259 </varlistentry>
260 <varlistentry>
261 <term><constant>GL_ALPHA_TEST_FUNC</constant> <parameter>params</parameter> returns one value,</term>
262 <listitem>
263 <para>
264 </para>
265 <para>
266 the symbolic name of the alpha test function. The initial value is
267 <constant>GL_ALWAYS</constant>.
268 See <citerefentry><refentrytitle>glAlphaFunc</refentrytitle></citerefentry>.
269 </para>
270 </listitem>
271 </varlistentry>
272 <varlistentry>
273 <term><constant>GL_ALPHA_TEST_REF</constant></term>
274 <listitem>
275 <para>
276 </para>
277 <para>
278 <parameter>params</parameter> returns one value,
279 the reference value for the alpha test. The initial value is 0.
280 See <citerefentry><refentrytitle>glAlphaFunc</refentrytitle></citerefentry>.
281 An integer value,
282 if requested,
283 is linearly mapped from the internal floating-point representation such
284 that 1.0 returns the most positive representable integer value,
285 and
286 <inlineequation><mml:math>
287 <!-- eqn: -1.0:-->
288 <mml:mn>-1.0</mml:mn>
289 </mml:math></inlineequation>
290 returns the most negative representable integer value.
291 </para>
292 </listitem>
293 </varlistentry>
294 <varlistentry>
295 <term><constant>GL_ARRAY_BUFFER_BINDING</constant></term>
296 <listitem>
297 <para>
298 </para>
299 <para>
300 <parameter>params</parameter> returns a single value, the name of the buffer object
301 currently bound to the target <constant>GL_ARRAY_BUFFER</constant>. If no buffer object
302 is bound to this target, 0 is returned. The initial value is 0.
303 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
304 </para>
305 </listitem>
306 </varlistentry>
307 <varlistentry>
308 <term><constant>GL_ATTRIB_STACK_DEPTH</constant></term>
309 <listitem>
310 <para>
311 </para>
312 <para>
313 <parameter>params</parameter> returns one value,
314 the depth of the attribute stack.
315 If the stack is empty,
316 0 is returned. The initial value is 0.
317 See <citerefentry><refentrytitle>glPushAttrib</refentrytitle></citerefentry>.
318 </para>
319 </listitem>
320 </varlistentry>
321 <varlistentry>
322 <term><constant>GL_AUTO_NORMAL</constant></term>
323 <listitem>
324 <para>
325 </para>
326 <para>
327 <parameter>params</parameter> returns a single boolean value indicating whether 2D map evaluation
328 automatically generates surface normals. The initial value is <constant>GL_FALSE</constant>.
329 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
330 </para>
331 </listitem>
332 </varlistentry>
333 <varlistentry>
334 <term><constant>GL_AUX_BUFFERS</constant></term>
335 <listitem>
336 <para>
337 </para>
338 <para>
339 <parameter>params</parameter> returns one value,
340 the number of auxiliary color buffers available.
341 </para>
342 </listitem>
343 </varlistentry>
344 <varlistentry>
345 <term><constant>GL_BLEND</constant></term>
346 <listitem>
347 <para>
348 </para>
349 <para>
350 <parameter>params</parameter> returns a single boolean value indicating whether blending is
351 enabled. The initial value is <constant>GL_FALSE</constant>.
352 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry>.
353 </para>
354 </listitem>
355 </varlistentry>
356 <varlistentry>
357 <term><constant>GL_BLEND_COLOR</constant></term>
358 <listitem>
359 <para>
360 </para>
361 <para>
362 <parameter>params</parameter> returns four values,
363 the red, green, blue, and alpha values which are the components of
364 the blend color.
365 See <citerefentry><refentrytitle>glBlendColor</refentrytitle></citerefentry>.
366 </para>
367 </listitem>
368 </varlistentry>
369 <varlistentry>
370 <term><constant>GL_BLEND_DST_ALPHA</constant></term>
371 <listitem>
372 <para>
373 </para>
374 <para>
375 <parameter>params</parameter> returns one value,
376 the symbolic constant identifying the alpha destination blend
377 function. The initial value is <constant>GL_ZERO</constant>.
378 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
379 </para>
380 </listitem>
381 </varlistentry>
382 <varlistentry>
383 <term><constant>GL_BLEND_DST_RGB</constant></term>
384 <listitem>
385 <para>
386 </para>
387 <para>
388 <parameter>params</parameter> returns one value,
389 the symbolic constant identifying the RGB destination blend
390 function. The initial value is <constant>GL_ZERO</constant>.
391 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
392 </para>
393 </listitem>
394 </varlistentry>
395 <varlistentry>
396 <term><constant>GL_BLEND_EQUATION_RGB</constant></term>
397 <listitem>
398 <para>
399 </para>
400 <para>
401 <parameter>params</parameter> returns one value, a symbolic constant indicating whether
402 the RGB blend equation is <constant>GL_FUNC_ADD</constant>, <constant>GL_FUNC_SUBTRACT</constant>,
403 <constant>GL_FUNC_REVERSE_SUBTRACT</constant>, <constant>GL_MIN</constant> or <constant>GL_MAX</constant>.
404 See <citerefentry><refentrytitle>glBlendEquationSeparate</refentrytitle></citerefentry>.
405 </para>
406 </listitem>
407 </varlistentry>
408 <varlistentry>
409 <term><constant>GL_BLEND_EQUATION_ALPHA</constant></term>
410 <listitem>
411 <para>
412 </para>
413 <para>
414 <parameter>params</parameter> returns one value, a symbolic constant indicating whether
415 the Alpha blend equation is <constant>GL_FUNC_ADD</constant>, <constant>GL_FUNC_SUBTRACT</constant>,
416 <constant>GL_FUNC_REVERSE_SUBTRACT</constant>, <constant>GL_MIN</constant> or <constant>GL_MAX</constant>.
417 See <citerefentry><refentrytitle>glBlendEquationSeparate</refentrytitle></citerefentry>.
418 </para>
419 </listitem>
420 </varlistentry>
421 <varlistentry>
422 <term><constant>GL_BLEND_SRC_ALPHA</constant></term>
423 <listitem>
424 <para>
425 </para>
426 <para>
427 <parameter>params</parameter> returns one value,
428 the symbolic constant identifying the alpha source blend function. The initial
429 value is <constant>GL_ONE</constant>.
430 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
431 </para>
432 </listitem>
433 </varlistentry>
434 <varlistentry>
435 <term><constant>GL_BLEND_SRC_RGB</constant></term>
436 <listitem>
437 <para>
438 </para>
439 <para>
440 <parameter>params</parameter> returns one value,
441 the symbolic constant identifying the RGB source blend function. The initial
442 value is <constant>GL_ONE</constant>.
443 See <citerefentry><refentrytitle>glBlendFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glBlendFuncSeparate</refentrytitle></citerefentry>.
444 </para>
445 </listitem>
446 </varlistentry>
447 <varlistentry>
448 <term><constant>GL_BLUE_BIAS</constant></term>
449 <listitem>
450 <para>
451 </para>
452 <para>
453 <parameter>params</parameter> returns one value,
454 the blue bias factor used during pixel transfers. The initial value is 0.
455 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
456 </para>
457 </listitem>
458 </varlistentry>
459 <varlistentry>
460 <term><constant>GL_BLUE_BITS</constant></term>
461 <listitem>
462 <para>
463 </para>
464 <para>
465 <parameter>params</parameter> returns one value,
466 the number of blue bitplanes in each color buffer.
467 </para>
468 </listitem>
469 </varlistentry>
470 <varlistentry>
471 <term><constant>GL_BLUE_SCALE</constant></term>
472 <listitem>
473 <para>
474 </para>
475 <para>
476 <parameter>params</parameter> returns one value,
477 the blue scale factor used during pixel transfers. The initial value is 1.
478 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
479 </para>
480 </listitem>
481 </varlistentry>
482 <varlistentry>
483 <term><constant>GL_CLIENT_ACTIVE_TEXTURE</constant></term>
484 <listitem>
485 <para>
486 </para>
487 <para>
488 <parameter>params</parameter> returns a single integer value indicating the current client active
489 multitexture unit. The initial value is <constant>GL_TEXTURE0</constant>.
490 See <citerefentry><refentrytitle>glClientActiveTexture</refentrytitle></citerefentry>.
491 </para>
492 </listitem>
493 </varlistentry>
494 <varlistentry>
495 <term><constant>GL_CLIENT_ATTRIB_STACK_DEPTH</constant></term>
496 <listitem>
497 <para>
498 </para>
499 <para>
500 <parameter>params</parameter> returns one value indicating the depth of the
501 attribute stack. The initial value is 0.
502 See <citerefentry><refentrytitle>glPushClientAttrib</refentrytitle></citerefentry>.
503 </para>
504 </listitem>
505 </varlistentry>
506 <varlistentry>
507 <term><constant>GL_CLIP_PLANE</constant><emphasis>i</emphasis></term>
508 <listitem>
509 <para>
510 </para>
511 <para>
512 <parameter>params</parameter> returns a single boolean value indicating whether the specified
513 clipping plane is enabled. The initial value is <constant>GL_FALSE</constant>.
514 See <citerefentry><refentrytitle>glClipPlane</refentrytitle></citerefentry>.
515 </para>
516 </listitem>
517 </varlistentry>
518 <varlistentry>
519 <term><constant>GL_COLOR_ARRAY</constant></term>
520 <listitem>
521 <para>
522 </para>
523 <para>
524 <parameter>params</parameter> returns a single boolean value indicating whether the color array is enabled. The initial value is <constant>GL_FALSE</constant>.
525 See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
526 </para>
527 </listitem>
528 </varlistentry>
529 <varlistentry>
530 <term><constant>GL_COLOR_ARRAY_BUFFER_BINDING</constant></term>
531 <listitem>
532 <para>
533 </para>
534 <para>
535 <parameter>params</parameter> returns a single value, the name of the buffer object
536 associated with the color array. This buffer object would have been bound to the
537 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
538 <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
539 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
540 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
541 </para>
542 </listitem>
543 </varlistentry>
544 <varlistentry>
545 <term><constant>GL_COLOR_ARRAY_SIZE</constant></term>
546 <listitem>
547 <para>
548 </para>
549 <para>
550 <parameter>params</parameter> returns one value,
551 the number of components per color in the color array. The initial value
552 is 4.
553 See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
554 </para>
555 </listitem>
556 </varlistentry>
557 <varlistentry>
558 <term><constant>GL_COLOR_ARRAY_STRIDE</constant></term>
559 <listitem>
560 <para>
561 </para>
562 <para>
563 <parameter>params</parameter> returns one value,
564 the byte offset between consecutive colors in the color array. The initial
565 value is 0.
566 See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
567 </para>
568 </listitem>
569 </varlistentry>
570 <varlistentry>
571 <term><constant>GL_COLOR_ARRAY_TYPE</constant></term>
572 <listitem>
573 <para>
574 </para>
575 <para>
576 <parameter>params</parameter> returns one value,
577 the data type of each component in the color array. The initial value
578 is <constant>GL_FLOAT</constant>.
579 See <citerefentry><refentrytitle>glColorPointer</refentrytitle></citerefentry>.
580 </para>
581 </listitem>
582 </varlistentry>
583 <varlistentry>
584 <term><constant>GL_COLOR_CLEAR_VALUE</constant></term>
585 <listitem>
586 <para>
587 </para>
588 <para>
589 <parameter>params</parameter> returns four values:
590 the red, green, blue, and alpha values used to clear the color buffers.
591 Integer values,
592 if requested,
593 are linearly mapped from the internal floating-point representation such
594 that 1.0 returns the most positive representable integer value,
595 and
596 <inlineequation><mml:math>
597 <!-- eqn: -1.0:-->
598 <mml:mn>-1.0</mml:mn>
599 </mml:math></inlineequation>
600 returns the most negative representable integer
601 value. The initial value is (0, 0, 0, 0).
602 See <citerefentry><refentrytitle>glClearColor</refentrytitle></citerefentry>.
603 </para>
604 </listitem>
605 </varlistentry>
606 <varlistentry>
607 <term><constant>GL_COLOR_LOGIC_OP</constant></term>
608 <listitem>
609 <para>
610 </para>
611 <para>
612 <parameter>params</parameter> returns a single boolean value indicating whether a fragment's
613 RGBA color values are merged into the framebuffer using a logical
614 operation. The initial value is <constant>GL_FALSE</constant>.
615 See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
616 </para>
617 </listitem>
618 </varlistentry>
619 <varlistentry>
620 <term><constant>GL_COLOR_MATERIAL</constant></term>
621 <listitem>
622 <para>
623 </para>
624 <para>
625 <parameter>params</parameter> returns a single boolean value indicating whether one or more
626 material parameters are tracking the current color. The initial value
627 is <constant>GL_FALSE</constant>.
628 See <citerefentry><refentrytitle>glColorMaterial</refentrytitle></citerefentry>.
629 </para>
630 </listitem>
631 </varlistentry>
632 <varlistentry>
633 <term><constant>GL_COLOR_MATERIAL_FACE</constant></term>
634 <listitem>
635 <para>
636 </para>
637 <para>
638 <parameter>params</parameter> returns one value,
639 a symbolic constant indicating which materials have a parameter that is
640 tracking the current color. The initial value is <constant>GL_FRONT_AND_BACK</constant>.
641 See <citerefentry><refentrytitle>glColorMaterial</refentrytitle></citerefentry>.
642 </para>
643 </listitem>
644 </varlistentry>
645 <varlistentry>
646 <term><constant>GL_COLOR_MATERIAL_PARAMETER</constant></term>
647 <listitem>
648 <para>
649 </para>
650 <para>
651 <parameter>params</parameter> returns one value,
652 a symbolic constant indicating which material parameters are
653 tracking the current color. The initial value is
654 <constant>GL_AMBIENT_AND_DIFFUSE</constant>.
655 See <citerefentry><refentrytitle>glColorMaterial</refentrytitle></citerefentry>.
656 </para>
657 </listitem>
658 </varlistentry>
659 <varlistentry>
660 <term><constant>GL_COLOR_MATRIX</constant></term>
661 <listitem>
662 <para>
663 </para>
664 <para>
665 <parameter>params</parameter> returns sixteen values:
666 the color matrix on the top of the color matrix stack. Initially
667 this matrix is the identity matrix.
668 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
669 </para>
670 </listitem>
671 </varlistentry>
672 <varlistentry>
673 <term><constant>GL_COLOR_MATRIX_STACK_DEPTH</constant></term>
674 <listitem>
675 <para>
676 </para>
677 <para>
678 <parameter>params</parameter> returns one value,
679 the maximum supported depth of the projection matrix stack. The value must
680 be at least 2.
681 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
682 </para>
683 </listitem>
684 </varlistentry>
685 <varlistentry>
686 <term><constant>GL_COLOR_SUM</constant></term>
687 <listitem>
688 <para>
689 </para>
690 <para>
691 <parameter>params</parameter> returns a single boolean value indicating whether primary and
692 secondary color sum is enabled.
693 See <citerefentry><refentrytitle>glSecondaryColor</refentrytitle></citerefentry>.
694 </para>
695 </listitem>
696 </varlistentry>
697 <varlistentry>
698 <term><constant>GL_COLOR_TABLE</constant></term>
699 <listitem>
700 <para>
701 </para>
702 <para>
703 <parameter>params</parameter> returns a single boolean value indicating whether the color table
704 lookup is enabled.
705 See <citerefentry><refentrytitle>glColorTable</refentrytitle></citerefentry>.
706 </para>
707 </listitem>
708 </varlistentry>
709 <varlistentry>
710 <term><constant>GL_COLOR_WRITEMASK</constant></term>
711 <listitem>
712 <para>
713 </para>
714 <para>
715 <parameter>params</parameter> returns four boolean values:
716 the red, green, blue, and alpha write enables for the color
717 buffers. The initial value is (<constant>GL_TRUE</constant>, <constant>GL_TRUE</constant>,
718 <constant>GL_TRUE</constant>, <constant>GL_TRUE</constant>).
719 See <citerefentry><refentrytitle>glColorMask</refentrytitle></citerefentry>.
720 </para>
721 </listitem>
722 </varlistentry>
723 <varlistentry>
724 <term><constant>GL_COMPRESSED_TEXTURE_FORMATS</constant></term>
725 <listitem>
726 <para>
727 </para>
728 <para>
729 <parameter>params</parameter> returns a list of symbolic
730 constants of length <constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant>
731 indicating which compressed texture formats are available.
732 See <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>.
733 </para>
734 </listitem>
735 </varlistentry>
736 <varlistentry>
737 <term><constant>GL_CONVOLUTION_1D</constant></term>
738 <listitem>
739 <para>
740 </para>
741 <para>
742 <parameter>params</parameter> returns a single boolean value indicating whether 1D convolution
743 is enabled. The initial value is <constant>GL_FALSE</constant>.
744 See <citerefentry><refentrytitle>glConvolutionFilter1D</refentrytitle></citerefentry>.
745 </para>
746 </listitem>
747 </varlistentry>
748 <varlistentry>
749 <term><constant>GL_CONVOLUTION_2D</constant></term>
750 <listitem>
751 <para>
752 </para>
753 <para>
754 <parameter>params</parameter> returns a single boolean value indicating whether 2D convolution
755 is enabled. The initial value is <constant>GL_FALSE</constant>.
756 See <citerefentry><refentrytitle>glConvolutionFilter2D</refentrytitle></citerefentry>.
757 </para>
758 </listitem>
759 </varlistentry>
760 <varlistentry>
761 <term><constant>GL_CULL_FACE</constant></term>
762 <listitem>
763 <para>
764 </para>
765 <para>
766 <parameter>params</parameter> returns a single boolean value indicating whether polygon culling
767 is enabled. The initial value is <constant>GL_FALSE</constant>.
768 See <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>.
769 </para>
770 </listitem>
771 </varlistentry>
772 <varlistentry>
773 <term><constant>GL_CULL_FACE_MODE</constant></term>
774 <listitem>
775 <para>
776 </para>
777 <para>
778 <parameter>params</parameter> returns one value,
779 a symbolic constant indicating which polygon faces are to be
780 culled. The initial value is <constant>GL_BACK</constant>.
781 See <citerefentry><refentrytitle>glCullFace</refentrytitle></citerefentry>.
782 </para>
783 </listitem>
784 </varlistentry>
785 <varlistentry>
786 <term><constant>GL_CURRENT_COLOR</constant></term>
787 <listitem>
788 <para>
789 </para>
790 <para>
791 <parameter>params</parameter> returns four values:
792 the red, green, blue, and alpha values of the current color.
793 Integer values,
794 if requested,
795 are linearly mapped from the internal floating-point representation such
796 that 1.0 returns the most positive representable integer value,
797 and
798 <inlineequation><mml:math>
799 <!-- eqn: -1.0:-->
800 <mml:mn>-1.0</mml:mn>
801 </mml:math></inlineequation>
802 returns the most negative representable integer value.
803 The initial value is (1, 1, 1, 1).
804 See <citerefentry><refentrytitle>glColor</refentrytitle></citerefentry>.
805 </para>
806 </listitem>
807 </varlistentry>
808 <varlistentry>
809 <term><constant>GL_CURRENT_FOG_COORD</constant></term>
810 <listitem>
811 <para>
812 </para>
813 <para>
814 <parameter>params</parameter> returns one value, the current fog coordinate. The initial value
815 is 0.
816 See <citerefentry><refentrytitle>glFogCoord</refentrytitle></citerefentry>.
817 </para>
818 </listitem>
819 </varlistentry>
820 <varlistentry>
821 <term><constant>GL_CURRENT_INDEX</constant></term>
822 <listitem>
823 <para>
824 </para>
825 <para>
826 <parameter>params</parameter> returns one value,
827 the current color index. The initial value is 1.
828 See <citerefentry><refentrytitle>glIndex</refentrytitle></citerefentry>.
829 </para>
830 </listitem>
831 </varlistentry>
832 <varlistentry>
833 <term><constant>GL_CURRENT_NORMAL</constant></term>
834 <listitem>
835 <para>
836 </para>
837 <para>
838 <parameter>params</parameter> returns three values:
839 the <emphasis>x</emphasis>, <emphasis>y</emphasis>, and <emphasis>z</emphasis> values of the current normal.
840 Integer values,
841 if requested,
842 are linearly mapped from the internal floating-point representation such
843 that 1.0 returns the most positive representable integer value,
844 and
845 <inlineequation><mml:math>
846 <!-- eqn: -1.0:-->
847 <mml:mn>-1.0</mml:mn>
848 </mml:math></inlineequation>
849 returns the most negative representable integer value.
850 The initial value is (0, 0, 1).
851 See <citerefentry><refentrytitle>glNormal</refentrytitle></citerefentry>.
852 </para>
853 </listitem>
854 </varlistentry>
855 <varlistentry>
856 <term><constant>GL_CURRENT_PROGRAM</constant></term>
857 <listitem>
858 <para>
859 </para>
860 <para>
861 <parameter>params</parameter> returns one value,
862 the name of the program object that is currently active, or 0 if no program object is active.
863 See <citerefentry><refentrytitle>glUseProgram</refentrytitle></citerefentry>.
864 </para>
865 </listitem>
866 </varlistentry>
867 <varlistentry>
868 <term><constant>GL_CURRENT_RASTER_COLOR</constant></term>
869 <listitem>
870 <para>
871 </para>
872 <para>
873 <parameter>params</parameter> returns four values:
874 the red, green, blue, and alpha color values of the current raster position.
875 Integer values,
876 if requested,
877 are linearly mapped from the internal floating-point representation such
878 that 1.0 returns the most positive representable integer value,
879 and
880 <inlineequation><mml:math>
881 <!-- eqn: -1.0:-->
882 <mml:mn>-1.0</mml:mn>
883 </mml:math></inlineequation>
884 returns the most negative representable integer
885 value. The initial value is (1, 1, 1, 1).
886 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
887 </para>
888 </listitem>
889 </varlistentry>
890 <varlistentry>
891 <term><constant>GL_CURRENT_RASTER_DISTANCE</constant></term>
892 <listitem>
893 <para>
894 </para>
895 <para>
896 <parameter>params</parameter> returns one value, the distance from the eye to the current
897 raster position. The initial value is 0.
898 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
899 </para>
900 </listitem>
901 </varlistentry>
902 <varlistentry>
903 <term><constant>GL_CURRENT_RASTER_INDEX</constant></term>
904 <listitem>
905 <para>
906 </para>
907 <para>
908 <parameter>params</parameter> returns one value,
909 the color index of the current raster position. The initial value is 1.
910 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
911 </para>
912 </listitem>
913 </varlistentry>
914 <varlistentry>
915 <term><constant>GL_CURRENT_RASTER_POSITION</constant></term>
916 <listitem>
917 <para>
918 </para>
919 <para>
920 <parameter>params</parameter> returns four values:
921 the <emphasis>x</emphasis>, <emphasis>y</emphasis>, <emphasis>z</emphasis>, and <emphasis>w</emphasis> components of the current
922 raster position.
923 <emphasis>x</emphasis>, <emphasis>y</emphasis>, and <emphasis>z</emphasis> are in window coordinates,
924 and <emphasis>w</emphasis> is in clip coordinates. The initial value is (0, 0, 0, 1).
925 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
926 </para>
927 </listitem>
928 </varlistentry>
929 <varlistentry>
930 <term><constant>GL_CURRENT_RASTER_POSITION_VALID</constant></term>
931 <listitem>
932 <para>
933 </para>
934 <para>
935 <parameter>params</parameter> returns a single boolean value indicating whether the current
936 raster position is valid. The initial value is <constant>GL_TRUE</constant>.
937 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
938 </para>
939 </listitem>
940 </varlistentry>
941 <varlistentry>
942 <term><constant>GL_CURRENT_RASTER_SECONDARY_COLOR</constant></term>
943 <listitem>
944 <para>
945 </para>
946 <para>
947 <parameter>params</parameter> returns four values:
948 the red, green, blue, and alpha secondary color values of the current raster position.
949 Integer values,
950 if requested,
951 are linearly mapped from the internal floating-point representation such
952 that 1.0 returns the most positive representable integer value,
953 and
954 <inlineequation><mml:math>
955 <!-- eqn: -1.0:-->
956 <mml:mn>-1.0</mml:mn>
957 </mml:math></inlineequation>
958 returns the most negative representable integer
959 value. The initial value is (1, 1, 1, 1).
960 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry>.
961 </para>
962 </listitem>
963 </varlistentry>
964 <varlistentry>
965 <term><constant>GL_CURRENT_RASTER_TEXTURE_COORDS</constant></term>
966 <listitem>
967 <para>
968 </para>
969 <para>
970 <parameter>params</parameter> returns four values: the <emphasis>s</emphasis>, <emphasis>t</emphasis>, <emphasis>r</emphasis>, and <emphasis>q</emphasis>
971 texture coordinates of the current raster position. The initial value is (0, 0, 0, 1).
972 See <citerefentry><refentrytitle>glRasterPos</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glMultiTexCoord</refentrytitle></citerefentry>.
973 </para>
974 </listitem>
975 </varlistentry>
976 <varlistentry>
977 <term><constant>GL_CURRENT_SECONDARY_COLOR</constant></term>
978 <listitem>
979 <para>
980 </para>
981 <para>
982 <parameter>params</parameter> returns four values: the red, green, blue, and alpha values of the
983 current secondary color. Integer values, if requested, are linearly mapped
984 from the internal floating-point representation such that 1.0 returns the
985 most positive representable integer value, and
986 <inlineequation><mml:math>
987 <!-- eqn: -1.0:-->
988 <mml:mn>-1.0</mml:mn>
989 </mml:math></inlineequation>
990 returns the most
991 negative representable integer value. The initial value is (0, 0, 0, 0).
992 See <citerefentry><refentrytitle>glSecondaryColor</refentrytitle></citerefentry>.
993 </para>
994 </listitem>
995 </varlistentry>
996 <varlistentry>
997 <term><constant>GL_CURRENT_TEXTURE_COORDS</constant></term>
998 <listitem>
999 <para>
1000 </para>
1001 <para>
1002 <parameter>params</parameter> returns four values:
1003 the <emphasis>s</emphasis>, <emphasis>t</emphasis>, <emphasis>r</emphasis>, and <emphasis>q</emphasis> current texture
1004 coordinates. The initial value is (0, 0, 0, 1).
1005 See <citerefentry><refentrytitle>glMultiTexCoord</refentrytitle></citerefentry>.
1006 </para>
1007 </listitem>
1008 </varlistentry>
1009 <varlistentry>
1010 <term><constant>GL_DEPTH_BIAS</constant></term>
1011 <listitem>
1012 <para>
1013 </para>
1014 <para>
1015 <parameter>params</parameter> returns one value,
1016 the depth bias factor used during pixel transfers. The initial value is 0.
1017 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
1018 </para>
1019 </listitem>
1020 </varlistentry>
1021 <varlistentry>
1022 <term><constant>GL_DEPTH_BITS</constant></term>
1023 <listitem>
1024 <para>
1025 </para>
1026 <para>
1027 <parameter>params</parameter> returns one value,
1028 the number of bitplanes in the depth buffer.
1029 </para>
1030 </listitem>
1031 </varlistentry>
1032 <varlistentry>
1033 <term><constant>GL_DEPTH_CLEAR_VALUE</constant></term>
1034 <listitem>
1035 <para>
1036 </para>
1037 <para>
1038 <parameter>params</parameter> returns one value,
1039 the value that is used to clear the depth buffer.
1040 Integer values,
1041 if requested,
1042 are linearly mapped from the internal floating-point representation such
1043 that 1.0 returns the most positive representable integer value,
1044 and
1045 <inlineequation><mml:math>
1046 <!-- eqn: -1.0:-->
1047 <mml:mn>-1.0</mml:mn>
1048 </mml:math></inlineequation>
1049 returns the most negative representable integer
1050 value. The initial value is 1.
1051 See <citerefentry><refentrytitle>glClearDepth</refentrytitle></citerefentry>.
1052 </para>
1053 </listitem>
1054 </varlistentry>
1055 <varlistentry>
1056 <term><constant>GL_DEPTH_FUNC</constant></term>
1057 <listitem>
1058 <para>
1059 </para>
1060 <para>
1061 <parameter>params</parameter> returns one value,
1062 the symbolic constant that indicates the depth comparison
1063 function. The initial value is <constant>GL_LESS</constant>.
1064 See <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry>.
1065 </para>
1066 </listitem>
1067 </varlistentry>
1068 <varlistentry>
1069 <term><constant>GL_DEPTH_RANGE</constant></term>
1070 <listitem>
1071 <para>
1072 </para>
1073 <para>
1074 <parameter>params</parameter> returns two values:
1075 the near and far mapping limits for the depth buffer.
1076 Integer values,
1077 if requested,
1078 are linearly mapped from the internal floating-point representation such
1079 that 1.0 returns the most positive representable integer value,
1080 and
1081 <inlineequation><mml:math>
1082 <!-- eqn: -1.0:-->
1083 <mml:mn>-1.0</mml:mn>
1084 </mml:math></inlineequation>
1085 returns the most negative representable integer
1086 value. The initial value is (0, 1).
1087 See <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>.
1088 </para>
1089 </listitem>
1090 </varlistentry>
1091 <varlistentry>
1092 <term><constant>GL_DEPTH_SCALE</constant></term>
1093 <listitem>
1094 <para>
1095 </para>
1096 <para>
1097 <parameter>params</parameter> returns one value,
1098 the depth scale factor used during pixel transfers. The initial value is 1.
1099 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
1100 </para>
1101 </listitem>
1102 </varlistentry>
1103 <varlistentry>
1104 <term><constant>GL_DEPTH_TEST</constant></term>
1105 <listitem>
1106 <para>
1107 </para>
1108 <para>
1109 <parameter>params</parameter> returns a single boolean value indicating whether depth testing
1110 of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
1111 See <citerefentry><refentrytitle>glDepthFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glDepthRange</refentrytitle></citerefentry>.
1112 </para>
1113 </listitem>
1114 </varlistentry>
1115 <varlistentry>
1116 <term><constant>GL_DEPTH_WRITEMASK</constant></term>
1117 <listitem>
1118 <para>
1119 </para>
1120 <para>
1121 <parameter>params</parameter> returns a single boolean value indicating if the depth buffer
1122 is enabled for writing. The initial value is <constant>GL_TRUE</constant>.
1123 See <citerefentry><refentrytitle>glDepthMask</refentrytitle></citerefentry>.
1124 </para>
1125 </listitem>
1126 </varlistentry>
1127 <varlistentry>
1128 <term><constant>GL_DITHER</constant></term>
1129 <listitem>
1130 <para>
1131 </para>
1132 <para>
1133 <parameter>params</parameter> returns a single boolean value indicating whether dithering of
1134 fragment colors and indices is enabled. The initial value is <constant>GL_TRUE</constant>.
1135 </para>
1136 </listitem>
1137 </varlistentry>
1138 <varlistentry>
1139 <term><constant>GL_DOUBLEBUFFER</constant></term>
1140 <listitem>
1141 <para>
1142 </para>
1143 <para>
1144 <parameter>params</parameter> returns a single boolean value indicating whether double buffering
1145 is supported.
1146 </para>
1147 </listitem>
1148 </varlistentry>
1149 <varlistentry>
1150 <term><constant>GL_DRAW_BUFFER</constant></term>
1151 <listitem>
1152 <para>
1153 </para>
1154 <para>
1155 <parameter>params</parameter> returns one value,
1156 a symbolic constant indicating which buffers are being drawn to.
1157 See <citerefentry><refentrytitle>glDrawBuffer</refentrytitle></citerefentry>. The initial value is <constant>GL_BACK</constant> if there
1158 are back buffers, otherwise it is <constant>GL_FRONT</constant>.
1159 </para>
1160 </listitem>
1161 </varlistentry>
1162 <varlistentry>
1163 <term><constant>GL_DRAW_BUFFER</constant><emphasis>i</emphasis></term>
1164 <listitem>
1165 <para>
1166 </para>
1167 <para>
1168 <parameter>params</parameter> returns one value,
1169 a symbolic constant indicating which buffers are being drawn to by the corresponding output color.
1170 See <citerefentry><refentrytitle>glDrawBuffers</refentrytitle></citerefentry>.
1171 The initial value of <constant>GL_DRAW_BUFFER0</constant> is <constant>GL_BACK</constant> if there
1172 are back buffers, otherwise it is <constant>GL_FRONT</constant>. The
1173 initial values of draw buffers for all other output colors is <constant>GL_NONE</constant>.
1174 </para>
1175 </listitem>
1176 </varlistentry>
1177 <varlistentry>
1178 <term><constant>GL_EDGE_FLAG</constant></term>
1179 <listitem>
1180 <para>
1181 </para>
1182 <para>
1183 <parameter>params</parameter> returns a single boolean value indicating whether the current
1184 edge flag is <constant>GL_TRUE</constant> or <constant>GL_FALSE</constant>. The initial value is <constant>GL_TRUE</constant>.
1185 See <citerefentry><refentrytitle>glEdgeFlag</refentrytitle></citerefentry>.
1186 </para>
1187 </listitem>
1188 </varlistentry>
1189 <varlistentry>
1190 <term><constant>GL_EDGE_FLAG_ARRAY</constant></term>
1191 <listitem>
1192 <para>
1193 </para>
1194 <para>
1195 <parameter>params</parameter> returns a single boolean value indicating whether the edge
1196 flag array is enabled. The initial value is <constant>GL_FALSE</constant>.
1197 See <citerefentry><refentrytitle>glEdgeFlagPointer</refentrytitle></citerefentry>.
1198 </para>
1199 </listitem>
1200 </varlistentry>
1201 <varlistentry>
1202 <term><constant>GL_EDGE_FLAG_ARRAY_BUFFER_BINDING</constant></term>
1203 <listitem>
1204 <para>
1205 </para>
1206 <para>
1207 <parameter>params</parameter> returns a single value, the name of the buffer object
1208 associated with the edge flag array. This buffer object would have been bound to the
1209 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
1210 <citerefentry><refentrytitle>glEdgeFlagPointer</refentrytitle></citerefentry>.
1211 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
1212 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
1213 </para>
1214 </listitem>
1215 </varlistentry>
1216 <varlistentry>
1217 <term><constant>GL_EDGE_FLAG_ARRAY_STRIDE</constant></term>
1218 <listitem>
1219 <para>
1220 </para>
1221 <para>
1222 <parameter>params</parameter> returns one value,
1223 the byte offset between consecutive edge flags in the edge flag
1224 array. The initial value is 0.
1225 See <citerefentry><refentrytitle>glEdgeFlagPointer</refentrytitle></citerefentry>.
1226 </para>
1227 </listitem>
1228 </varlistentry>
1229 <varlistentry>
1230 <term><constant>GL_ELEMENT_ARRAY_BUFFER_BINDING</constant></term>
1231 <listitem>
1232 <para>
1233 </para>
1234 <para>
1235 <parameter>params</parameter> returns a single value, the name of the buffer object
1236 currently bound to the target <constant>GL_ELEMENT_ARRAY_BUFFER</constant>. If no buffer object
1237 is bound to this target, 0 is returned. The initial value is 0.
1238 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
1239 </para>
1240 </listitem>
1241 </varlistentry>
1242 <varlistentry>
1243 <term><constant>GL_FEEDBACK_BUFFER_SIZE</constant></term>
1244 <listitem>
1245 <para>
1246 </para>
1247 <para>
1248 <parameter>params</parameter> returns one value, the size of the feedback buffer.
1249 See <citerefentry><refentrytitle>glFeedbackBuffer</refentrytitle></citerefentry>.
1250 </para>
1251 </listitem>
1252 </varlistentry>
1253 <varlistentry>
1254 <term><constant>GL_FEEDBACK_BUFFER_TYPE</constant></term>
1255 <listitem>
1256 <para>
1257 </para>
1258 <para>
1259 <parameter>params</parameter> returns one value, the type of the feedback buffer.
1260 See <citerefentry><refentrytitle>glFeedbackBuffer</refentrytitle></citerefentry>.
1261 </para>
1262 </listitem>
1263 </varlistentry>
1264 <varlistentry>
1265 <term><constant>GL_FOG</constant></term>
1266 <listitem>
1267 <para>
1268 </para>
1269 <para>
1270 <parameter>params</parameter> returns a single boolean value indicating whether fogging is
1271 enabled. The initial value is <constant>GL_FALSE</constant>.
1272 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1273 </para>
1274 </listitem>
1275 </varlistentry>
1276 <varlistentry>
1277 <term><constant>GL_FOG_COORD_ARRAY</constant></term>
1278 <listitem>
1279 <para>
1280 </para>
1281 <para>
1282 <parameter>params</parameter> returns a single boolean value indicating whether the fog coordinate array is enabled. The initial value is <constant>GL_FALSE</constant>.
1283 See <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
1284 </para>
1285 </listitem>
1286 </varlistentry>
1287 <varlistentry>
1288 <term><constant>GL_FOG_COORD_ARRAY_BUFFER_BINDING</constant></term>
1289 <listitem>
1290 <para>
1291 </para>
1292 <para>
1293 <parameter>params</parameter> returns a single value, the name of the buffer object
1294 associated with the fog coordinate array. This buffer object would have been bound to the
1295 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
1296 <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
1297 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
1298 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
1299 </para>
1300 </listitem>
1301 </varlistentry>
1302 <varlistentry>
1303 <term><constant>GL_FOG_COORD_ARRAY_STRIDE</constant></term>
1304 <listitem>
1305 <para>
1306 </para>
1307 <para>
1308 <parameter>params</parameter> returns one value,
1309 the byte offset between consecutive fog coordinates in the fog coordinate
1310 array. The initial value is 0.
1311 See <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
1312 </para>
1313 </listitem>
1314 </varlistentry>
1315 <varlistentry>
1316 <term><constant>GL_FOG_COORD_ARRAY_TYPE</constant></term>
1317 <listitem>
1318 <para>
1319 </para>
1320 <para>
1321 <parameter>params</parameter> returns one value, the type of the fog coordinate array.
1322 The initial value is <constant>GL_FLOAT</constant>.
1323 See <citerefentry><refentrytitle>glFogCoordPointer</refentrytitle></citerefentry>.
1324 </para>
1325 </listitem>
1326 </varlistentry>
1327 <varlistentry>
1328 <term><constant>GL_FOG_COORD_SRC</constant></term>
1329 <listitem>
1330 <para>
1331 </para>
1332 <para>
1333 <parameter>params</parameter> returns one value, a symbolic constant indicating the source of the fog coordinate.
1334 The initial value is <constant>GL_FRAGMENT_DEPTH</constant>.
1335 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1336 </para>
1337 </listitem>
1338 </varlistentry>
1339 <varlistentry>
1340 <term><constant>GL_FOG_COLOR</constant></term>
1341 <listitem>
1342 <para>
1343 </para>
1344 <para>
1345 <parameter>params</parameter> returns four values:
1346 the red, green, blue, and alpha components of the fog color.
1347 Integer values,
1348 if requested,
1349 are linearly mapped from the internal floating-point representation such
1350 that 1.0 returns the most positive representable integer value,
1351 and
1352 <inlineequation><mml:math>
1353 <!-- eqn: -1.0:-->
1354 <mml:mn>-1.0</mml:mn>
1355 </mml:math></inlineequation>
1356 returns the most negative representable integer
1357 value. The initial value is (0, 0, 0, 0).
1358 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1359 </para>
1360 </listitem>
1361 </varlistentry>
1362 <varlistentry>
1363 <term><constant>GL_FOG_DENSITY</constant></term>
1364 <listitem>
1365 <para>
1366 </para>
1367 <para>
1368 <parameter>params</parameter> returns one value,
1369 the fog density parameter. The initial value is 1.
1370 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1371 </para>
1372 </listitem>
1373 </varlistentry>
1374 <varlistentry>
1375 <term><constant>GL_FOG_END</constant></term>
1376 <listitem>
1377 <para>
1378 </para>
1379 <para>
1380 <parameter>params</parameter> returns one value,
1381 the end factor for the linear fog equation. The initial value is 1.
1382 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1383 </para>
1384 </listitem>
1385 </varlistentry>
1386 <varlistentry>
1387 <term><constant>GL_FOG_HINT</constant></term>
1388 <listitem>
1389 <para>
1390 </para>
1391 <para>
1392 <parameter>params</parameter> returns one value,
1393 a symbolic constant indicating the mode of the fog hint. The initial value
1394 is <constant>GL_DONT_CARE</constant>.
1395 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
1396 </para>
1397 </listitem>
1398 </varlistentry>
1399 <varlistentry>
1400 <term><constant>GL_FOG_INDEX</constant></term>
1401 <listitem>
1402 <para>
1403 </para>
1404 <para>
1405 <parameter>params</parameter> returns one value,
1406 the fog color index. The initial value is 0.
1407 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1408 </para>
1409 </listitem>
1410 </varlistentry>
1411 <varlistentry>
1412 <term><constant>GL_FOG_MODE</constant></term>
1413 <listitem>
1414 <para>
1415 </para>
1416 <para>
1417 <parameter>params</parameter> returns one value,
1418 a symbolic constant indicating which fog equation is selected. The initial
1419 value is <constant>GL_EXP</constant>.
1420 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1421 </para>
1422 </listitem>
1423 </varlistentry>
1424 <varlistentry>
1425 <term><constant>GL_FOG_START</constant></term>
1426 <listitem>
1427 <para>
1428 </para>
1429 <para>
1430 <parameter>params</parameter> returns one value,
1431 the start factor for the linear fog equation. The initial value is 0.
1432 See <citerefentry><refentrytitle>glFog</refentrytitle></citerefentry>.
1433 </para>
1434 </listitem>
1435 </varlistentry>
1436 <varlistentry>
1437 <term><constant>GL_FRAGMENT_SHADER_DERIVATIVE_HINT</constant></term>
1438 <listitem>
1439 <para>
1440 </para>
1441 <para>
1442 <parameter>params</parameter> returns one value,
1443 a symbolic constant indicating the mode of the derivative accuracy hint
1444 for fragment shaders. The initial value
1445 is <constant>GL_DONT_CARE</constant>.
1446 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
1447 </para>
1448 </listitem>
1449 </varlistentry>
1450 <varlistentry>
1451 <term><constant>GL_FRONT_FACE</constant></term>
1452 <listitem>
1453 <para>
1454 </para>
1455 <para>
1456 <parameter>params</parameter> returns one value,
1457 a symbolic constant indicating whether clockwise or counterclockwise
1458 polygon winding is treated as front-facing. The initial value is
1459 <constant>GL_CCW</constant>.
1460 See <citerefentry><refentrytitle>glFrontFace</refentrytitle></citerefentry>.
1461 </para>
1462 </listitem>
1463 </varlistentry>
1464 <varlistentry>
1465 <term><constant>GL_GENERATE_MIPMAP_HINT</constant></term>
1466 <listitem>
1467 <para>
1468 </para>
1469 <para>
1470 <parameter>params</parameter> returns one value,
1471 a symbolic constant indicating the mode of the mipmap generation filtering
1472 hint. The initial value is <constant>GL_DONT_CARE</constant>.
1473 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
1474 </para>
1475 </listitem>
1476 </varlistentry>
1477 <varlistentry>
1478 <term><constant>GL_GREEN_BIAS</constant></term>
1479 <listitem>
1480 <para>
1481 </para>
1482 <para>
1483 <parameter>params</parameter> returns one value,
1484 the green bias factor used during pixel transfers. The initial value is 0.
1485 </para>
1486 </listitem>
1487 </varlistentry>
1488 <varlistentry>
1489 <term><constant>GL_GREEN_BITS</constant></term>
1490 <listitem>
1491 <para>
1492 </para>
1493 <para>
1494 <parameter>params</parameter> returns one value,
1495 the number of green bitplanes in each color buffer.
1496 </para>
1497 </listitem>
1498 </varlistentry>
1499 <varlistentry>
1500 <term><constant>GL_GREEN_SCALE</constant></term>
1501 <listitem>
1502 <para>
1503 </para>
1504 <para>
1505 <parameter>params</parameter> returns one value,
1506 the green scale factor used during pixel transfers. The initial value is 1.
1507 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
1508 </para>
1509 </listitem>
1510 </varlistentry>
1511 <varlistentry>
1512 <term><constant>GL_HISTOGRAM</constant></term>
1513 <listitem>
1514 <para>
1515 </para>
1516 <para>
1517 <parameter>params</parameter> returns a single boolean value indicating whether histogram is
1518 enabled. The initial value is <constant>GL_FALSE</constant>.
1519 See <citerefentry><refentrytitle>glHistogram</refentrytitle></citerefentry>.
1520 </para>
1521 </listitem>
1522 </varlistentry>
1523 <varlistentry>
1524 <term><constant>GL_INDEX_ARRAY</constant></term>
1525 <listitem>
1526 <para>
1527 </para>
1528 <para>
1529 <parameter>params</parameter> returns a single boolean value indicating whether the color
1530 index array is enabled. The initial value is <constant>GL_FALSE</constant>.
1531 See <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
1532 </para>
1533 </listitem>
1534 </varlistentry>
1535 <varlistentry>
1536 <term><constant>GL_INDEX_ARRAY_BUFFER_BINDING</constant></term>
1537 <listitem>
1538 <para>
1539 </para>
1540 <para>
1541 <parameter>params</parameter> returns a single value, the name of the buffer object
1542 associated with the color index array. This buffer object would have been bound to the
1543 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
1544 <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
1545 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
1546 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
1547 </para>
1548 </listitem>
1549 </varlistentry>
1550 <varlistentry>
1551 <term><constant>GL_INDEX_ARRAY_STRIDE</constant></term>
1552 <listitem>
1553 <para>
1554 </para>
1555 <para>
1556 <parameter>params</parameter> returns one value,
1557 the byte offset between consecutive color indexes in the color index
1558 array. The initial value is 0.
1559 See <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
1560 </para>
1561 </listitem>
1562 </varlistentry>
1563 <varlistentry>
1564 <term><constant>GL_INDEX_ARRAY_TYPE</constant></term>
1565 <listitem>
1566 <para>
1567 </para>
1568 <para>
1569 <parameter>params</parameter> returns one value,
1570 the data type of indexes in the color index array. The initial value is
1571 <constant>GL_FLOAT</constant>.
1572 See <citerefentry><refentrytitle>glIndexPointer</refentrytitle></citerefentry>.
1573 </para>
1574 </listitem>
1575 </varlistentry>
1576 <varlistentry>
1577 <term><constant>GL_INDEX_BITS</constant></term>
1578 <listitem>
1579 <para>
1580 </para>
1581 <para>
1582 <parameter>params</parameter> returns one value,
1583 the number of bitplanes in each color index buffer.
1584 </para>
1585 </listitem>
1586 </varlistentry>
1587 <varlistentry>
1588 <term><constant>GL_INDEX_CLEAR_VALUE</constant></term>
1589 <listitem>
1590 <para>
1591 </para>
1592 <para>
1593 <parameter>params</parameter> returns one value,
1594 the color index used to clear the color index buffers. The initial value
1595 is 0.
1596 See <citerefentry><refentrytitle>glClearIndex</refentrytitle></citerefentry>.
1597 </para>
1598 </listitem>
1599 </varlistentry>
1600 <varlistentry>
1601 <term><constant>GL_INDEX_LOGIC_OP</constant></term>
1602 <listitem>
1603 <para>
1604 </para>
1605 <para>
1606 <parameter>params</parameter> returns a single boolean value indicating whether a fragment's index
1607 values are merged into the framebuffer using a logical
1608 operation. The initial value is <constant>GL_FALSE</constant>.
1609 See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
1610 </para>
1611 </listitem>
1612 </varlistentry>
1613 <varlistentry>
1614 <term><constant>GL_INDEX_MODE</constant></term>
1615 <listitem>
1616 <para>
1617 </para>
1618 <para>
1619 <parameter>params</parameter> returns a single boolean value indicating whether the GL is in
1620 color index mode (<constant>GL_TRUE</constant>) or RGBA mode (<constant>GL_FALSE</constant>).
1621 </para>
1622 </listitem>
1623 </varlistentry>
1624 <varlistentry>
1625 <term><constant>GL_INDEX_OFFSET</constant></term>
1626 <listitem>
1627 <para>
1628 </para>
1629 <para>
1630 <parameter>params</parameter> returns one value,
1631 the offset added to color and stencil indices during pixel
1632 transfers. The initial value is 0.
1633 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
1634 </para>
1635 </listitem>
1636 </varlistentry>
1637 <varlistentry>
1638 <term><constant>GL_INDEX_SHIFT</constant></term>
1639 <listitem>
1640 <para>
1641 </para>
1642 <para>
1643 <parameter>params</parameter> returns one value,
1644 the amount that color and stencil indices are shifted during pixel
1645 transfers. The initial value is 0.
1646 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
1647 </para>
1648 </listitem>
1649 </varlistentry>
1650 <varlistentry>
1651 <term><constant>GL_INDEX_WRITEMASK</constant></term>
1652 <listitem>
1653 <para>
1654 </para>
1655 <para>
1656 <parameter>params</parameter> returns one value,
1657 a mask indicating which bitplanes of each color index buffer can be
1658 written. The initial value is all 1's.
1659 See <citerefentry><refentrytitle>glIndexMask</refentrytitle></citerefentry>.
1660 </para>
1661 </listitem>
1662 </varlistentry>
1663 <varlistentry>
1664 <term><constant>GL_LIGHT</constant><emphasis>i</emphasis></term>
1665 <listitem>
1666 <para>
1667 </para>
1668 <para>
1669 <parameter>params</parameter> returns a single boolean value indicating whether the specified
1670 light is enabled. The initial value is <constant>GL_FALSE</constant>.
1671 See <citerefentry><refentrytitle>glLight</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
1672 </para>
1673 </listitem>
1674 </varlistentry>
1675 <varlistentry>
1676 <term><constant>GL_LIGHTING</constant></term>
1677 <listitem>
1678 <para>
1679 </para>
1680 <para>
1681 <parameter>params</parameter> returns a single boolean value indicating whether lighting is
1682 enabled. The initial value is <constant>GL_FALSE</constant>.
1683 See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
1684 </para>
1685 </listitem>
1686 </varlistentry>
1687 <varlistentry>
1688 <term><constant>GL_LIGHT_MODEL_AMBIENT</constant></term>
1689 <listitem>
1690 <para>
1691 </para>
1692 <para>
1693 <parameter>params</parameter> returns four values:
1694 the red, green, blue, and alpha components of the ambient intensity of
1695 the entire scene.
1696 Integer values,
1697 if requested,
1698 are linearly mapped from the internal floating-point representation such
1699 that 1.0 returns the most positive representable integer value,
1700 and
1701 <inlineequation><mml:math>
1702 <!-- eqn: -1.0:-->
1703 <mml:mn>-1.0</mml:mn>
1704 </mml:math></inlineequation>
1705 returns the most negative representable integer
1706 value. The initial value is (0.2, 0.2, 0.2, 1.0).
1707 See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
1708 </para>
1709 </listitem>
1710 </varlistentry>
1711 <varlistentry>
1712 <term><constant>GL_LIGHT_MODEL_COLOR_CONTROL</constant></term>
1713 <listitem>
1714 <para>
1715 </para>
1716 <para>
1717 <parameter>params</parameter> returns single enumerated value indicating whether specular
1718 reflection calculations are separated from normal lighting computations.
1719 The initial value is <constant>GL_SINGLE_COLOR</constant>.
1720 </para>
1721 </listitem>
1722 </varlistentry>
1723 <varlistentry>
1724 <term><constant>GL_LIGHT_MODEL_LOCAL_VIEWER</constant></term>
1725 <listitem>
1726 <para>
1727 </para>
1728 <para>
1729 <parameter>params</parameter> returns a single boolean value indicating whether specular reflection
1730 calculations treat the viewer as being local to the scene. The initial
1731 value is <constant>GL_FALSE</constant>.
1732 See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
1733 </para>
1734 </listitem>
1735 </varlistentry>
1736 <varlistentry>
1737 <term><constant>GL_LIGHT_MODEL_TWO_SIDE</constant></term>
1738 <listitem>
1739 <para>
1740 </para>
1741 <para>
1742 <parameter>params</parameter> returns a single boolean value indicating whether separate materials
1743 are used to compute lighting for front- and back-facing
1744 polygons. The initial value is <constant>GL_FALSE</constant>.
1745 See <citerefentry><refentrytitle>glLightModel</refentrytitle></citerefentry>.
1746 </para>
1747 </listitem>
1748 </varlistentry>
1749 <varlistentry>
1750 <term><constant>GL_LINE_SMOOTH</constant></term>
1751 <listitem>
1752 <para>
1753 </para>
1754 <para>
1755 <parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
1756 lines is enabled. The initial value is <constant>GL_FALSE</constant>.
1757 See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
1758 </para>
1759 </listitem>
1760 </varlistentry>
1761 <varlistentry>
1762 <term><constant>GL_LINE_SMOOTH_HINT</constant></term>
1763 <listitem>
1764 <para>
1765 </para>
1766 <para>
1767 <parameter>params</parameter> returns one value,
1768 a symbolic constant indicating the mode of the line antialiasing
1769 hint. The initial value is <constant>GL_DONT_CARE</constant>.
1770 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
1771 </para>
1772 </listitem>
1773 </varlistentry>
1774 <varlistentry>
1775 <term><constant>GL_LINE_STIPPLE</constant></term>
1776 <listitem>
1777 <para>
1778 </para>
1779 <para>
1780 <parameter>params</parameter> returns a single boolean value indicating whether stippling of lines
1781 is enabled. The initial value is <constant>GL_FALSE</constant>.
1782 See <citerefentry><refentrytitle>glLineStipple</refentrytitle></citerefentry>.
1783 </para>
1784 </listitem>
1785 </varlistentry>
1786 <varlistentry>
1787 <term><constant>GL_LINE_STIPPLE_PATTERN</constant></term>
1788 <listitem>
1789 <para>
1790 </para>
1791 <para>
1792 <parameter>params</parameter> returns one value,
1793 the 16-bit line stipple pattern. The initial value is all 1's.
1794 See <citerefentry><refentrytitle>glLineStipple</refentrytitle></citerefentry>.
1795 </para>
1796 </listitem>
1797 </varlistentry>
1798 <varlistentry>
1799 <term><constant>GL_LINE_STIPPLE_REPEAT</constant></term>
1800 <listitem>
1801 <para>
1802 </para>
1803 <para>
1804 <parameter>params</parameter> returns one value,
1805 the line stipple repeat factor. The initial value is 1.
1806 See <citerefentry><refentrytitle>glLineStipple</refentrytitle></citerefentry>.
1807 </para>
1808 </listitem>
1809 </varlistentry>
1810 <varlistentry>
1811 <term><constant>GL_LINE_WIDTH</constant></term>
1812 <listitem>
1813 <para>
1814 </para>
1815 <para>
1816 <parameter>params</parameter> returns one value,
1817 the line width as specified with <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>. The initial value is
1818 1.
1819 </para>
1820 </listitem>
1821 </varlistentry>
1822 <varlistentry>
1823 <term><constant>GL_LINE_WIDTH_GRANULARITY</constant></term>
1824 <listitem>
1825 <para>
1826 </para>
1827 <para>
1828 <parameter>params</parameter> returns one value,
1829 the width difference between adjacent supported widths for antialiased lines.
1830 See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
1831 </para>
1832 </listitem>
1833 </varlistentry>
1834 <varlistentry>
1835 <term><constant>GL_LINE_WIDTH_RANGE</constant></term>
1836 <listitem>
1837 <para>
1838 </para>
1839 <para>
1840 <parameter>params</parameter> returns two values:
1841 the smallest and largest supported widths for antialiased
1842 lines.
1843 See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
1844 </para>
1845 </listitem>
1846 </varlistentry>
1847 <varlistentry>
1848 <term><constant>GL_LIST_BASE</constant></term>
1849 <listitem>
1850 <para>
1851 </para>
1852 <para>
1853 <parameter>params</parameter> returns one value,
1854 the base offset added to all names in arrays presented to
1855 <citerefentry><refentrytitle>glCallLists</refentrytitle></citerefentry>. The initial value is 0.
1856 See <citerefentry><refentrytitle>glListBase</refentrytitle></citerefentry>.
1857 </para>
1858 </listitem>
1859 </varlistentry>
1860 <varlistentry>
1861 <term><constant>GL_LIST_INDEX</constant></term>
1862 <listitem>
1863 <para>
1864 </para>
1865 <para>
1866 <parameter>params</parameter> returns one value,
1867 the name of the display list currently under construction.
1868 0 is returned if no display list is currently under
1869 construction. The initial value is 0.
1870 See <citerefentry><refentrytitle>glNewList</refentrytitle></citerefentry>.
1871 </para>
1872 </listitem>
1873 </varlistentry>
1874 <varlistentry>
1875 <term><constant>GL_LIST_MODE</constant></term>
1876 <listitem>
1877 <para>
1878 </para>
1879 <para>
1880 <parameter>params</parameter> returns one value,
1881 a symbolic constant indicating the construction mode of the display list
1882 currently under construction. The initial value is 0.
1883 See <citerefentry><refentrytitle>glNewList</refentrytitle></citerefentry>.
1884 </para>
1885 </listitem>
1886 </varlistentry>
1887 <varlistentry>
1888 <term><constant>GL_LOGIC_OP_MODE</constant></term>
1889 <listitem>
1890 <para>
1891 </para>
1892 <para>
1893 <parameter>params</parameter> returns one value,
1894 a symbolic constant indicating the selected logic operation
1895 mode. The initial value is <constant>GL_COPY</constant>.
1896 See <citerefentry><refentrytitle>glLogicOp</refentrytitle></citerefentry>.
1897 </para>
1898 </listitem>
1899 </varlistentry>
1900 <varlistentry>
1901 <term><constant>GL_MAP1_COLOR_4</constant></term>
1902 <listitem>
1903 <para>
1904 </para>
1905 <para>
1906 <parameter>params</parameter> returns a single boolean value indicating whether
1907 1D evaluation generates colors. The initial value is <constant>GL_FALSE</constant>.
1908 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
1909 </para>
1910 </listitem>
1911 </varlistentry>
1912 <varlistentry>
1913 <term><constant>GL_MAP1_GRID_DOMAIN</constant></term>
1914 <listitem>
1915 <para>
1916 </para>
1917 <para>
1918 <parameter>params</parameter> returns two values:
1919 the endpoints of the 1D map's grid domain. The initial value is (0, 1).
1920 See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
1921 </para>
1922 </listitem>
1923 </varlistentry>
1924 <varlistentry>
1925 <term><constant>GL_MAP1_GRID_SEGMENTS</constant></term>
1926 <listitem>
1927 <para>
1928 </para>
1929 <para>
1930 <parameter>params</parameter> returns one value,
1931 the number of partitions in the 1D map's grid domain. The initial value
1932 is 1.
1933 See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
1934 </para>
1935 </listitem>
1936 </varlistentry>
1937 <varlistentry>
1938 <term><constant>GL_MAP1_INDEX</constant></term>
1939 <listitem>
1940 <para>
1941 </para>
1942 <para>
1943 <parameter>params</parameter> returns a single boolean value indicating whether
1944 1D evaluation generates color indices. The initial value is <constant>GL_FALSE</constant>.
1945 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
1946 </para>
1947 </listitem>
1948 </varlistentry>
1949 <varlistentry>
1950 <term><constant>GL_MAP1_NORMAL</constant></term>
1951 <listitem>
1952 <para>
1953 </para>
1954 <para>
1955 <parameter>params</parameter> returns a single boolean value indicating whether
1956 1D evaluation generates normals. The initial value is <constant>GL_FALSE</constant>.
1957 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
1958 </para>
1959 </listitem>
1960 </varlistentry>
1961 <varlistentry>
1962 <term><constant>GL_MAP1_TEXTURE_COORD_1</constant></term>
1963 <listitem>
1964 <para>
1965 </para>
1966 <para>
1967 <parameter>params</parameter> returns a single boolean value indicating whether
1968 1D evaluation generates 1D texture coordinates. The initial value is
1969 <constant>GL_FALSE</constant>.
1970 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
1971 </para>
1972 </listitem>
1973 </varlistentry>
1974 <varlistentry>
1975 <term><constant>GL_MAP1_TEXTURE_COORD_2</constant></term>
1976 <listitem>
1977 <para>
1978 </para>
1979 <para>
1980 <parameter>params</parameter> returns a single boolean value indicating whether
1981 1D evaluation generates 2D texture coordinates. The initial value is
1982 <constant>GL_FALSE</constant>.
1983 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
1984 </para>
1985 </listitem>
1986 </varlistentry>
1987 <varlistentry>
1988 <term><constant>GL_MAP1_TEXTURE_COORD_3</constant></term>
1989 <listitem>
1990 <para>
1991 </para>
1992 <para>
1993 <parameter>params</parameter> returns a single boolean value indicating whether
1994 1D evaluation generates 3D texture coordinates. The initial value is
1995 <constant>GL_FALSE</constant>.
1996 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
1997 </para>
1998 </listitem>
1999 </varlistentry>
2000 <varlistentry>
2001 <term><constant>GL_MAP1_TEXTURE_COORD_4</constant></term>
2002 <listitem>
2003 <para>
2004 </para>
2005 <para>
2006 <parameter>params</parameter> returns a single boolean value indicating whether
2007 1D evaluation generates 4D texture coordinates. The initial value is
2008 <constant>GL_FALSE</constant>.
2009 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
2010 </para>
2011 </listitem>
2012 </varlistentry>
2013 <varlistentry>
2014 <term><constant>GL_MAP1_VERTEX_3</constant></term>
2015 <listitem>
2016 <para>
2017 </para>
2018 <para>
2019 <parameter>params</parameter> returns a single boolean value indicating whether
2020 1D evaluation generates 3D vertex coordinates. The initial value is
2021 <constant>GL_FALSE</constant>.
2022 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
2023 </para>
2024 </listitem>
2025 </varlistentry>
2026 <varlistentry>
2027 <term><constant>GL_MAP1_VERTEX_4</constant></term>
2028 <listitem>
2029 <para>
2030 </para>
2031 <para>
2032 <parameter>params</parameter> returns a single boolean value indicating whether
2033 1D evaluation generates 4D vertex coordinates. The initial value is
2034 <constant>GL_FALSE</constant>.
2035 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry>.
2036 </para>
2037 </listitem>
2038 </varlistentry>
2039 <varlistentry>
2040 <term><constant>GL_MAP2_COLOR_4</constant></term>
2041 <listitem>
2042 <para>
2043 </para>
2044 <para>
2045 <parameter>params</parameter> returns a single boolean value indicating whether
2046 2D evaluation generates colors. The initial value is <constant>GL_FALSE</constant>.
2047 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2048 </para>
2049 </listitem>
2050 </varlistentry>
2051 <varlistentry>
2052 <term><constant>GL_MAP2_GRID_DOMAIN</constant></term>
2053 <listitem>
2054 <para>
2055 </para>
2056 <para>
2057 <parameter>params</parameter> returns four values:
2058 the endpoints of the 2D map's
2059 <inlineequation><mml:math><mml:mi mathvariant="italic">i</mml:mi></mml:math></inlineequation>
2060 and
2061 <inlineequation><mml:math><mml:mi mathvariant="italic">j</mml:mi></mml:math></inlineequation>
2062 grid domains. The initial value
2063 is (0,1; 0,1).
2064 See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
2065 </para>
2066 </listitem>
2067 </varlistentry>
2068 <varlistentry>
2069 <term><constant>GL_MAP2_GRID_SEGMENTS</constant></term>
2070 <listitem>
2071 <para>
2072 </para>
2073 <para>
2074 <parameter>params</parameter> returns two values:
2075 the number of partitions in the 2D map's
2076 <inlineequation><mml:math><mml:mi mathvariant="italic">i</mml:mi></mml:math></inlineequation>
2077 and
2078 <inlineequation><mml:math><mml:mi mathvariant="italic">j</mml:mi></mml:math></inlineequation>
2079 grid
2080 domains. The initial value is (1,1).
2081 See <citerefentry><refentrytitle>glMapGrid</refentrytitle></citerefentry>.
2082 </para>
2083 </listitem>
2084 </varlistentry>
2085 <varlistentry>
2086 <term><constant>GL_MAP2_INDEX</constant></term>
2087 <listitem>
2088 <para>
2089 </para>
2090 <para>
2091 <parameter>params</parameter> returns a single boolean value indicating whether
2092 2D evaluation generates color indices. The initial value is <constant>GL_FALSE</constant>.
2093 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2094 </para>
2095 </listitem>
2096 </varlistentry>
2097 <varlistentry>
2098 <term><constant>GL_MAP2_NORMAL</constant></term>
2099 <listitem>
2100 <para>
2101 </para>
2102 <para>
2103 <parameter>params</parameter> returns a single boolean value indicating whether
2104 2D evaluation generates normals. The initial value is <constant>GL_FALSE</constant>.
2105 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2106 </para>
2107 </listitem>
2108 </varlistentry>
2109 <varlistentry>
2110 <term><constant>GL_MAP2_TEXTURE_COORD_1</constant></term>
2111 <listitem>
2112 <para>
2113 </para>
2114 <para>
2115 <parameter>params</parameter> returns a single boolean value indicating whether
2116 2D evaluation generates 1D texture coordinates. The initial value is
2117 <constant>GL_FALSE</constant>.
2118 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2119 </para>
2120 </listitem>
2121 </varlistentry>
2122 <varlistentry>
2123 <term><constant>GL_MAP2_TEXTURE_COORD_2</constant></term>
2124 <listitem>
2125 <para>
2126 </para>
2127 <para>
2128 <parameter>params</parameter> returns a single boolean value indicating whether
2129 2D evaluation generates 2D texture coordinates. The initial value is
2130 <constant>GL_FALSE</constant>.
2131 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2132 </para>
2133 </listitem>
2134 </varlistentry>
2135 <varlistentry>
2136 <term><constant>GL_MAP2_TEXTURE_COORD_3</constant></term>
2137 <listitem>
2138 <para>
2139 </para>
2140 <para>
2141 <parameter>params</parameter> returns a single boolean value indicating whether
2142 2D evaluation generates 3D texture coordinates. The initial value is
2143 <constant>GL_FALSE</constant>.
2144 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2145 </para>
2146 </listitem>
2147 </varlistentry>
2148 <varlistentry>
2149 <term><constant>GL_MAP2_TEXTURE_COORD_4</constant></term>
2150 <listitem>
2151 <para>
2152 </para>
2153 <para>
2154 <parameter>params</parameter> returns a single boolean value indicating whether
2155 2D evaluation generates 4D texture coordinates. The initial value is
2156 <constant>GL_FALSE</constant>.
2157 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2158 </para>
2159 </listitem>
2160 </varlistentry>
2161 <varlistentry>
2162 <term><constant>GL_MAP2_VERTEX_3</constant></term>
2163 <listitem>
2164 <para>
2165 </para>
2166 <para>
2167 <parameter>params</parameter> returns a single boolean value indicating whether
2168 2D evaluation generates 3D vertex coordinates. The initial value is
2169 <constant>GL_FALSE</constant>.
2170 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2171 </para>
2172 </listitem>
2173 </varlistentry>
2174 <varlistentry>
2175 <term><constant>GL_MAP2_VERTEX_4</constant></term>
2176 <listitem>
2177 <para>
2178 </para>
2179 <para>
2180 <parameter>params</parameter> returns a single boolean value indicating whether
2181 2D evaluation generates 4D vertex coordinates. The initial value is
2182 <constant>GL_FALSE</constant>.
2183 See <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2184 </para>
2185 </listitem>
2186 </varlistentry>
2187 <varlistentry>
2188 <term><constant>GL_MAP_COLOR</constant></term>
2189 <listitem>
2190 <para>
2191 </para>
2192 <para>
2193 <parameter>params</parameter> returns a single boolean value indicating if colors and
2194 color indices are to be replaced by table lookup during pixel
2195 transfers. The initial value is <constant>GL_FALSE</constant>.
2196 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
2197 </para>
2198 </listitem>
2199 </varlistentry>
2200 <varlistentry>
2201 <term><constant>GL_MAP_STENCIL</constant></term>
2202 <listitem>
2203 <para>
2204 </para>
2205 <para>
2206 <parameter>params</parameter> returns a single boolean value indicating if stencil indices
2207 are to be replaced by table lookup during pixel transfers. The initial
2208 value is <constant>GL_FALSE</constant>.
2209 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
2210 </para>
2211 </listitem>
2212 </varlistentry>
2213 <varlistentry>
2214 <term><constant>GL_MATRIX_MODE</constant></term>
2215 <listitem>
2216 <para>
2217 </para>
2218 <para>
2219 <parameter>params</parameter> returns one value,
2220 a symbolic constant indicating which matrix stack is currently the
2221 target of all matrix operations. The initial value is <constant>GL_MODELVIEW</constant>.
2222 See <citerefentry><refentrytitle>glMatrixMode</refentrytitle></citerefentry>.
2223 </para>
2224 </listitem>
2225 </varlistentry>
2226 <varlistentry>
2227 <term><constant>GL_MAX_3D_TEXTURE_SIZE</constant></term>
2228 <listitem>
2229 <para>
2230 </para>
2231 <para>
2232 <parameter>params</parameter> returns one value,
2233 a rough estimate of the largest 3D texture that the GL can handle.
2234 The value must be at least 16.
2235 If the GL version is 1.2 or greater, use
2236 <constant>GL_PROXY_TEXTURE_3D</constant> to determine if a texture is too large.
2237 See <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>.
2238 </para>
2239 </listitem>
2240 </varlistentry>
2241 <varlistentry>
2242 <term><constant>GL_MAX_CLIENT_ATTRIB_STACK_DEPTH</constant></term>
2243 <listitem>
2244 <para>
2245 </para>
2246 <para>
2247 <parameter>params</parameter> returns one value indicating the maximum supported depth
2248 of the client attribute stack.
2249 See <citerefentry><refentrytitle>glPushClientAttrib</refentrytitle></citerefentry>.
2250 </para>
2251 </listitem>
2252 </varlistentry>
2253 <varlistentry>
2254 <term><constant>GL_MAX_ATTRIB_STACK_DEPTH</constant></term>
2255 <listitem>
2256 <para>
2257 </para>
2258 <para>
2259 <parameter>params</parameter> returns one value,
2260 the maximum supported depth of the attribute stack. The value must be
2261 at least 16.
2262 See <citerefentry><refentrytitle>glPushAttrib</refentrytitle></citerefentry>.
2263 </para>
2264 </listitem>
2265 </varlistentry>
2266 <varlistentry>
2267 <term><constant>GL_MAX_CLIP_PLANES</constant></term>
2268 <listitem>
2269 <para>
2270 </para>
2271 <para>
2272 <parameter>params</parameter> returns one value,
2273 the maximum number of application-defined clipping planes. The value must be at least 6.
2274 See <citerefentry><refentrytitle>glClipPlane</refentrytitle></citerefentry>.
2275 </para>
2276 </listitem>
2277 </varlistentry>
2278 <varlistentry>
2279 <term><constant>GL_MAX_COLOR_MATRIX_STACK_DEPTH</constant></term>
2280 <listitem>
2281 <para>
2282 </para>
2283 <para>
2284 <parameter>params</parameter> returns one value, the maximum supported depth of the color matrix
2285 stack. The value must be at least 2.
2286 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
2287 </para>
2288 </listitem>
2289 </varlistentry>
2290 <varlistentry>
2291 <term><constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant></term>
2292 <listitem>
2293 <para>
2294 </para>
2295 <para>
2296 <parameter>params</parameter> returns one value, the maximum supported texture image units that
2297 can be used to access texture maps from the vertex shader and the fragment processor combined.
2298 If both the vertex shader and the fragment processing stage access the same texture image
2299 unit, then that counts as using two texture image units against this limit.
2300 The value must be at least 2.
2301 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
2302 </para>
2303 </listitem>
2304 </varlistentry>
2305 <varlistentry>
2306 <term><constant>GL_MAX_CUBE_MAP_TEXTURE_SIZE</constant></term>
2307 <listitem>
2308 <para>
2309 </para>
2310 <para>
2311 <parameter>params</parameter> returns one value.
2312 The value gives a rough estimate of the largest cube-map texture that
2313 the GL can handle. The value must be at least 16.
2314 If the GL version is 1.3 or greater, use <constant>GL_PROXY_TEXTURE_CUBE_MAP</constant>
2315 to determine if a texture is too large.
2316 See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
2317 </para>
2318 </listitem>
2319 </varlistentry>
2320 <varlistentry>
2321 <term><constant>GL_MAX_DRAW_BUFFERS</constant></term>
2322 <listitem>
2323 <para>
2324 </para>
2325 <para>
2326 <parameter>params</parameter> returns one value, the maximum number
2327 of simultaneous output colors allowed from a fragment shader using the
2328 <code>gl_FragData</code> built-in array. The value must be at least 1.
2329 See <citerefentry><refentrytitle>glDrawBuffers</refentrytitle></citerefentry>.
2330 </para>
2331 </listitem>
2332 </varlistentry>
2333 <varlistentry>
2334 <term><constant>GL_MAX_ELEMENTS_INDICES</constant></term>
2335 <listitem>
2336 <para>
2337 </para>
2338 <para>
2339 <parameter>params</parameter> returns one value,
2340 the recommended maximum number of vertex array indices.
2341 See <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>.
2342 </para>
2343 </listitem>
2344 </varlistentry>
2345 <varlistentry>
2346 <term><constant>GL_MAX_ELEMENTS_VERTICES</constant></term>
2347 <listitem>
2348 <para>
2349 </para>
2350 <para>
2351 <parameter>params</parameter> returns one value,
2352 the recommended maximum number of vertex array vertices.
2353 See <citerefentry><refentrytitle>glDrawRangeElements</refentrytitle></citerefentry>.
2354 </para>
2355 </listitem>
2356 </varlistentry>
2357 <varlistentry>
2358 <term><constant>GL_MAX_EVAL_ORDER</constant></term>
2359 <listitem>
2360 <para>
2361 </para>
2362 <para>
2363 <parameter>params</parameter> returns one value,
2364 the maximum equation order supported by 1D and 2D
2365 evaluators. The value must be at least 8.
2366 See <citerefentry><refentrytitle>glMap1</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glMap2</refentrytitle></citerefentry>.
2367 </para>
2368 </listitem>
2369 </varlistentry>
2370 <varlistentry>
2371 <term><constant>GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant></term>
2372 <listitem>
2373 <para>
2374 </para>
2375 <para>
2376 <parameter>params</parameter> returns one value,
2377 the maximum number of individual floating-point, integer, or boolean values that can be held
2378 in uniform variable storage for a fragment shader. The value must be at least 64.
2379 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
2380 </para>
2381 </listitem>
2382 </varlistentry>
2383 <varlistentry>
2384 <term><constant>GL_MAX_LIGHTS</constant></term>
2385 <listitem>
2386 <para>
2387 </para>
2388 <para>
2389 <parameter>params</parameter> returns one value,
2390 the maximum number of lights. The value must be at least 8.
2391 See <citerefentry><refentrytitle>glLight</refentrytitle></citerefentry>.
2392 </para>
2393 </listitem>
2394 </varlistentry>
2395 <varlistentry>
2396 <term><constant>GL_MAX_LIST_NESTING</constant></term>
2397 <listitem>
2398 <para>
2399 </para>
2400 <para>
2401 <parameter>params</parameter> returns one value,
2402 the maximum recursion depth allowed during display-list
2403 traversal. The value must be at least 64.
2404 See <citerefentry><refentrytitle>glCallList</refentrytitle></citerefentry>.
2405 </para>
2406 </listitem>
2407 </varlistentry>
2408 <varlistentry>
2409 <term><constant>GL_MAX_MODELVIEW_STACK_DEPTH</constant></term>
2410 <listitem>
2411 <para>
2412 </para>
2413 <para>
2414 <parameter>params</parameter> returns one value,
2415 the maximum supported depth of the modelview matrix stack. The value must
2416 be at least 32.
2417 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
2418 </para>
2419 </listitem>
2420 </varlistentry>
2421 <varlistentry>
2422 <term><constant>GL_MAX_NAME_STACK_DEPTH</constant></term>
2423 <listitem>
2424 <para>
2425 </para>
2426 <para>
2427 <parameter>params</parameter> returns one value,
2428 the maximum supported depth of the selection name stack. The value must be at least 64.
2429 See <citerefentry><refentrytitle>glPushName</refentrytitle></citerefentry>.
2430 </para>
2431 </listitem>
2432 </varlistentry>
2433 <varlistentry>
2434 <term><constant>GL_MAX_PIXEL_MAP_TABLE</constant></term>
2435 <listitem>
2436 <para>
2437 </para>
2438 <para>
2439 <parameter>params</parameter> returns one value,
2440 the maximum supported size of a <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry> lookup table.
2441 The value must be at least 32.
2442 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2443 </para>
2444 </listitem>
2445 </varlistentry>
2446 <varlistentry>
2447 <term><constant>GL_MAX_PROJECTION_STACK_DEPTH</constant></term>
2448 <listitem>
2449 <para>
2450 </para>
2451 <para>
2452 <parameter>params</parameter> returns one value, the maximum supported depth of the projection
2453 matrix stack. The value must be at least 2.
2454 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
2455 </para>
2456 </listitem>
2457 </varlistentry>
2458 <varlistentry>
2459 <term><constant>GL_MAX_TEXTURE_COORDS</constant></term>
2460 <listitem>
2461 <para>
2462 </para>
2463 <para>
2464 <parameter>params</parameter> returns one value,
2465 the maximum number of texture coordinate sets available to vertex and fragment shaders.
2466 The value must be at least 2.
2467 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry> and
2468 <citerefentry><refentrytitle>glClientActiveTexture</refentrytitle></citerefentry>.
2469 </para>
2470 </listitem>
2471 </varlistentry>
2472 <varlistentry>
2473 <term><constant>GL_MAX_TEXTURE_IMAGE_UNITS</constant></term>
2474 <listitem>
2475 <para>
2476 </para>
2477 <para>
2478 <parameter>params</parameter> returns one value, the maximum supported texture image units that
2479 can be used to access texture maps from the fragment shader.
2480 The value must be at least 2.
2481 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
2482 </para>
2483 </listitem>
2484 </varlistentry>
2485 <varlistentry>
2486 <term><constant>GL_MAX_TEXTURE_LOD_BIAS</constant></term>
2487 <listitem>
2488 <para>
2489 </para>
2490 <para>
2491 <parameter>params</parameter> returns one value,
2492 the maximum, absolute value of the texture level-of-detail bias. The
2493 value must be at least 4.
2494 </para>
2495 </listitem>
2496 </varlistentry>
2497 <varlistentry>
2498 <term><constant>GL_MAX_TEXTURE_SIZE</constant></term>
2499 <listitem>
2500 <para>
2501 </para>
2502 <para>
2503 <parameter>params</parameter> returns one value.
2504 The value gives a rough estimate of the largest texture that
2505 the GL can handle. The value must be at least 64.
2506 If the GL version is 1.1 or greater, use
2507 <constant>GL_PROXY_TEXTURE_1D</constant> or <constant>GL_PROXY_TEXTURE_2D</constant>
2508 to determine if a texture is too large.
2509 See <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
2510 </para>
2511 </listitem>
2512 </varlistentry>
2513 <varlistentry>
2514 <term><constant>GL_MAX_TEXTURE_STACK_DEPTH</constant></term>
2515 <listitem>
2516 <para>
2517 </para>
2518 <para>
2519 <parameter>params</parameter> returns one value,
2520 the maximum supported depth of the texture matrix stack. The value must be at least 2.
2521 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
2522 </para>
2523 </listitem>
2524 </varlistentry>
2525 <varlistentry>
2526 <term><constant>GL_MAX_TEXTURE_UNITS</constant></term>
2527 <listitem>
2528 <para>
2529 </para>
2530 <para>
2531 <parameter>params</parameter> returns a single value indicating the number of conventional
2532 texture units supported. Each conventional texture unit includes both a texture coordinate set
2533 and a texture image unit. Conventional texture units may be used for fixed-function (non-shader)
2534 rendering. The value must be at least 2. Additional texture coordinate sets and texture
2535 image units may be accessed from vertex and fragment shaders.
2536 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry> and
2537 <citerefentry><refentrytitle>glClientActiveTexture</refentrytitle></citerefentry>.
2538 </para>
2539 </listitem>
2540 </varlistentry>
2541 <varlistentry>
2542 <term><constant>GL_MAX_VARYING_FLOATS</constant></term>
2543 <listitem>
2544 <para>
2545 </para>
2546 <para>
2547 <parameter>params</parameter> returns one value,
2548 the maximum number of interpolators available for processing varying variables used by
2549 vertex and fragment shaders. This value represents the number of individual floating-point
2550 values that can be interpolated; varying variables declared as vectors, matrices, and arrays
2551 will all consume multiple interpolators. The value must be at least 32.
2552 </para>
2553 </listitem>
2554 </varlistentry>
2555 <varlistentry>
2556 <term><constant>GL_MAX_VERTEX_ATTRIBS</constant></term>
2557 <listitem>
2558 <para>
2559 </para>
2560 <para>
2561 <parameter>params</parameter> returns one value,
2562 the maximum number of 4-component generic vertex attributes accessible to a vertex shader.
2563 The value must be at least 16.
2564 See <citerefentry><refentrytitle>glVertexAttrib</refentrytitle></citerefentry>.
2565 </para>
2566 </listitem>
2567 </varlistentry>
2568 <varlistentry>
2569 <term><constant>GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</constant></term>
2570 <listitem>
2571 <para>
2572 </para>
2573 <para>
2574 <parameter>params</parameter> returns one value, the maximum supported texture image units that
2575 can be used to access texture maps from the vertex shader. The value may be 0.
2576 See <citerefentry><refentrytitle>glActiveTexture</refentrytitle></citerefentry>.
2577 </para>
2578 </listitem>
2579 </varlistentry>
2580 <varlistentry>
2581 <term><constant>GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant></term>
2582 <listitem>
2583 <para>
2584 </para>
2585 <para>
2586 <parameter>params</parameter> returns one value,
2587 the maximum number of individual floating-point, integer, or boolean values that can be held
2588 in uniform variable storage for a vertex shader. The value must be at least 512.
2589 See <citerefentry><refentrytitle>glUniform</refentrytitle></citerefentry>.
2590 </para>
2591 </listitem>
2592 </varlistentry>
2593 <varlistentry>
2594 <term><constant>GL_MAX_VIEWPORT_DIMS</constant></term>
2595 <listitem>
2596 <para>
2597 </para>
2598 <para>
2599 <parameter>params</parameter> returns two values:
2600 the maximum supported width and height of the viewport.
2601 These must be at least as large as the visible dimensions of the display
2602 being rendered to.
2603 See <citerefentry><refentrytitle>glViewport</refentrytitle></citerefentry>.
2604 </para>
2605 </listitem>
2606 </varlistentry>
2607 <varlistentry>
2608 <term><constant>GL_MINMAX</constant></term>
2609 <listitem>
2610 <para>
2611 </para>
2612 <para>
2613 <parameter>params</parameter> returns a single boolean value indicating whether pixel minmax
2614 values are computed. The initial value is <constant>GL_FALSE</constant>.
2615 See <citerefentry><refentrytitle>glMinmax</refentrytitle></citerefentry>.
2616 </para>
2617 </listitem>
2618 </varlistentry>
2619 <varlistentry>
2620 <term><constant>GL_MODELVIEW_MATRIX</constant></term>
2621 <listitem>
2622 <para>
2623 </para>
2624 <para>
2625 <parameter>params</parameter> returns sixteen values:
2626 the modelview matrix on the top of the modelview matrix stack. Initially
2627 this matrix is the identity matrix.
2628 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
2629 </para>
2630 </listitem>
2631 </varlistentry>
2632 <varlistentry>
2633 <term><constant>GL_MODELVIEW_STACK_DEPTH</constant></term>
2634 <listitem>
2635 <para>
2636 </para>
2637 <para>
2638 <parameter>params</parameter> returns one value,
2639 the number of matrices on the modelview matrix stack.
2640 The initial value is 1.
2641 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
2642 </para>
2643 </listitem>
2644 </varlistentry>
2645 <varlistentry>
2646 <term><constant>GL_NAME_STACK_DEPTH</constant></term>
2647 <listitem>
2648 <para>
2649 </para>
2650 <para>
2651 <parameter>params</parameter> returns one value,
2652 the number of names on the selection name stack. The initial value is 0.
2653 See <citerefentry><refentrytitle>glPushName</refentrytitle></citerefentry>.
2654 </para>
2655 </listitem>
2656 </varlistentry>
2657 <varlistentry>
2658 <term><constant>GL_NORMAL_ARRAY</constant></term>
2659 <listitem>
2660 <para>
2661 </para>
2662 <para>
2663 <parameter>params</parameter> returns a single boolean value, indicating whether the normal
2664 array is enabled. The initial value is <constant>GL_FALSE</constant>.
2665 See <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
2666 </para>
2667 </listitem>
2668 </varlistentry>
2669 <varlistentry>
2670 <term><constant>GL_NORMAL_ARRAY_BUFFER_BINDING</constant></term>
2671 <listitem>
2672 <para>
2673 </para>
2674 <para>
2675 <parameter>params</parameter> returns a single value, the name of the buffer object
2676 associated with the normal array. This buffer object would have been bound to the
2677 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
2678 <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
2679 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
2680 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
2681 </para>
2682 </listitem>
2683 </varlistentry>
2684 <varlistentry>
2685 <term><constant>GL_NORMAL_ARRAY_STRIDE</constant></term>
2686 <listitem>
2687 <para>
2688 </para>
2689 <para>
2690 <parameter>params</parameter> returns one value,
2691 the byte offset between consecutive normals in the normal
2692 array. The initial value is 0.
2693 See <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
2694 </para>
2695 </listitem>
2696 </varlistentry>
2697 <varlistentry>
2698 <term><constant>GL_NORMAL_ARRAY_TYPE</constant></term>
2699 <listitem>
2700 <para>
2701 </para>
2702 <para>
2703 <parameter>params</parameter> returns one value,
2704 the data type of each coordinate in the normal array. The initial value is
2705 <constant>GL_FLOAT</constant>.
2706 See <citerefentry><refentrytitle>glNormalPointer</refentrytitle></citerefentry>.
2707 </para>
2708 </listitem>
2709 </varlistentry>
2710 <varlistentry>
2711 <term><constant>GL_NORMALIZE</constant></term>
2712 <listitem>
2713 <para>
2714 </para>
2715 <para>
2716 <parameter>params</parameter> returns a single boolean value indicating whether normals are
2717 automatically scaled to unit length after they have been transformed to
2718 eye coordinates. The initial value is <constant>GL_FALSE</constant>.
2719 See <citerefentry><refentrytitle>glNormal</refentrytitle></citerefentry>.
2720 </para>
2721 </listitem>
2722 </varlistentry>
2723 <varlistentry>
2724 <term><constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant></term>
2725 <listitem>
2726 <para>
2727 </para>
2728 <para>
2729 <parameter>params</parameter> returns a single integer value indicating the number of available
2730 compressed texture formats. The minimum value is 0.
2731 See <citerefentry><refentrytitle>glCompressedTexImage2D</refentrytitle></citerefentry>.
2732 </para>
2733 </listitem>
2734 </varlistentry>
2735 <varlistentry>
2736 <term><constant>GL_PACK_ALIGNMENT</constant></term>
2737 <listitem>
2738 <para>
2739 </para>
2740 <para>
2741 <parameter>params</parameter> returns one value,
2742 the byte alignment used for writing pixel data to memory. The initial
2743 value is 4.
2744 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2745 </para>
2746 </listitem>
2747 </varlistentry>
2748 <varlistentry>
2749 <term><constant>GL_PACK_IMAGE_HEIGHT</constant></term>
2750 <listitem>
2751 <para>
2752 </para>
2753 <para>
2754 <parameter>params</parameter> returns one value,
2755 the image height used for writing pixel data to memory. The initial
2756 value is 0.
2757 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2758 </para>
2759 </listitem>
2760 </varlistentry>
2761 <varlistentry>
2762 <term><constant>GL_PACK_LSB_FIRST</constant></term>
2763 <listitem>
2764 <para>
2765 </para>
2766 <para>
2767 <parameter>params</parameter> returns a single boolean value indicating whether single-bit
2768 pixels being written to memory are written first to the least significant
2769 bit of each unsigned byte. The initial value is <constant>GL_FALSE</constant>.
2770 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2771 </para>
2772 </listitem>
2773 </varlistentry>
2774 <varlistentry>
2775 <term><constant>GL_PACK_ROW_LENGTH</constant></term>
2776 <listitem>
2777 <para>
2778 </para>
2779 <para>
2780 <parameter>params</parameter> returns one value,
2781 the row length used for writing pixel data to memory. The initial value is
2782 0.
2783 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2784 </para>
2785 </listitem>
2786 </varlistentry>
2787 <varlistentry>
2788 <term><constant>GL_PACK_SKIP_IMAGES</constant></term>
2789 <listitem>
2790 <para>
2791 </para>
2792 <para>
2793 <parameter>params</parameter> returns one value,
2794 the number of pixel images skipped before the first pixel is written
2795 into memory. The initial value is 0.
2796 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2797 </para>
2798 </listitem>
2799 </varlistentry>
2800 <varlistentry>
2801 <term><constant>GL_PACK_SKIP_PIXELS</constant></term>
2802 <listitem>
2803 <para>
2804 </para>
2805 <para>
2806 <parameter>params</parameter> returns one value,
2807 the number of pixel locations skipped before the first pixel is written
2808 into memory. The initial value is 0.
2809 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2810 </para>
2811 </listitem>
2812 </varlistentry>
2813 <varlistentry>
2814 <term><constant>GL_PACK_SKIP_ROWS</constant></term>
2815 <listitem>
2816 <para>
2817 </para>
2818 <para>
2819 <parameter>params</parameter> returns one value,
2820 the number of rows of pixel locations skipped before the first pixel is written
2821 into memory. The initial value is 0.
2822 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2823 </para>
2824 </listitem>
2825 </varlistentry>
2826 <varlistentry>
2827 <term><constant>GL_PACK_SWAP_BYTES</constant></term>
2828 <listitem>
2829 <para>
2830 </para>
2831 <para>
2832 <parameter>params</parameter> returns a single boolean value indicating whether the bytes of
2833 two-byte and four-byte pixel indices and components are swapped before being
2834 written to memory. The initial value is <constant>GL_FALSE</constant>.
2835 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
2836 </para>
2837 </listitem>
2838 </varlistentry>
2839 <varlistentry>
2840 <term><constant>GL_PERSPECTIVE_CORRECTION_HINT</constant></term>
2841 <listitem>
2842 <para>
2843 </para>
2844 <para>
2845 <parameter>params</parameter> returns one value,
2846 a symbolic constant indicating the mode of the perspective correction
2847 hint. The initial value is <constant>GL_DONT_CARE</constant>.
2848 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
2849 </para>
2850 </listitem>
2851 </varlistentry>
2852 <varlistentry>
2853 <term><constant>GL_PIXEL_MAP_A_TO_A_SIZE</constant></term>
2854 <listitem>
2855 <para>
2856 </para>
2857 <para>
2858 <parameter>params</parameter> returns one value,
2859 the size of the alpha-to-alpha pixel translation table.
2860 The initial value is 1.
2861 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2862 </para>
2863 </listitem>
2864 </varlistentry>
2865 <varlistentry>
2866 <term><constant>GL_PIXEL_MAP_B_TO_B_SIZE</constant></term>
2867 <listitem>
2868 <para>
2869 </para>
2870 <para>
2871 <parameter>params</parameter> returns one value,
2872 the size of the blue-to-blue pixel translation table.
2873 The initial value is 1.
2874 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2875 </para>
2876 </listitem>
2877 </varlistentry>
2878 <varlistentry>
2879 <term><constant>GL_PIXEL_MAP_G_TO_G_SIZE</constant></term>
2880 <listitem>
2881 <para>
2882 </para>
2883 <para>
2884 <parameter>params</parameter> returns one value,
2885 the size of the green-to-green pixel translation table.
2886 The initial value is 1.
2887 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2888 </para>
2889 </listitem>
2890 </varlistentry>
2891 <varlistentry>
2892 <term><constant>GL_PIXEL_MAP_I_TO_A_SIZE</constant></term>
2893 <listitem>
2894 <para>
2895 </para>
2896 <para>
2897 <parameter>params</parameter> returns one value,
2898 the size of the index-to-alpha pixel translation table.
2899 The initial value is 1.
2900 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2901 </para>
2902 </listitem>
2903 </varlistentry>
2904 <varlistentry>
2905 <term><constant>GL_PIXEL_MAP_I_TO_B_SIZE</constant></term>
2906 <listitem>
2907 <para>
2908 </para>
2909 <para>
2910 <parameter>params</parameter> returns one value,
2911 the size of the index-to-blue pixel translation table.
2912 The initial value is 1.
2913 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2914 </para>
2915 </listitem>
2916 </varlistentry>
2917 <varlistentry>
2918 <term><constant>GL_PIXEL_MAP_I_TO_G_SIZE</constant></term>
2919 <listitem>
2920 <para>
2921 </para>
2922 <para>
2923 <parameter>params</parameter> returns one value,
2924 the size of the index-to-green pixel translation table.
2925 The initial value is 1.
2926 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2927 </para>
2928 </listitem>
2929 </varlistentry>
2930 <varlistentry>
2931 <term><constant>GL_PIXEL_MAP_I_TO_I_SIZE</constant></term>
2932 <listitem>
2933 <para>
2934 </para>
2935 <para>
2936 <parameter>params</parameter> returns one value,
2937 the size of the index-to-index pixel translation table.
2938 The initial value is 1.
2939 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2940 </para>
2941 </listitem>
2942 </varlistentry>
2943 <varlistentry>
2944 <term><constant>GL_PIXEL_MAP_I_TO_R_SIZE</constant></term>
2945 <listitem>
2946 <para>
2947 </para>
2948 <para>
2949 <parameter>params</parameter> returns one value,
2950 the size of the index-to-red pixel translation table.
2951 The initial value is 1.
2952 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2953 </para>
2954 </listitem>
2955 </varlistentry>
2956 <varlistentry>
2957 <term><constant>GL_PIXEL_MAP_R_TO_R_SIZE</constant></term>
2958 <listitem>
2959 <para>
2960 </para>
2961 <para>
2962 <parameter>params</parameter> returns one value,
2963 the size of the red-to-red pixel translation table.
2964 The initial value is 1.
2965 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2966 </para>
2967 </listitem>
2968 </varlistentry>
2969 <varlistentry>
2970 <term><constant>GL_PIXEL_MAP_S_TO_S_SIZE</constant></term>
2971 <listitem>
2972 <para>
2973 </para>
2974 <para>
2975 <parameter>params</parameter> returns one value,
2976 the size of the stencil-to-stencil pixel translation table.
2977 The initial value is 1.
2978 See <citerefentry><refentrytitle>glPixelMap</refentrytitle></citerefentry>.
2979 </para>
2980 </listitem>
2981 </varlistentry>
2982 <varlistentry>
2983 <term><constant>GL_PIXEL_PACK_BUFFER_BINDING</constant></term>
2984 <listitem>
2985 <para>
2986 </para>
2987 <para>
2988 <parameter>params</parameter> returns a single value, the name of the buffer object
2989 currently bound to the target <constant>GL_PIXEL_PACK_BUFFER</constant>. If no buffer object
2990 is bound to this target, 0 is returned. The initial value is 0.
2991 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
2992 </para>
2993 </listitem>
2994 </varlistentry>
2995 <varlistentry>
2996 <term><constant>GL_PIXEL_UNPACK_BUFFER_BINDING</constant></term>
2997 <listitem>
2998 <para>
2999 </para>
3000 <para>
3001 <parameter>params</parameter> returns a single value, the name of the buffer object
3002 currently bound to the target <constant>GL_PIXEL_UNPACK_BUFFER</constant>. If no buffer object
3003 is bound to this target, 0 is returned. The initial value is 0.
3004 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
3005 </para>
3006 </listitem>
3007 </varlistentry>
3008 <varlistentry>
3009 <term><constant>GL_POINT_DISTANCE_ATTENUATION</constant></term>
3010 <listitem>
3011 <para>
3012 </para>
3013 <para>
3014 <parameter>params</parameter> returns three values,
3015 the coefficients for computing the attenuation value for points.
3016 See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
3017 </para>
3018 </listitem>
3019 </varlistentry>
3020 <varlistentry>
3021 <term><constant>GL_POINT_FADE_THRESHOLD_SIZE</constant></term>
3022 <listitem>
3023 <para>
3024 </para>
3025 <para>
3026 <parameter>params</parameter> returns one value,
3027 the point size threshold for determining the point size.
3028 See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
3029 </para>
3030 </listitem>
3031 </varlistentry>
3032 <varlistentry>
3033 <term><constant>GL_POINT_SIZE</constant></term>
3034 <listitem>
3035 <para>
3036 </para>
3037 <para>
3038 <parameter>params</parameter> returns one value,
3039 the point size as specified by <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>. The initial value is 1.
3040 </para>
3041 </listitem>
3042 </varlistentry>
3043 <varlistentry>
3044 <term><constant>GL_POINT_SIZE_GRANULARITY</constant></term>
3045 <listitem>
3046 <para>
3047 </para>
3048 <para>
3049 <parameter>params</parameter> returns one value,
3050 the size difference between adjacent supported sizes for antialiased points.
3051 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
3052 </para>
3053 </listitem>
3054 </varlistentry>
3055 <varlistentry>
3056 <term><constant>GL_POINT_SIZE_MAX</constant></term>
3057 <listitem>
3058 <para>
3059 </para>
3060 <para>
3061 <parameter>params</parameter> returns one value,
3062 the upper bound for the attenuated point sizes. The initial value is 0.0.
3063 See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
3064 </para>
3065 </listitem>
3066 </varlistentry>
3067 <varlistentry>
3068 <term><constant>GL_POINT_SIZE_MIN</constant></term>
3069 <listitem>
3070 <para>
3071 </para>
3072 <para>
3073 <parameter>params</parameter> returns one value,
3074 the lower bound for the attenuated point sizes. The initial value is 1.0.
3075 See <citerefentry><refentrytitle>glPointParameter</refentrytitle></citerefentry>.
3076 </para>
3077 </listitem>
3078 </varlistentry>
3079 <varlistentry>
3080 <term><constant>GL_POINT_SIZE_RANGE</constant></term>
3081 <listitem>
3082 <para>
3083 </para>
3084 <para>
3085 <parameter>params</parameter> returns two values:
3086 the smallest and largest supported sizes for antialiased
3087 points. The smallest size must be at most 1, and the largest size must
3088 be at least 1.
3089 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
3090 </para>
3091 </listitem>
3092 </varlistentry>
3093 <varlistentry>
3094 <term><constant>GL_POINT_SMOOTH</constant></term>
3095 <listitem>
3096 <para>
3097 </para>
3098 <para>
3099 <parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
3100 points is enabled. The initial value is <constant>GL_FALSE</constant>.
3101 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
3102 </para>
3103 </listitem>
3104 </varlistentry>
3105 <varlistentry>
3106 <term><constant>GL_POINT_SMOOTH_HINT</constant></term>
3107 <listitem>
3108 <para>
3109 </para>
3110 <para>
3111 <parameter>params</parameter> returns one value,
3112 a symbolic constant indicating the mode of the point antialiasing
3113 hint. The initial value is <constant>GL_DONT_CARE</constant>.
3114 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
3115 </para>
3116 </listitem>
3117 </varlistentry>
3118 <varlistentry>
3119 <term><constant>GL_POINT_SPRITE</constant></term>
3120 <listitem>
3121 <para>
3122 </para>
3123 <para>
3124 <parameter>params</parameter> returns a single boolean value indicating whether point sprite is
3125 enabled. The initial value is <constant>GL_FALSE</constant>.
3126 </para>
3127 </listitem>
3128 </varlistentry>
3129 <varlistentry>
3130 <term><constant>GL_POLYGON_MODE</constant></term>
3131 <listitem>
3132 <para>
3133 </para>
3134 <para>
3135 <parameter>params</parameter> returns two values:
3136 symbolic constants indicating whether front-facing and back-facing polygons
3137 are rasterized as points, lines, or filled polygons. The initial value is
3138 <constant>GL_FILL</constant>.
3139 See <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>.
3140 </para>
3141 </listitem>
3142 </varlistentry>
3143 <varlistentry>
3144 <term><constant>GL_POLYGON_OFFSET_FACTOR</constant></term>
3145 <listitem>
3146 <para>
3147 </para>
3148 <para>
3149 <parameter>params</parameter> returns one value,
3150 the scaling factor used to determine the variable offset that is added
3151 to the depth value of each fragment generated when a polygon is
3152 rasterized. The initial value is 0.
3153 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
3154 </para>
3155 </listitem>
3156 </varlistentry>
3157 <varlistentry>
3158 <term><constant>GL_POLYGON_OFFSET_UNITS</constant></term>
3159 <listitem>
3160 <para>
3161 </para>
3162 <para>
3163 <parameter>params</parameter> returns one value.
3164 This value is multiplied by an implementation-specific value and then
3165 added to the depth value of each fragment
3166 generated when a polygon is rasterized. The initial value is 0.
3167 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
3168 </para>
3169 </listitem>
3170 </varlistentry>
3171 <varlistentry>
3172 <term><constant>GL_POLYGON_OFFSET_FILL</constant></term>
3173 <listitem>
3174 <para>
3175 </para>
3176 <para>
3177 <parameter>params</parameter> returns a single boolean value indicating whether polygon offset
3178 is enabled for polygons in fill mode. The initial value is <constant>GL_FALSE</constant>.
3179 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
3180 </para>
3181 </listitem>
3182 </varlistentry>
3183 <varlistentry>
3184 <term><constant>GL_POLYGON_OFFSET_LINE</constant></term>
3185 <listitem>
3186 <para>
3187 </para>
3188 <para>
3189 <parameter>params</parameter> returns a single boolean value indicating whether polygon offset
3190 is enabled for polygons in line mode. The initial value is <constant>GL_FALSE</constant>.
3191 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
3192 </para>
3193 </listitem>
3194 </varlistentry>
3195 <varlistentry>
3196 <term><constant>GL_POLYGON_OFFSET_POINT</constant></term>
3197 <listitem>
3198 <para>
3199 </para>
3200 <para>
3201 <parameter>params</parameter> returns a single boolean value indicating whether polygon offset
3202 is enabled for polygons in point mode. The initial value is <constant>GL_FALSE</constant>.
3203 See <citerefentry><refentrytitle>glPolygonOffset</refentrytitle></citerefentry>.
3204 </para>
3205 </listitem>
3206 </varlistentry>
3207 <varlistentry>
3208 <term><constant>GL_POLYGON_SMOOTH</constant></term>
3209 <listitem>
3210 <para>
3211 </para>
3212 <para>
3213 <parameter>params</parameter> returns a single boolean value indicating whether antialiasing of
3214 polygons is enabled. The initial value is <constant>GL_FALSE</constant>.
3215 See <citerefentry><refentrytitle>glPolygonMode</refentrytitle></citerefentry>.
3216 </para>
3217 </listitem>
3218 </varlistentry>
3219 <varlistentry>
3220 <term><constant>GL_POLYGON_SMOOTH_HINT</constant></term>
3221 <listitem>
3222 <para>
3223 </para>
3224 <para>
3225 <parameter>params</parameter> returns one value,
3226 a symbolic constant indicating the mode of the polygon antialiasing
3227 hint. The initial value is <constant>GL_DONT_CARE</constant>.
3228 See <citerefentry><refentrytitle>glHint</refentrytitle></citerefentry>.
3229 </para>
3230 </listitem>
3231 </varlistentry>
3232 <varlistentry>
3233 <term><constant>GL_POLYGON_STIPPLE</constant></term>
3234 <listitem>
3235 <para>
3236 </para>
3237 <para>
3238 <parameter>params</parameter> returns a single boolean value indicating whether polygon
3239 stippling is enabled. The initial value is <constant>GL_FALSE</constant>.
3240 See <citerefentry><refentrytitle>glPolygonStipple</refentrytitle></citerefentry>.
3241 </para>
3242 </listitem>
3243 </varlistentry>
3244 <varlistentry>
3245 <term><constant>GL_POST_COLOR_MATRIX_COLOR_TABLE</constant></term>
3246 <listitem>
3247 <para>
3248 </para>
3249 <para>
3250 <parameter>params</parameter> returns a single boolean value indicating whether post color
3251 matrix transformation lookup is enabled.
3252 The initial value is <constant>GL_FALSE</constant>.
3253 See <citerefentry><refentrytitle>glColorTable</refentrytitle></citerefentry>.
3254 </para>
3255 </listitem>
3256 </varlistentry>
3257 <varlistentry>
3258 <term><constant>GL_POST_COLOR_MATRIX_RED_BIAS</constant></term>
3259 <listitem>
3260 <para>
3261 </para>
3262 <para>
3263 <parameter>params</parameter> returns one value, the red bias factor applied to RGBA fragments
3264 after color matrix transformations.
3265 The initial value is 0.
3266 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3267 </para>
3268 </listitem>
3269 </varlistentry>
3270 <varlistentry>
3271 <term><constant>GL_POST_COLOR_MATRIX_GREEN_BIAS</constant></term>
3272 <listitem>
3273 <para>
3274 </para>
3275 <para>
3276 <parameter>params</parameter> returns one value, the green bias factor applied to RGBA fragments
3277 after color matrix transformations.
3278 The initial value is 0.
3279 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>
3280 </para>
3281 </listitem>
3282 </varlistentry>
3283 <varlistentry>
3284 <term><constant>GL_POST_COLOR_MATRIX_BLUE_BIAS</constant></term>
3285 <listitem>
3286 <para>
3287 </para>
3288 <para>
3289 <parameter>params</parameter> returns one value, the blue bias factor applied to RGBA fragments
3290 after color matrix transformations.
3291 The initial value is 0.
3292 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3293 </para>
3294 </listitem>
3295 </varlistentry>
3296 <varlistentry>
3297 <term><constant>GL_POST_COLOR_MATRIX_ALPHA_BIAS</constant></term>
3298 <listitem>
3299 <para>
3300 </para>
3301 <para>
3302 <parameter>params</parameter> returns one value, the alpha bias factor applied to RGBA fragments
3303 after color matrix transformations.
3304 The initial value is 0.
3305 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3306 </para>
3307 </listitem>
3308 </varlistentry>
3309 <varlistentry>
3310 <term><constant>GL_POST_COLOR_MATRIX_RED_SCALE</constant></term>
3311 <listitem>
3312 <para>
3313 </para>
3314 <para>
3315 <parameter>params</parameter> returns one value, the red scale factor applied to RGBA fragments
3316 after color matrix transformations.
3317 The initial value is 1.
3318 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3319 </para>
3320 </listitem>
3321 </varlistentry>
3322 <varlistentry>
3323 <term><constant>GL_POST_COLOR_MATRIX_GREEN_SCALE</constant></term>
3324 <listitem>
3325 <para>
3326 </para>
3327 <para>
3328 <parameter>params</parameter> returns one value, the green scale factor applied to RGBA fragments
3329 after color matrix transformations.
3330 The initial value is 1.
3331 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3332 </para>
3333 </listitem>
3334 </varlistentry>
3335 <varlistentry>
3336 <term><constant>GL_POST_COLOR_MATRIX_BLUE_SCALE</constant></term>
3337 <listitem>
3338 <para>
3339 </para>
3340 <para>
3341 <parameter>params</parameter> returns one value, the blue scale factor applied to RGBA fragments
3342 after color matrix transformations.
3343 The initial value is 1.
3344 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3345 </para>
3346 </listitem>
3347 </varlistentry>
3348 <varlistentry>
3349 <term><constant>GL_POST_COLOR_MATRIX_ALPHA_SCALE</constant></term>
3350 <listitem>
3351 <para>
3352 </para>
3353 <para>
3354 <parameter>params</parameter> returns one value, the alpha scale factor applied to RGBA fragments
3355 after color matrix transformations.
3356 The initial value is 1.
3357 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3358 </para>
3359 </listitem>
3360 </varlistentry>
3361 <varlistentry>
3362 <term><constant>GL_POST_CONVOLUTION_COLOR_TABLE</constant></term>
3363 <listitem>
3364 <para>
3365 </para>
3366 <para>
3367 <parameter>params</parameter> returns a single boolean value indicating whether post convolution
3368 lookup is enabled. The initial value is <constant>GL_FALSE</constant>.
3369 See <citerefentry><refentrytitle>glColorTable</refentrytitle></citerefentry>.
3370 </para>
3371 </listitem>
3372 </varlistentry>
3373 <varlistentry>
3374 <term><constant>GL_POST_CONVOLUTION_RED_BIAS</constant></term>
3375 <listitem>
3376 <para>
3377 </para>
3378 <para>
3379 <parameter>params</parameter> returns one value, the red bias factor applied to RGBA fragments
3380 after convolution. The initial value is 0.
3381 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3382 </para>
3383 </listitem>
3384 </varlistentry>
3385 <varlistentry>
3386 <term><constant>GL_POST_CONVOLUTION_GREEN_BIAS</constant></term>
3387 <listitem>
3388 <para>
3389 </para>
3390 <para>
3391 <parameter>params</parameter> returns one value, the green bias factor applied to RGBA fragments
3392 after convolution. The initial value is 0.
3393 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3394 </para>
3395 </listitem>
3396 </varlistentry>
3397 <varlistentry>
3398 <term><constant>GL_POST_CONVOLUTION_BLUE_BIAS</constant></term>
3399 <listitem>
3400 <para>
3401 </para>
3402 <para>
3403 <parameter>params</parameter> returns one value, the blue bias factor applied to RGBA fragments
3404 after convolution. The initial value is 0.
3405 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3406 </para>
3407 </listitem>
3408 </varlistentry>
3409 <varlistentry>
3410 <term><constant>GL_POST_CONVOLUTION_ALPHA_BIAS</constant></term>
3411 <listitem>
3412 <para>
3413 </para>
3414 <para>
3415 <parameter>params</parameter> returns one value, the alpha bias factor applied to RGBA fragments
3416 after convolution. The initial value is 0.
3417 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3418 </para>
3419 </listitem>
3420 </varlistentry>
3421 <varlistentry>
3422 <term><constant>GL_POST_CONVOLUTION_RED_SCALE</constant></term>
3423 <listitem>
3424 <para>
3425 </para>
3426 <para>
3427 <parameter>params</parameter> returns one value, the red scale factor applied to RGBA fragments
3428 after convolution. The initial value is 1.
3429 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3430 </para>
3431 </listitem>
3432 </varlistentry>
3433 <varlistentry>
3434 <term><constant>GL_POST_CONVOLUTION_GREEN_SCALE</constant></term>
3435 <listitem>
3436 <para>
3437 </para>
3438 <para>
3439 <parameter>params</parameter> returns one value, the green scale factor applied to RGBA fragments
3440 after convolution. The initial value is 1.
3441 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3442 </para>
3443 </listitem>
3444 </varlistentry>
3445 <varlistentry>
3446 <term><constant>GL_POST_CONVOLUTION_BLUE_SCALE</constant></term>
3447 <listitem>
3448 <para>
3449 </para>
3450 <para>
3451 <parameter>params</parameter> returns one value, the blue scale factor applied to RGBA fragments
3452 after convolution. The initial value is 1.
3453 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3454 </para>
3455 </listitem>
3456 </varlistentry>
3457 <varlistentry>
3458 <term><constant>GL_POST_CONVOLUTION_ALPHA_SCALE</constant></term>
3459 <listitem>
3460 <para>
3461 </para>
3462 <para>
3463 <parameter>params</parameter> returns one value, the alpha scale factor applied to RGBA fragments
3464 after convolution. The initial value is 1.
3465 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3466 </para>
3467 </listitem>
3468 </varlistentry>
3469 <varlistentry>
3470 <term><constant>GL_PROJECTION_MATRIX</constant></term>
3471 <listitem>
3472 <para>
3473 </para>
3474 <para>
3475 <parameter>params</parameter> returns sixteen values:
3476 the projection matrix on the top of the projection matrix
3477 stack. Initially this matrix is the identity matrix.
3478 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
3479 </para>
3480 </listitem>
3481 </varlistentry>
3482 <varlistentry>
3483 <term><constant>GL_PROJECTION_STACK_DEPTH</constant></term>
3484 <listitem>
3485 <para>
3486 </para>
3487 <para>
3488 <parameter>params</parameter> returns one value,
3489 the number of matrices on the projection matrix stack.
3490 The initial value is 1.
3491 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
3492 </para>
3493 </listitem>
3494 </varlistentry>
3495 <varlistentry>
3496 <term><constant>GL_READ_BUFFER</constant></term>
3497 <listitem>
3498 <para>
3499 </para>
3500 <para>
3501 <parameter>params</parameter> returns one value,
3502 a symbolic constant indicating which color buffer is selected for
3503 reading. The initial value is <constant>GL_BACK</constant> if there is a back buffer,
3504 otherwise it is <constant>GL_FRONT</constant>.
3505 See
3506 <citerefentry><refentrytitle>glReadPixels</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glAccum</refentrytitle></citerefentry>.
3507 </para>
3508 </listitem>
3509 </varlistentry>
3510 <varlistentry>
3511 <term><constant>GL_RED_BIAS</constant></term>
3512 <listitem>
3513 <para>
3514 </para>
3515 <para>
3516 <parameter>params</parameter> returns one value,
3517 the red bias factor used during pixel transfers. The initial value is 0.
3518 </para>
3519 </listitem>
3520 </varlistentry>
3521 <varlistentry>
3522 <term><constant>GL_RED_BITS</constant></term>
3523 <listitem>
3524 <para>
3525 </para>
3526 <para>
3527 <parameter>params</parameter> returns one value,
3528 the number of red bitplanes in each color buffer.
3529 </para>
3530 </listitem>
3531 </varlistentry>
3532 <varlistentry>
3533 <term><constant>GL_RED_SCALE</constant></term>
3534 <listitem>
3535 <para>
3536 </para>
3537 <para>
3538 <parameter>params</parameter> returns one value,
3539 the red scale factor used during pixel transfers. The initial value is 1.
3540 See <citerefentry><refentrytitle>glPixelTransfer</refentrytitle></citerefentry>.
3541 </para>
3542 </listitem>
3543 </varlistentry>
3544 <varlistentry>
3545 <term><constant>GL_RENDER_MODE</constant></term>
3546 <listitem>
3547 <para>
3548 </para>
3549 <para>
3550 <parameter>params</parameter> returns one value,
3551 a symbolic constant indicating whether the GL is in render,
3552 select,
3553 or feedback mode. The initial value is <constant>GL_RENDER</constant>.
3554 See <citerefentry><refentrytitle>glRenderMode</refentrytitle></citerefentry>.
3555 </para>
3556 </listitem>
3557 </varlistentry>
3558 <varlistentry>
3559 <term><constant>GL_RESCALE_NORMAL</constant></term>
3560 <listitem>
3561 <para>
3562 </para>
3563 <para>
3564 <parameter>params</parameter> returns single boolean value
3565 indicating whether normal rescaling is enabled.
3566 See <citerefentry><refentrytitle>glEnable</refentrytitle></citerefentry>.
3567 </para>
3568 </listitem>
3569 </varlistentry>
3570 <varlistentry>
3571 <term><constant>GL_RGBA_MODE</constant></term>
3572 <listitem>
3573 <para>
3574 </para>
3575 <para>
3576 <parameter>params</parameter> returns a single boolean value indicating whether the GL is in RGBA
3577 mode (true) or color index mode (false).
3578 See <citerefentry><refentrytitle>glColor</refentrytitle></citerefentry>.
3579 </para>
3580 </listitem>
3581 </varlistentry>
3582 <varlistentry>
3583 <term><constant>GL_SAMPLE_BUFFERS</constant></term>
3584 <listitem>
3585 <para>
3586 </para>
3587 <para>
3588 <parameter>params</parameter> returns a single integer value indicating the number of sample buffers
3589 associated with the framebuffer.
3590 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
3591 </para>
3592 </listitem>
3593 </varlistentry>
3594 <varlistentry>
3595 <term><constant>GL_SAMPLE_COVERAGE_VALUE</constant></term>
3596 <listitem>
3597 <para>
3598 </para>
3599 <para>
3600 <parameter>params</parameter> returns a single positive floating-point value indicating the
3601 current sample coverage value.
3602 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
3603 </para>
3604 </listitem>
3605 </varlistentry>
3606 <varlistentry>
3607 <term><constant>GL_SAMPLE_COVERAGE_INVERT</constant></term>
3608 <listitem>
3609 <para>
3610 </para>
3611 <para>
3612 <parameter>params</parameter> returns a single boolean value indicating if the temporary
3613 coverage value should be inverted.
3614 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
3615 </para>
3616 </listitem>
3617 </varlistentry>
3618 <varlistentry>
3619 <term><constant>GL_SAMPLES</constant></term>
3620 <listitem>
3621 <para>
3622 </para>
3623 <para>
3624 <parameter>params</parameter> returns a single integer value indicating the coverage mask size.
3625 See <citerefentry><refentrytitle>glSampleCoverage</refentrytitle></citerefentry>.
3626 </para>
3627 </listitem>
3628 </varlistentry>
3629 <varlistentry>
3630 <term><constant>GL_SCISSOR_BOX</constant></term>
3631 <listitem>
3632 <para>
3633 </para>
3634 <para>
3635 <parameter>params</parameter> returns four values:
3636 the
3637 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
3638 and
3639 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
3640 window coordinates of the scissor box,
3641 followed by its width and height.
3642 Initially the
3643 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
3644 and
3645 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
3646 window coordinates are both 0 and the
3647 width and height are set to the size of the window.
3648 See <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>.
3649 </para>
3650 </listitem>
3651 </varlistentry>
3652 <varlistentry>
3653 <term><constant>GL_SCISSOR_TEST</constant></term>
3654 <listitem>
3655 <para>
3656 </para>
3657 <para>
3658 <parameter>params</parameter> returns a single boolean value indicating whether scissoring is
3659 enabled. The initial value is <constant>GL_FALSE</constant>.
3660 See <citerefentry><refentrytitle>glScissor</refentrytitle></citerefentry>.
3661 </para>
3662 </listitem>
3663 </varlistentry>
3664 <varlistentry>
3665 <term><constant>GL_SECONDARY_COLOR_ARRAY</constant></term>
3666 <listitem>
3667 <para>
3668 </para>
3669 <para>
3670 <parameter>params</parameter> returns a single boolean value indicating whether the secondary color array is enabled. The initial value is <constant>GL_FALSE</constant>.
3671 See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
3672 </para>
3673 </listitem>
3674 </varlistentry>
3675 <varlistentry>
3676 <term><constant>GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING</constant></term>
3677 <listitem>
3678 <para>
3679 </para>
3680 <para>
3681 <parameter>params</parameter> returns a single value, the name of the buffer object
3682 associated with the secondary color array. This buffer object would have been bound to the
3683 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
3684 <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
3685 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
3686 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
3687 </para>
3688 </listitem>
3689 </varlistentry>
3690 <varlistentry>
3691 <term><constant>GL_SECONDARY_COLOR_ARRAY_SIZE</constant></term>
3692 <listitem>
3693 <para>
3694 </para>
3695 <para>
3696 <parameter>params</parameter> returns one value, the number of components per color in the
3697 secondary color array. The initial value is 3.
3698 See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
3699 </para>
3700 </listitem>
3701 </varlistentry>
3702 <varlistentry>
3703 <term><constant>GL_SECONDARY_COLOR_ARRAY_STRIDE</constant></term>
3704 <listitem>
3705 <para>
3706 </para>
3707 <para>
3708 <parameter>params</parameter> returns one value, the byte offset between consecutive colors in
3709 the secondary color array. The initial value is 0.
3710 See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
3711 </para>
3712 </listitem>
3713 </varlistentry>
3714 <varlistentry>
3715 <term><constant>GL_SECONDARY_COLOR_ARRAY_TYPE</constant></term>
3716 <listitem>
3717 <para>
3718 </para>
3719 <para>
3720 <parameter>params</parameter> returns one value, the data type of each component in the secondary
3721 color array. The initial value is <constant>GL_FLOAT</constant>.
3722 See <citerefentry><refentrytitle>glSecondaryColorPointer</refentrytitle></citerefentry>.
3723 </para>
3724 </listitem>
3725 </varlistentry>
3726 <varlistentry>
3727 <term><constant>GL_SELECTION_BUFFER_SIZE</constant></term>
3728 <listitem>
3729 <para>
3730 </para>
3731 <para>
3732 <parameter>params</parameter> return one value,
3733 the size of the selection buffer.
3734 See <citerefentry><refentrytitle>glSelectBuffer</refentrytitle></citerefentry>.
3735 </para>
3736 </listitem>
3737 </varlistentry>
3738 <varlistentry>
3739 <term><constant>GL_SEPARABLE_2D</constant></term>
3740 <listitem>
3741 <para>
3742 </para>
3743 <para>
3744 <parameter>params</parameter> returns a single boolean value indicating whether 2D separable
3745 convolution is enabled. The initial value is <constant>GL_FALSE</constant>.
3746 See <citerefentry><refentrytitle>glSeparableFilter2D</refentrytitle></citerefentry>.
3747 </para>
3748 </listitem>
3749 </varlistentry>
3750 <varlistentry>
3751 <term><constant>GL_SHADE_MODEL</constant></term>
3752 <listitem>
3753 <para>
3754 </para>
3755 <para>
3756 <parameter>params</parameter> returns one value,
3757 a symbolic constant indicating whether the shading mode is flat or
3758 smooth. The initial value is <constant>GL_SMOOTH</constant>.
3759 See <citerefentry><refentrytitle>glShadeModel</refentrytitle></citerefentry>.
3760 </para>
3761 </listitem>
3762 </varlistentry>
3763 <varlistentry>
3764 <term><constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant></term>
3765 <listitem>
3766 <para>
3767 </para>
3768 <para>
3769 <parameter>params</parameter> returns two values,
3770 the smallest and largest supported widths for antialiased lines.
3771 See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
3772 </para>
3773 </listitem>
3774 </varlistentry>
3775 <varlistentry>
3776 <term><constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant></term>
3777 <listitem>
3778 <para>
3779 </para>
3780 <para>
3781 <parameter>params</parameter> returns one value,
3782 the granularity of widths for antialiased lines.
3783 See <citerefentry><refentrytitle>glLineWidth</refentrytitle></citerefentry>.
3784 </para>
3785 </listitem>
3786 </varlistentry>
3787 <varlistentry>
3788 <term><constant>GL_SMOOTH_POINT_SIZE_RANGE</constant></term>
3789 <listitem>
3790 <para>
3791 </para>
3792 <para>
3793 <parameter>params</parameter> returns two values,
3794 the smallest and largest supported widths for antialiased points.
3795 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
3796 </para>
3797 </listitem>
3798 </varlistentry>
3799 <varlistentry>
3800 <term><constant>GL_SMOOTH_POINT_SIZE_GRANULARITY</constant></term>
3801 <listitem>
3802 <para>
3803 </para>
3804 <para>
3805 <parameter>params</parameter> returns one value,
3806 the granularity of sizes for antialiased points.
3807 See <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
3808 </para>
3809 </listitem>
3810 </varlistentry>
3811 <varlistentry>
3812 <term><constant>GL_STENCIL_BACK_FAIL</constant></term>
3813 <listitem>
3814 <para>
3815 </para>
3816 <para>
3817 <parameter>params</parameter> returns one value,
3818 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
3819 test fails. The initial value is <constant>GL_KEEP</constant>.
3820 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
3821 </para>
3822 </listitem>
3823 </varlistentry>
3824 <varlistentry>
3825 <term><constant>GL_STENCIL_BACK_FUNC</constant></term>
3826 <listitem>
3827 <para>
3828 </para>
3829 <para>
3830 <parameter>params</parameter> returns one value,
3831 a symbolic constant indicating what function is used for back-facing polygons to compare the
3832 stencil reference value with the stencil buffer value. The initial value
3833 is <constant>GL_ALWAYS</constant>.
3834 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
3835 </para>
3836 </listitem>
3837 </varlistentry>
3838 <varlistentry>
3839 <term><constant>GL_STENCIL_BACK_PASS_DEPTH_FAIL</constant></term>
3840 <listitem>
3841 <para>
3842 </para>
3843 <para>
3844 <parameter>params</parameter> returns one value,
3845 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
3846 test passes,
3847 but the depth test fails. The initial value is <constant>GL_KEEP</constant>.
3848 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
3849 </para>
3850 </listitem>
3851 </varlistentry>
3852 <varlistentry>
3853 <term><constant>GL_STENCIL_BACK_PASS_DEPTH_PASS</constant></term>
3854 <listitem>
3855 <para>
3856 </para>
3857 <para>
3858 <parameter>params</parameter> returns one value,
3859 a symbolic constant indicating what action is taken for back-facing polygons when the stencil
3860 test passes and the depth test passes. The initial value is <constant>GL_KEEP</constant>.
3861 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
3862 </para>
3863 </listitem>
3864 </varlistentry>
3865 <varlistentry>
3866 <term><constant>GL_STENCIL_BACK_REF</constant></term>
3867 <listitem>
3868 <para>
3869 </para>
3870 <para>
3871 <parameter>params</parameter> returns one value,
3872 the reference value that is compared with the contents of the stencil
3873 buffer for back-facing polygons. The initial value is 0.
3874 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
3875 </para>
3876 </listitem>
3877 </varlistentry>
3878 <varlistentry>
3879 <term><constant>GL_STENCIL_BACK_VALUE_MASK</constant></term>
3880 <listitem>
3881 <para>
3882 </para>
3883 <para>
3884 <parameter>params</parameter> returns one value,
3885 the mask that is used for back-facing polygons to mask both the stencil reference value and the
3886 stencil buffer value before they are compared. The initial value is all 1's.
3887 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
3888 </para>
3889 </listitem>
3890 </varlistentry>
3891 <varlistentry>
3892 <term><constant>GL_STENCIL_BACK_WRITEMASK</constant></term>
3893 <listitem>
3894 <para>
3895 </para>
3896 <para>
3897 <parameter>params</parameter> returns one value,
3898 the mask that controls writing of the stencil bitplanes for back-facing polygons. The initial value
3899 is all 1's.
3900 See <citerefentry><refentrytitle>glStencilMaskSeparate</refentrytitle></citerefentry>.
3901 </para>
3902 </listitem>
3903 </varlistentry>
3904 <varlistentry>
3905 <term><constant>GL_STENCIL_BITS</constant></term>
3906 <listitem>
3907 <para>
3908 </para>
3909 <para>
3910 <parameter>params</parameter> returns one value,
3911 the number of bitplanes in the stencil buffer.
3912 </para>
3913 </listitem>
3914 </varlistentry>
3915 <varlistentry>
3916 <term><constant>GL_STENCIL_CLEAR_VALUE</constant></term>
3917 <listitem>
3918 <para>
3919 </para>
3920 <para>
3921 <parameter>params</parameter> returns one value,
3922 the index to which the stencil bitplanes are cleared. The initial value is
3923 0.
3924 See <citerefentry><refentrytitle>glClearStencil</refentrytitle></citerefentry>.
3925 </para>
3926 </listitem>
3927 </varlistentry>
3928 <varlistentry>
3929 <term><constant>GL_STENCIL_FAIL</constant></term>
3930 <listitem>
3931 <para>
3932 </para>
3933 <para>
3934 <parameter>params</parameter> returns one value,
3935 a symbolic constant indicating what action is taken when the stencil
3936 test fails. The initial value is <constant>GL_KEEP</constant>.
3937 See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
3938 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
3939 and front-facing polygons. Back-facing polygons use separate stencil state.
3940 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
3941 </para>
3942 </listitem>
3943 </varlistentry>
3944 <varlistentry>
3945 <term><constant>GL_STENCIL_FUNC</constant></term>
3946 <listitem>
3947 <para>
3948 </para>
3949 <para>
3950 <parameter>params</parameter> returns one value,
3951 a symbolic constant indicating what function is used to compare the
3952 stencil reference value with the stencil buffer value. The initial value
3953 is <constant>GL_ALWAYS</constant>.
3954 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
3955 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
3956 and front-facing polygons. Back-facing polygons use separate stencil state.
3957 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
3958 </para>
3959 </listitem>
3960 </varlistentry>
3961 <varlistentry>
3962 <term><constant>GL_STENCIL_PASS_DEPTH_FAIL</constant></term>
3963 <listitem>
3964 <para>
3965 </para>
3966 <para>
3967 <parameter>params</parameter> returns one value,
3968 a symbolic constant indicating what action is taken when the stencil
3969 test passes,
3970 but the depth test fails. The initial value is <constant>GL_KEEP</constant>.
3971 See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
3972 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
3973 and front-facing polygons. Back-facing polygons use separate stencil state.
3974 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
3975 </para>
3976 </listitem>
3977 </varlistentry>
3978 <varlistentry>
3979 <term><constant>GL_STENCIL_PASS_DEPTH_PASS</constant></term>
3980 <listitem>
3981 <para>
3982 </para>
3983 <para>
3984 <parameter>params</parameter> returns one value,
3985 a symbolic constant indicating what action is taken when the stencil
3986 test passes and the depth test passes. The initial value is <constant>GL_KEEP</constant>.
3987 See <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
3988 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
3989 and front-facing polygons. Back-facing polygons use separate stencil state.
3990 See <citerefentry><refentrytitle>glStencilOpSeparate</refentrytitle></citerefentry>.
3991 </para>
3992 </listitem>
3993 </varlistentry>
3994 <varlistentry>
3995 <term><constant>GL_STENCIL_REF</constant></term>
3996 <listitem>
3997 <para>
3998 </para>
3999 <para>
4000 <parameter>params</parameter> returns one value,
4001 the reference value that is compared with the contents of the stencil
4002 buffer. The initial value is 0.
4003 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
4004 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
4005 and front-facing polygons. Back-facing polygons use separate stencil state.
4006 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
4007 </para>
4008 </listitem>
4009 </varlistentry>
4010 <varlistentry>
4011 <term><constant>GL_STENCIL_TEST</constant></term>
4012 <listitem>
4013 <para>
4014 </para>
4015 <para>
4016 <parameter>params</parameter> returns a single boolean value indicating whether stencil testing
4017 of fragments is enabled. The initial value is <constant>GL_FALSE</constant>.
4018 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry> and <citerefentry><refentrytitle>glStencilOp</refentrytitle></citerefentry>.
4019 </para>
4020 </listitem>
4021 </varlistentry>
4022 <varlistentry>
4023 <term><constant>GL_STENCIL_VALUE_MASK</constant></term>
4024 <listitem>
4025 <para>
4026 </para>
4027 <para>
4028 <parameter>params</parameter> returns one value,
4029 the mask that is used to mask both the stencil reference value and the
4030 stencil buffer value before they are compared. The initial value is all 1's.
4031 See <citerefentry><refentrytitle>glStencilFunc</refentrytitle></citerefentry>.
4032 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
4033 and front-facing polygons. Back-facing polygons use separate stencil state.
4034 See <citerefentry><refentrytitle>glStencilFuncSeparate</refentrytitle></citerefentry>.
4035 </para>
4036 </listitem>
4037 </varlistentry>
4038 <varlistentry>
4039 <term><constant>GL_STENCIL_WRITEMASK</constant></term>
4040 <listitem>
4041 <para>
4042 </para>
4043 <para>
4044 <parameter>params</parameter> returns one value,
4045 the mask that controls writing of the stencil bitplanes. The initial value
4046 is all 1's.
4047 See <citerefentry><refentrytitle>glStencilMask</refentrytitle></citerefentry>.
4048 If the GL version is 2.0 or greater, this stencil state only affects non-polygons
4049 and front-facing polygons. Back-facing polygons use separate stencil state.
4050 See <citerefentry><refentrytitle>glStencilMaskSeparate</refentrytitle></citerefentry>.
4051 </para>
4052 </listitem>
4053 </varlistentry>
4054 <varlistentry>
4055 <term><constant>GL_STEREO</constant></term>
4056 <listitem>
4057 <para>
4058 </para>
4059 <para>
4060 <parameter>params</parameter> returns a single boolean value indicating whether stereo buffers
4061 (left and right) are supported.
4062 </para>
4063 </listitem>
4064 </varlistentry>
4065 <varlistentry>
4066 <term><constant>GL_SUBPIXEL_BITS</constant></term>
4067 <listitem>
4068 <para>
4069 </para>
4070 <para>
4071 <parameter>params</parameter> returns one value,
4072 an estimate of the number of bits of subpixel resolution that are used to
4073 position rasterized geometry in window coordinates. The value must be at least 4.
4074 </para>
4075 </listitem>
4076 </varlistentry>
4077 <varlistentry>
4078 <term><constant>GL_TEXTURE_1D</constant></term>
4079 <listitem>
4080 <para>
4081 </para>
4082 <para>
4083 <parameter>params</parameter> returns a single boolean value indicating whether 1D texture
4084 mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
4085 See <citerefentry><refentrytitle>glTexImage1D</refentrytitle></citerefentry>.
4086 </para>
4087 </listitem>
4088 </varlistentry>
4089 <varlistentry>
4090 <term><constant>GL_TEXTURE_BINDING_1D</constant></term>
4091 <listitem>
4092 <para>
4093 </para>
4094 <para>
4095 <parameter>params</parameter> returns a single value, the name of the texture
4096 currently bound to the target <constant>GL_TEXTURE_1D</constant>. The initial value is 0.
4097 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
4098 </para>
4099 </listitem>
4100 </varlistentry>
4101 <varlistentry>
4102 <term><constant>GL_TEXTURE_2D</constant></term>
4103 <listitem>
4104 <para>
4105 </para>
4106 <para>
4107 <parameter>params</parameter> returns a single boolean value indicating whether 2D texture
4108 mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
4109 See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
4110 </para>
4111 </listitem>
4112 </varlistentry>
4113 <varlistentry>
4114 <term><constant>GL_TEXTURE_BINDING_2D</constant></term>
4115 <listitem>
4116 <para>
4117 </para>
4118 <para>
4119 <parameter>params</parameter> returns a single value, the name of the texture
4120 currently bound to the target <constant>GL_TEXTURE_2D</constant>. The initial value is 0.
4121 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
4122 </para>
4123 </listitem>
4124 </varlistentry>
4125 <varlistentry>
4126 <term><constant>GL_TEXTURE_3D</constant></term>
4127 <listitem>
4128 <para>
4129 </para>
4130 <para>
4131 <parameter>params</parameter> returns a single boolean value indicating whether 3D texture
4132 mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
4133 See <citerefentry><refentrytitle>glTexImage3D</refentrytitle></citerefentry>.
4134 </para>
4135 </listitem>
4136 </varlistentry>
4137 <varlistentry>
4138 <term><constant>GL_TEXTURE_BINDING_3D</constant></term>
4139 <listitem>
4140 <para>
4141 </para>
4142 <para>
4143 <parameter>params</parameter> returns a single value, the name of the texture
4144 currently bound to the target <constant>GL_TEXTURE_3D</constant>. The initial value is 0.
4145 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
4146 </para>
4147 </listitem>
4148 </varlistentry>
4149 <varlistentry>
4150 <term><constant>GL_TEXTURE_BINDING_CUBE_MAP</constant></term>
4151 <listitem>
4152 <para>
4153 </para>
4154 <para>
4155 <parameter>params</parameter> returns a single value, the name of the texture
4156 currently bound to the target <constant>GL_TEXTURE_CUBE_MAP</constant>. The initial value is 0.
4157 See <citerefentry><refentrytitle>glBindTexture</refentrytitle></citerefentry>.
4158 </para>
4159 </listitem>
4160 </varlistentry>
4161 <varlistentry>
4162 <term><constant>GL_TEXTURE_COMPRESSION_HINT</constant></term>
4163 <listitem>
4164 <para>
4165 </para>
4166 <para>
4167 <parameter>params</parameter> returns a single value indicating the mode of the texture
4168 compression hint. The initial value is <constant>GL_DONT_CARE</constant>.
4169 </para>
4170 </listitem>
4171 </varlistentry>
4172 <varlistentry>
4173 <term><constant>GL_TEXTURE_COORD_ARRAY</constant></term>
4174 <listitem>
4175 <para>
4176 </para>
4177 <para>
4178 <parameter>params</parameter> returns a single boolean value indicating whether the texture
4179 coordinate array is enabled. The initial value is <constant>GL_FALSE</constant>.
4180 See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
4181 </para>
4182 </listitem>
4183 </varlistentry>
4184 <varlistentry>
4185 <term><constant>GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</constant></term>
4186 <listitem>
4187 <para>
4188 </para>
4189 <para>
4190 <parameter>params</parameter> returns a single value, the name of the buffer object
4191 associated with the texture coordinate array. This buffer object would have been bound to the
4192 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
4193 <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
4194 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
4195 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
4196 </para>
4197 </listitem>
4198 </varlistentry>
4199 <varlistentry>
4200 <term><constant>GL_TEXTURE_COORD_ARRAY_SIZE</constant></term>
4201 <listitem>
4202 <para>
4203 </para>
4204 <para>
4205 <parameter>params</parameter> returns one value,
4206 the number of coordinates per element in the texture coordinate
4207 array. The initial value is 4.
4208 See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
4209 </para>
4210 </listitem>
4211 </varlistentry>
4212 <varlistentry>
4213 <term><constant>GL_TEXTURE_COORD_ARRAY_STRIDE</constant></term>
4214 <listitem>
4215 <para>
4216 </para>
4217 <para>
4218 <parameter>params</parameter> returns one value,
4219 the byte offset between consecutive elements in the texture coordinate
4220 array. The initial value is 0.
4221 See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
4222 </para>
4223 </listitem>
4224 </varlistentry>
4225 <varlistentry>
4226 <term><constant>GL_TEXTURE_COORD_ARRAY_TYPE</constant></term>
4227 <listitem>
4228 <para>
4229 </para>
4230 <para>
4231 <parameter>params</parameter> returns one value,
4232 the data type of the coordinates in the texture coordinate
4233 array. The initial value is <constant>GL_FLOAT</constant>.
4234 See <citerefentry><refentrytitle>glTexCoordPointer</refentrytitle></citerefentry>.
4235 </para>
4236 </listitem>
4237 </varlistentry>
4238 <varlistentry>
4239 <term><constant>GL_TEXTURE_CUBE_MAP</constant></term>
4240 <listitem>
4241 <para>
4242 </para>
4243 <para>
4244 <parameter>params</parameter> returns a single boolean value indicating whether cube-mapped texture
4245 mapping is enabled. The initial value is <constant>GL_FALSE</constant>.
4246 See <citerefentry><refentrytitle>glTexImage2D</refentrytitle></citerefentry>.
4247 </para>
4248 </listitem>
4249 </varlistentry>
4250 <varlistentry>
4251 <term><constant>GL_TEXTURE_GEN_Q</constant></term>
4252 <listitem>
4253 <para>
4254 </para>
4255 <para>
4256 <parameter>params</parameter> returns a single boolean value indicating whether automatic generation
4257 of the <emphasis>q</emphasis> texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
4258 See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
4259 </para>
4260 </listitem>
4261 </varlistentry>
4262 <varlistentry>
4263 <term><constant>GL_TEXTURE_GEN_R</constant></term>
4264 <listitem>
4265 <para>
4266 </para>
4267 <para>
4268 <parameter>params</parameter> returns a single boolean value indicating whether automatic generation
4269 of the <emphasis>r</emphasis> texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
4270 See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
4271 </para>
4272 </listitem>
4273 </varlistentry>
4274 <varlistentry>
4275 <term><constant>GL_TEXTURE_GEN_S</constant></term>
4276 <listitem>
4277 <para>
4278 </para>
4279 <para>
4280 <parameter>params</parameter> returns a single boolean value indicating whether automatic generation
4281 of the <emphasis>S</emphasis> texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
4282 See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
4283 </para>
4284 </listitem>
4285 </varlistentry>
4286 <varlistentry>
4287 <term><constant>GL_TEXTURE_GEN_T</constant></term>
4288 <listitem>
4289 <para>
4290 </para>
4291 <para>
4292 <parameter>params</parameter> returns a single boolean value indicating whether automatic generation
4293 of the T texture coordinate is enabled. The initial value is <constant>GL_FALSE</constant>.
4294 See <citerefentry><refentrytitle>glTexGen</refentrytitle></citerefentry>.
4295 </para>
4296 </listitem>
4297 </varlistentry>
4298 <varlistentry>
4299 <term><constant>GL_TEXTURE_MATRIX</constant></term>
4300 <listitem>
4301 <para>
4302 </para>
4303 <para>
4304 <parameter>params</parameter> returns sixteen values:
4305 the texture matrix on the top of the texture matrix stack. Initially this
4306 matrix is the identity matrix.
4307 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
4308 </para>
4309 </listitem>
4310 </varlistentry>
4311 <varlistentry>
4312 <term><constant>GL_TEXTURE_STACK_DEPTH</constant></term>
4313 <listitem>
4314 <para>
4315 </para>
4316 <para>
4317 <parameter>params</parameter> returns one value,
4318 the number of matrices on the texture matrix stack.
4319 The initial value is 1.
4320 See <citerefentry><refentrytitle>glPushMatrix</refentrytitle></citerefentry>.
4321 </para>
4322 </listitem>
4323 </varlistentry>
4324 <varlistentry>
4325 <term><constant>GL_TRANSPOSE_COLOR_MATRIX</constant></term>
4326 <listitem>
4327 <para>
4328 </para>
4329 <para>
4330 <parameter>params</parameter> returns 16 values, the elements of the color matrix in row-major
4331 order.
4332 See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
4333 </para>
4334 </listitem>
4335 </varlistentry>
4336 <varlistentry>
4337 <term><constant>GL_TRANSPOSE_MODELVIEW_MATRIX</constant></term>
4338 <listitem>
4339 <para>
4340 </para>
4341 <para>
4342 <parameter>params</parameter> returns 16 values, the elements of the modelview matrix in row-major
4343 order.
4344 See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
4345 </para>
4346 </listitem>
4347 </varlistentry>
4348 <varlistentry>
4349 <term><constant>GL_TRANSPOSE_PROJECTION_MATRIX</constant></term>
4350 <listitem>
4351 <para>
4352 </para>
4353 <para>
4354 <parameter>params</parameter> returns 16 values, the elements of the projection matrix in row-major
4355 order.
4356 See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
4357 </para>
4358 </listitem>
4359 </varlistentry>
4360 <varlistentry>
4361 <term><constant>GL_TRANSPOSE_TEXTURE_MATRIX</constant></term>
4362 <listitem>
4363 <para>
4364 </para>
4365 <para>
4366 <parameter>params</parameter> returns 16 values, the elements of the texture matrix in row-major
4367 order.
4368 See <citerefentry><refentrytitle>glLoadTransposeMatrix</refentrytitle></citerefentry>.
4369 </para>
4370 </listitem>
4371 </varlistentry>
4372 <varlistentry>
4373 <term><constant>GL_UNPACK_ALIGNMENT</constant></term>
4374 <listitem>
4375 <para>
4376 </para>
4377 <para>
4378 <parameter>params</parameter> returns one value,
4379 the byte alignment used for reading pixel data from memory. The initial
4380 value is 4.
4381 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4382 </para>
4383 </listitem>
4384 </varlistentry>
4385 <varlistentry>
4386 <term><constant>GL_UNPACK_IMAGE_HEIGHT</constant></term>
4387 <listitem>
4388 <para>
4389 </para>
4390 <para>
4391 <parameter>params</parameter> returns one value,
4392 the image height used for reading pixel data from memory. The initial
4393 is 0.
4394 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4395 </para>
4396 </listitem>
4397 </varlistentry>
4398 <varlistentry>
4399 <term><constant>GL_UNPACK_LSB_FIRST</constant></term>
4400 <listitem>
4401 <para>
4402 </para>
4403 <para>
4404 <parameter>params</parameter> returns a single boolean value indicating whether single-bit
4405 pixels being read from memory are read first from the least significant
4406 bit of each unsigned byte. The initial value is <constant>GL_FALSE</constant>.
4407 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4408 </para>
4409 </listitem>
4410 </varlistentry>
4411 <varlistentry>
4412 <term><constant>GL_UNPACK_ROW_LENGTH</constant></term>
4413 <listitem>
4414 <para>
4415 </para>
4416 <para>
4417 <parameter>params</parameter> returns one value,
4418 the row length used for reading pixel data from memory. The initial value
4419 is 0.
4420 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4421 </para>
4422 </listitem>
4423 </varlistentry>
4424 <varlistentry>
4425 <term><constant>GL_UNPACK_SKIP_IMAGES</constant></term>
4426 <listitem>
4427 <para>
4428 </para>
4429 <para>
4430 <parameter>params</parameter> returns one value,
4431 the number of pixel images skipped before the first pixel is read
4432 from memory. The initial value is 0.
4433 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4434 </para>
4435 </listitem>
4436 </varlistentry>
4437 <varlistentry>
4438 <term><constant>GL_UNPACK_SKIP_PIXELS</constant></term>
4439 <listitem>
4440 <para>
4441 </para>
4442 <para>
4443 <parameter>params</parameter> returns one value,
4444 the number of pixel locations skipped before the first pixel is read
4445 from memory. The initial value is 0.
4446 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4447 </para>
4448 </listitem>
4449 </varlistentry>
4450 <varlistentry>
4451 <term><constant>GL_UNPACK_SKIP_ROWS</constant></term>
4452 <listitem>
4453 <para>
4454 </para>
4455 <para>
4456 <parameter>params</parameter> returns one value,
4457 the number of rows of pixel locations skipped before the first pixel is read
4458 from memory. The initial value is 0.
4459 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4460 </para>
4461 </listitem>
4462 </varlistentry>
4463 <varlistentry>
4464 <term><constant>GL_UNPACK_SWAP_BYTES</constant></term>
4465 <listitem>
4466 <para>
4467 </para>
4468 <para>
4469 <parameter>params</parameter> returns a single boolean value indicating whether the bytes of
4470 two-byte and four-byte pixel indices and components are swapped after being
4471 read from memory. The initial value is <constant>GL_FALSE</constant>.
4472 See <citerefentry><refentrytitle>glPixelStore</refentrytitle></citerefentry>.
4473 </para>
4474 </listitem>
4475 </varlistentry>
4476 <varlistentry>
4477 <term><constant>GL_VERTEX_ARRAY</constant></term>
4478 <listitem>
4479 <para>
4480 </para>
4481 <para>
4482 <parameter>params</parameter> returns a single boolean value indicating whether the vertex
4483 array is enabled. The initial value is <constant>GL_FALSE</constant>.
4484 See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
4485 </para>
4486 </listitem>
4487 </varlistentry>
4488 <varlistentry>
4489 <term><constant>GL_VERTEX_ARRAY_BUFFER_BINDING</constant></term>
4490 <listitem>
4491 <para>
4492 </para>
4493 <para>
4494 <parameter>params</parameter> returns a single value, the name of the buffer object
4495 associated with the vertex array. This buffer object would have been bound to the
4496 target <constant>GL_ARRAY_BUFFER</constant> at the time of the most recent call to
4497 <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
4498 If no buffer object was bound to this target, 0 is returned. The initial value is 0.
4499 See <citerefentry><refentrytitle>glBindBuffer</refentrytitle></citerefentry>.
4500 </para>
4501 </listitem>
4502 </varlistentry>
4503 <varlistentry>
4504 <term><constant>GL_VERTEX_ARRAY_SIZE</constant></term>
4505 <listitem>
4506 <para>
4507 </para>
4508 <para>
4509 <parameter>params</parameter> returns one value,
4510 the number of coordinates per vertex in the vertex array. The initial
4511 value is 4.
4512 See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
4513 </para>
4514 </listitem>
4515 </varlistentry>
4516 <varlistentry>
4517 <term><constant>GL_VERTEX_ARRAY_STRIDE</constant></term>
4518 <listitem>
4519 <para>
4520 </para>
4521 <para>
4522 <parameter>params</parameter> returns one value,
4523 the byte offset between consecutive vertices in the vertex
4524 array. The initial value is 0.
4525 See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
4526 </para>
4527 </listitem>
4528 </varlistentry>
4529 <varlistentry>
4530 <term><constant>GL_VERTEX_ARRAY_TYPE</constant></term>
4531 <listitem>
4532 <para>
4533 </para>
4534 <para>
4535 <parameter>params</parameter> returns one value,
4536 the data type of each coordinate in the vertex array. The initial value is
4537 <constant>GL_FLOAT</constant>.
4538 See <citerefentry><refentrytitle>glVertexPointer</refentrytitle></citerefentry>.
4539 </para>
4540 </listitem>
4541 </varlistentry>
4542 <varlistentry>
4543 <term><constant>GL_VERTEX_PROGRAM_POINT_SIZE</constant></term>
4544 <listitem>
4545 <para>
4546 </para>
4547 <para>
4548 <parameter>params</parameter> returns a single boolean value indicating whether vertex
4549 program point size mode is enabled. If enabled, and a vertex shader is active, then the
4550 point size is taken from the shader built-in <code>gl_PointSize</code>. If disabled,
4551 and a vertex shader is active, then the point size is taken from the point state as specified
4552 by <citerefentry><refentrytitle>glPointSize</refentrytitle></citerefentry>.
4553 The initial value is <constant>GL_FALSE</constant>.
4554 </para>
4555 </listitem>
4556 </varlistentry>
4557 <varlistentry>
4558 <term><constant>GL_VERTEX_PROGRAM_TWO_SIDE</constant></term>
4559 <listitem>
4560 <para>
4561 </para>
4562 <para>
4563 <parameter>params</parameter> returns a single boolean value indicating whether vertex
4564 program two-sided color mode is enabled. If enabled, and a vertex shader is active, then the
4565 GL chooses the back color output for back-facing polygons, and the front color output for
4566 non-polygons and front-facing polygons. If disabled, and a vertex shader is active, then the
4567 front color output is always selected. The initial value is <constant>GL_FALSE</constant>.
4568 </para>
4569 </listitem>
4570 </varlistentry>
4571 <varlistentry>
4572 <term><constant>GL_VIEWPORT</constant></term>
4573 <listitem>
4574 <para>
4575 </para>
4576 <para>
4577 <parameter>params</parameter> returns four values:
4578 the
4579 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
4580 and
4581 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
4582 window coordinates of the viewport,
4583 followed by its width and height.
4584 Initially the
4585 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
4586 and
4587 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
4588 window coordinates are both set to 0,
4589 and the width and height are set to the width and height of the window into
4590 which the GL will do its rendering.
4591 See <citerefentry><refentrytitle>glViewport</refentrytitle></citerefentry>.
4592 </para>
4593 </listitem>
4594 </varlistentry>
4595 <varlistentry>
4596 <term><constant>GL_ZOOM_X</constant></term>
4597 <listitem>
4598 <para>
4599 </para>
4600 <para>
4601 <parameter>params</parameter> returns one value,
4602 the
4603 <inlineequation><mml:math><mml:mi mathvariant="italic">x</mml:mi></mml:math></inlineequation>
4604 pixel zoom factor. The initial value is 1.
4605 See <citerefentry><refentrytitle>glPixelZoom</refentrytitle></citerefentry>.
4606 </para>
4607 </listitem>
4608 </varlistentry>
4609 <varlistentry>
4610 <term><constant>GL_ZOOM_Y</constant></term>
4611 <listitem>
4612 <para>
4613 </para>
4614 <para>
4615 <parameter>params</parameter> returns one value,
4616 the
4617 <inlineequation><mml:math><mml:mi mathvariant="italic">y</mml:mi></mml:math></inlineequation>
4618 pixel zoom factor. The initial value is 1.
4619 See <citerefentry><refentrytitle>glPixelZoom</refentrytitle></citerefentry>.
4620 </para>
4621 </listitem>
4622 </varlistentry>
4623 </variablelist>
4624 <para>
4625 Many of the boolean parameters can also be queried more easily using
4626 <citerefentry><refentrytitle>glIsEnabled</refentrytitle></citerefentry>.
4627 </para>
4628 </refsect1>
4629 <refsect1 id="notes"><title>Notes</title>
4630 <para>
4631 <constant>GL_COLOR_LOGIC_OP</constant>,
4632 <constant>GL_COLOR_ARRAY</constant>,
4633 <constant>GL_COLOR_ARRAY_SIZE</constant>,
4634 <constant>GL_COLOR_ARRAY_STRIDE</constant>,
4635 <constant>GL_COLOR_ARRAY_TYPE</constant>,
4636 <constant>GL_EDGE_FLAG_ARRAY</constant>,
4637 <constant>GL_EDGE_FLAG_ARRAY_STRIDE</constant>,
4638 <constant>GL_INDEX_ARRAY</constant>,
4639 <constant>GL_INDEX_ARRAY_STRIDE</constant>,
4640 <constant>GL_INDEX_ARRAY_TYPE</constant>,
4641 <constant>GL_INDEX_LOGIC_OP</constant>,
4642 <constant>GL_NORMAL_ARRAY</constant>,
4643 <constant>GL_NORMAL_ARRAY_STRIDE</constant>,
4644 <constant>GL_NORMAL_ARRAY_TYPE</constant>,
4645 <constant>GL_POLYGON_OFFSET_UNITS</constant>,
4646 <constant>GL_POLYGON_OFFSET_FACTOR</constant>,
4647 <constant>GL_POLYGON_OFFSET_FILL</constant>,
4648 <constant>GL_POLYGON_OFFSET_LINE</constant>,
4649 <constant>GL_POLYGON_OFFSET_POINT</constant>,
4650 <constant>GL_TEXTURE_COORD_ARRAY</constant>,
4651 <constant>GL_TEXTURE_COORD_ARRAY_SIZE</constant>,
4652 <constant>GL_TEXTURE_COORD_ARRAY_STRIDE</constant>,
4653 <constant>GL_TEXTURE_COORD_ARRAY_TYPE</constant>,
4654 <constant>GL_VERTEX_ARRAY</constant>,
4655 <constant>GL_VERTEX_ARRAY_SIZE</constant>,
4656 <constant>GL_VERTEX_ARRAY_STRIDE</constant>, and
4657 <constant>GL_VERTEX_ARRAY_TYPE</constant>
4658 are available only if the GL version is 1.1 or greater.
4659 </para>
4660 <para>
4661 <constant>GL_ALIASED_POINT_SIZE_RANGE</constant>,
4662 <constant>GL_FEEDBACK_BUFFER_SIZE</constant>,
4663 <constant>GL_FEEDBACK_BUFFER_TYPE</constant>,
4664 <constant>GL_LIGHT_MODEL_AMBIENT</constant>,
4665 <constant>GL_LIGHT_MODEL_COLOR_CONTROL</constant>,
4666 <constant>GL_MAX_3D_TEXTURE_SIZE</constant>,
4667 <constant>GL_MAX_ELEMENTS_INDICES</constant>,
4668 <constant>GL_MAX_ELEMENTS_VERTICES</constant>,
4669 <constant>GL_PACK_IMAGE_HEIGHT</constant>,
4670 <constant>GL_PACK_SKIP_IMAGES</constant>,
4671 <constant>GL_RESCALE_NORMAL</constant>,
4672 <constant>GL_SELECTION_BUFFER_SIZE</constant>,
4673 <constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant>,
4674 <constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant>,
4675 <constant>GL_SMOOTH_POINT_SIZE_GRANULARITY</constant>,
4676 <constant>GL_SMOOTH_POINT_SIZE_RANGE</constant>,
4677 <constant>GL_TEXTURE_3D</constant>,
4678 <constant>GL_TEXTURE_BINDING_3D</constant>,
4679 <constant>GL_UNPACK_IMAGE_HEIGHT</constant>, and
4680 <constant>GL_UNPACK_SKIP_IMAGES</constant>
4681 are available only if the GL version is 1.2 or greater.
4682 </para>
4683 <para>
4684 <constant>GL_COMPRESSED_TEXTURE_FORMATS</constant>,
4685 <constant>GL_NUM_COMPRESSED_TEXTURE_FORMATS</constant>,
4686 <constant>GL_TEXTURE_BINDING_CUBE_MAP</constant>, and
4687 <constant>GL_TEXTURE_COMPRESSION_HINT</constant>
4688 are available only if the GL version is 1.3 or greater.
4689 </para>
4690 <para>
4691 <constant>GL_BLEND_DST_ALPHA</constant>,
4692 <constant>GL_BLEND_DST_RGB</constant>,
4693 <constant>GL_BLEND_SRC_ALPHA</constant>,
4694 <constant>GL_BLEND_SRC_RGB</constant>,
4695 <constant>GL_CURRENT_FOG_COORD</constant>,
4696 <constant>GL_CURRENT_SECONDARY_COLOR</constant>,
4697 <constant>GL_FOG_COORD_ARRAY_STRIDE</constant>,
4698 <constant>GL_FOG_COORD_ARRAY_TYPE</constant>,
4699 <constant>GL_FOG_COORD_SRC</constant>,
4700 <constant>GL_MAX_TEXTURE_LOD_BIAS</constant>,
4701 <constant>GL_POINT_SIZE_MIN</constant>,
4702 <constant>GL_POINT_SIZE_MAX</constant>,
4703 <constant>GL_POINT_FADE_THRESHOLD_SIZE</constant>,
4704 <constant>GL_POINT_DISTANCE_ATTENUATION</constant>,
4705 <constant>GL_SECONDARY_COLOR_ARRAY_SIZE</constant>,
4706 <constant>GL_SECONDARY_COLOR_ARRAY_STRIDE</constant>, and
4707 <constant>GL_SECONDARY_COLOR_ARRAY_TYPE</constant>
4708 are available only if the GL version is 1.4 or greater.
4709 </para>
4710 <para>
4711 <constant>GL_ARRAY_BUFFER_BINDING</constant>,
4712 <constant>GL_COLOR_ARRAY_BUFFER_BINDING</constant>,
4713 <constant>GL_EDGE_FLAG_ARRAY_BUFFER_BINDING</constant>,
4714 <constant>GL_ELEMENT_ARRAY_BUFFER_BINDING</constant>,
4715 <constant>GL_FOG_COORD_ARRAY_BUFFER_BINDING</constant>,
4716 <constant>GL_INDEX_ARRAY_BUFFER_BINDING</constant>,
4717 <constant>GL_NORMAL_ARRAY_BUFFER_BINDING</constant>,
4718 <constant>GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING</constant>,
4719 <constant>GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</constant>, and
4720 <constant>GL_VERTEX_ARRAY_BUFFER_BINDING</constant>
4721 are available only if the GL version is 1.5 or greater.
4722 </para>
4723 <para>
4724 <constant>GL_BLEND_EQUATION_ALPHA</constant>,
4725 <constant>GL_BLEND_EQUATION_RGB</constant>,
4726 <constant>GL_DRAW_BUFFER</constant><emphasis>i</emphasis>,
4727 <constant>GL_FRAGMENT_SHADER_DERIVATIVE_HINT</constant>,
4728 <constant>GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</constant>,
4729 <constant>GL_MAX_DRAW_BUFFERS</constant>,
4730 <constant>GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</constant>,
4731 <constant>GL_MAX_TEXTURE_COORDS</constant>,
4732 <constant>GL_MAX_TEXTURE_IMAGE_UNITS</constant>,
4733 <constant>GL_MAX_VARYING_FLOATS</constant>,
4734 <constant>GL_MAX_VERTEX_ATTRIBS</constant>,
4735 <constant>GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</constant>,
4736 <constant>GL_MAX_VERTEX_UNIFORM_COMPONENTS</constant>,
4737 <constant>GL_POINT_SPRITE</constant>,
4738 <constant>GL_STENCIL_BACK_FAIL</constant>,
4739 <constant>GL_STENCIL_BACK_FUNC</constant>,
4740 <constant>GL_STENCIL_BACK_PASS_DEPTH_FAIL</constant>,
4741 <constant>GL_STENCIL_BACK_PASS_DEPTH_PASS</constant>,
4742 <constant>GL_STENCIL_BACK_REF</constant>,
4743 <constant>GL_STENCIL_BACK_VALUE_MASK</constant>,
4744 <constant>GL_STENCIL_BACK_WRITEMASK</constant>,
4745 <constant>GL_VERTEX_PROGRAM_POINT_SIZE</constant>, and
4746 <constant>GL_VERTEX_PROGRAM_TWO_SIDE</constant>
4747 are available only if the GL version is 2.0 or greater.
4748 </para>
4749 <para>
4750 <constant>GL_CURRENT_RASTER_SECONDARY_COLOR</constant>,
4751 <constant>GL_PIXEL_PACK_BUFFER_BINDING</constant> and
4752 <constant>GL_PIXEL_UNPACK_BUFFER_BINDING</constant>
4753 are available only if the GL version is 2.1 or greater.
4754 </para>
4755 <para>
4756 <constant>GL_LINE_WIDTH_GRANULARITY</constant> was deprecated in GL version 1.2. Its
4757 functionality was replaced by <constant>GL_SMOOTH_LINE_WIDTH_GRANULARITY</constant>.
4758 </para>
4759 <para>
4760 <constant>GL_LINE_WIDTH_RANGE</constant> was deprecated in GL version 1.2. Its
4761 functionality was replaced by <constant>GL_SMOOTH_LINE_WIDTH_RANGE</constant>.
4762 </para>
4763 <para>
4764 <constant>GL_POINT_SIZE_GRANULARITY</constant> was deprecated in GL version 1.2. Its
4765 functionality was replaced by <constant>GL_SMOOTH_POINT_SIZE_GRANULARITY</constant>.
4766 </para>
4767 <para>
4768 <constant>GL_POINT_SIZE_RANGE</constant> was deprecated in GL version 1.2. Its
4769 functionality was replaced by <constant>GL_SMOOTH_POINT_SIZE_RANGE</constant>.
4770 </para>
4771 <para>
4772 <constant>GL_BLEND_EQUATION</constant> was deprecated in GL version 2.0. Its
4773 functionality was replaced by <constant>GL_BLEND_EQUATION_RGB</constant> and
4774 <constant>GL_BLEND_EQUATION_ALPHA</constant>.
4775 </para>
4776 <para>
4777 <constant>GL_COLOR_MATRIX</constant>,
4778 <constant>GL_COLOR_MATRIX_STACK_DEPTH</constant>,
4779 <constant>GL_COLOR_TABLE</constant>,
4780 <constant>GL_CONVOLUTION_1D</constant>,
4781 <constant>GL_CONVOLUTION_2D</constant>,
4782 <constant>GL_HISTOGRAM</constant>,
4783 <constant>GL_MAX_COLOR_MATRIX_STACK_DEPTH</constant>,
4784 <constant>GL_MINMAX</constant>,
4785 <constant>GL_POST_COLOR_MATRIX_COLOR_TABLE</constant>,
4786 <constant>GL_POST_COLOR_MATRIX_RED_BIAS</constant>,
4787 <constant>GL_POST_COLOR_MATRIX_GREEN_BIAS</constant>,
4788 <constant>GL_POST_COLOR_MATRIX_BLUE_BIAS</constant>,
4789 <constant>GL_POST_COLOR_MATRIX_ALPHA_BIAS</constant>,
4790 <constant>GL_POST_COLOR_MATRIX_RED_SCALE</constant>,
4791 <constant>GL_POST_COLOR_MATRIX_GREEN_SCALE</constant>,
4792 <constant>GL_POST_COLOR_MATRIX_BLUE_SCALE</constant>,
4793 <constant>GL_POST_COLOR_MATRIX_ALPHA_SCALE</constant>,
4794 <constant>GL_POST_CONVOLUTION_COLOR_TABLE</constant>,
4795 <constant>GL_POST_CONVOLUTION_RED_BIAS</constant>,
4796 <constant>GL_POST_CONVOLUTION_GREEN_BIAS</constant>,
4797 <constant>GL_POST_CONVOLUTION_BLUE_BIAS</constant>,
4798 <constant>GL_POST_CONVOLUTION_ALPHA_BIAS</constant>,
4799 <constant>GL_POST_CONVOLUTION_RED_SCALE</constant>,
4800 <constant>GL_POST_CONVOLUTION_GREEN_SCALE</constant>,
4801 <constant>GL_POST_CONVOLUTION_BLUE_SCALE</constant>,
4802 <constant>GL_POST_CONVOLUTION_ALPHA_SCALE</constant>, and
4803 <constant>GL_SEPARABLE_2D</constant>
4804 are available only if <code>ARB_imaging</code> is returned from <function>glGet</function>
4805 when called with the argument <constant>GL_EXTENSIONS</constant>.
4806 </para>
4807 <para>
4808 When the <code>ARB_multitexture</code> extension is supported, or the GL version
4809 is 1.3 or greater, the following
4810 parameters return the associated value for the active texture unit:
4811 <constant>GL_CURRENT_RASTER_TEXTURE_COORDS</constant>,
4812 <constant>GL_TEXTURE_1D</constant>, <constant>GL_TEXTURE_BINDING_1D</constant>,
4813 <constant>GL_TEXTURE_2D</constant>, <constant>GL_TEXTURE_BINDING_2D</constant>,
4814 <constant>GL_TEXTURE_3D</constant>, <constant>GL_TEXTURE_BINDING_3D</constant>,
4815 <constant>GL_TEXTURE_GEN_S</constant>,
4816 <constant>GL_TEXTURE_GEN_T</constant>,
4817 <constant>GL_TEXTURE_GEN_R</constant>,
4818 <constant>GL_TEXTURE_GEN_Q</constant>,
4819 <constant>GL_TEXTURE_MATRIX</constant>, and
4820 <constant>GL_TEXTURE_STACK_DEPTH</constant>.
4821 Likewise, the following parameters return the associated value for the
4822 active client texture unit:
4823 <constant>GL_TEXTURE_COORD_ARRAY</constant>,
4824 <constant>GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</constant>,
4825 <constant>GL_TEXTURE_COORD_ARRAY_SIZE</constant>,
4826 <constant>GL_TEXTURE_COORD_ARRAY_STRIDE</constant>,
4827 <constant>GL_TEXTURE_COORD_ARRAY_TYPE</constant>.
4828 </para>
4829 </refsect1>
4830 <refsect1 id="errors"><title>Errors</title>
4831 <para>
4832 <constant>GL_INVALID_ENUM</constant> is generated if <parameter>pname</parameter> is not an accepted value.
4833 </para>
4834 <para>
4835 <constant>GL_INVALID_OPERATION</constant> is generated if <function>glGet</function>
4836 is executed between the execution of <citerefentry><refentrytitle>glBegin</refentrytitle></citerefentry>
4837 and the corresponding execution of <citerefentry><refentrytitle>glEnd</refentrytitle></citerefentry>.
4838 </para>
4839 <para>
4840 </para>
4841 </refsect1>
4842 <refsect1 id="seealso"><title>See Also</title>
4843 <para>
4844 <citerefentry><refentrytitle>glGetActiveAttrib</refentrytitle></citerefentry>,
4845 <citerefentry><refentrytitle>glGetActiveUniform</refentrytitle></citerefentry>,
4846 <citerefentry><refentrytitle>glGetAttachedShaders</refentrytitle></citerefentry>,
4847 <citerefentry><refentrytitle>glGetAttribLocation</refentrytitle></citerefentry>,
4848 <citerefentry><refentrytitle>glGetBufferParameteriv</refentrytitle></citerefentry>,
4849 <citerefentry><refentrytitle>glGetBufferPointerv</refentrytitle></citerefentry>,
4850 <citerefentry><refentrytitle>glGetBufferSubData</refentrytitle></citerefentry>,
4851 <citerefentry><refentrytitle>glGetClipPlane</refentrytitle></citerefentry>,
4852 <citerefentry><refentrytitle>glGetColorTable</refentrytitle></citerefentry>,
4853 <citerefentry><refentrytitle>glGetColorTableParameter</refentrytitle></citerefentry>,
4854 <citerefentry><refentrytitle>glGetCompressedTexImage</refentrytitle></citerefentry>,
4855 <citerefentry><refentrytitle>glGetConvolutionFilter</refentrytitle></citerefentry>,
4856 <citerefentry><refentrytitle>glGetConvolutionParameter</refentrytitle></citerefentry>,
4857 <citerefentry><refentrytitle>glGetError</refentrytitle></citerefentry>,
4858 <citerefentry><refentrytitle>glGetHistogram</refentrytitle></citerefentry>,
4859 <citerefentry><refentrytitle>glGetHistogramParameter</refentrytitle></citerefentry>,
4860 <citerefentry><refentrytitle>glGetLight</refentrytitle></citerefentry>,
4861 <citerefentry><refentrytitle>glGetMap</refentrytitle></citerefentry>,
4862 <citerefentry><refentrytitle>glGetMaterial</refentrytitle></citerefentry>,
4863 <citerefentry><refentrytitle>glGetMinmax</refentrytitle></citerefentry>,
4864 <citerefentry><refentrytitle>glGetMinmaxParameter</refentrytitle></citerefentry>,
4865 <citerefentry><refentrytitle>glGetPixelMap</refentrytitle></citerefentry>,
4866 <citerefentry><refentrytitle>glGetPointerv</refentrytitle></citerefentry>,
4867 <citerefentry><refentrytitle>glGetPolygonStipple</refentrytitle></citerefentry>,
4868 <citerefentry><refentrytitle>glGetProgram</refentrytitle></citerefentry>,
4869 <citerefentry><refentrytitle>glGetProgramInfoLog</refentrytitle></citerefentry>,
4870 <citerefentry><refentrytitle>glGetQueryiv</refentrytitle></citerefentry>,
4871 <citerefentry><refentrytitle>glGetQueryObject</refentrytitle></citerefentry>,
4872 <citerefentry><refentrytitle>glGetSeparableFilter</refentrytitle></citerefentry>,
4873 <citerefentry><refentrytitle>glGetShader</refentrytitle></citerefentry>,
4874 <citerefentry><refentrytitle>glGetShaderInfoLog</refentrytitle></citerefentry>,
4875 <citerefentry><refentrytitle>glGetShaderSource</refentrytitle></citerefentry>,
4876 <citerefentry><refentrytitle>glGetString</refentrytitle></citerefentry>,
4877 <citerefentry><refentrytitle>glGetTexEnv</refentrytitle></citerefentry>,
4878 <citerefentry><refentrytitle>glGetTexGen</refentrytitle></citerefentry>,
4879 <citerefentry><refentrytitle>glGetTexImage</refentrytitle></citerefentry>,
4880 <citerefentry><refentrytitle>glGetTexLevelParameter</refentrytitle></citerefentry>,
4881 <citerefentry><refentrytitle>glGetTexParameter</refentrytitle></citerefentry>,
4882 <citerefentry><refentrytitle>glGetUniform</refentrytitle></citerefentry>,
4883 <citerefentry><refentrytitle>glGetUniformLocation</refentrytitle></citerefentry>,
4884 <citerefentry><refentrytitle>glGetVertexAttrib</refentrytitle></citerefentry>,
4885 <citerefentry><refentrytitle>glGetVertexAttribPointerv</refentrytitle></citerefentry>,
4886 <citerefentry><refentrytitle>glIsEnabled</refentrytitle></citerefentry>
4887 </para>
4888 </refsect1>
4889 <refsect1 id="Copyright"><title>Copyright</title>
4890 <para>
4891 Copyright <trademark class="copyright"></trademark> 1991-2006
4892 Silicon Graphics, Inc. This document is licensed under the SGI
4893 Free Software B License. For details, see
4894 <ulink url="http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/</ulink>.
4895 </para>
4896 </refsect1>
4897 </refentry>