Commit | Line | Data |
---|---|---|
7faf1d71 AW |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"> |
2 | <!-- saved from url=(0013)about:internet --> | |
3 | <?xml-stylesheet type="text/xsl" href="mathml.xsl"?><html xmlns="http://www.w3.org/1999/xhtml" xmlns:pref="http://www.w3.org/2002/Math/preference" pref:renderer="mathplayer-dl"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>glGet</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /></head><body><div class="refentry" lang="en" xml:lang="en"><a id="glGet"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>glGet — return the value or values of a selected parameter</p></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetBooleanv</b>(</code></td><td>GLenum </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLboolean * </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetDoublev</b>(</code></td><td>GLenum </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLdouble * </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetFloatv</b>(</code></td><td>GLenum </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLfloat * </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"><tr><td><code class="funcdef">void <b class="fsfunc">glGetIntegerv</b>(</code></td><td>GLenum </td><td><var class="pdparam">pname</var>, </td></tr><tr><td> </td><td>GLint * </td><td><var class="pdparam">params</var><code>)</code>;</td></tr></table></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="parameters"></a><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>pname</code></em></span></dt><dd><p> | |
4 | Specifies the parameter value to be returned. | |
5 | The symbolic constants in the list below are accepted. | |
6 | </p></dd><dt><span class="term"><em class="parameter"><code>params</code></em></span></dt><dd><p> | |
7 | Returns the value or values of the specified parameter. | |
8 | </p></dd></dl></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p> | |
9 | These four commands return values for simple state variables in GL. | |
10 | <em class="parameter"><code>pname</code></em> is a symbolic constant indicating the state variable to be returned, | |
11 | and <em class="parameter"><code>params</code></em> is a pointer to an array of the indicated type in | |
12 | which to place the returned data. | |
13 | </p><p> | |
14 | Type conversion is performed if <em class="parameter"><code>params</code></em> has a different type than | |
15 | the state variable value being requested. | |
16 | If <code class="function">glGetBooleanv</code> is called, | |
17 | a floating-point (or integer) value is converted to <code class="constant">GL_FALSE</code> if | |
18 | and only if it is 0.0 (or 0). | |
19 | Otherwise, | |
20 | it is converted to <code class="constant">GL_TRUE</code>. | |
21 | If <code class="function">glGetIntegerv</code> is called, boolean values are returned as | |
22 | <code class="constant">GL_TRUE</code> or <code class="constant">GL_FALSE</code>, and most floating-point values are | |
23 | rounded to the nearest integer value. Floating-point colors and | |
24 | normals, however, are returned with a linear mapping that maps 1.0 to | |
25 | the most positive representable integer value | |
26 | and | |
27 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
28 | ||
29 | <mml:mn>-1.0</mml:mn> | |
30 | </mml:math> | |
31 | to the most negative representable integer value. | |
32 | If <code class="function">glGetFloatv</code> or <code class="function">glGetDoublev</code> is called, | |
33 | boolean values are returned as <code class="constant">GL_TRUE</code> or <code class="constant">GL_FALSE</code>, | |
34 | and integer values are converted to floating-point values. | |
35 | </p><p> | |
36 | The following symbolic constants are accepted by <em class="parameter"><code>pname</code></em>: | |
37 | </p><div class="variablelist"><dl><dt><span class="term"><code class="constant">GL_ACCUM_ALPHA_BITS</code></span></dt><dd><p> | |
38 | </p><p> | |
39 | <em class="parameter"><code>params</code></em> returns one value, | |
40 | the number of alpha bitplanes in the accumulation buffer. | |
41 | </p></dd><dt><span class="term"><code class="constant">GL_ACCUM_BLUE_BITS</code></span></dt><dd><p> | |
42 | </p><p> | |
43 | <em class="parameter"><code>params</code></em> returns one value, | |
44 | the number of blue bitplanes in the accumulation buffer. | |
45 | </p></dd><dt><span class="term"><code class="constant">GL_ACCUM_CLEAR_VALUE</code></span></dt><dd><p> | |
46 | </p><p> | |
47 | <em class="parameter"><code>params</code></em> returns four values: | |
48 | the red, green, blue, and alpha values used to clear the accumulation buffer. | |
49 | Integer values, | |
50 | if requested, | |
51 | are linearly mapped from the internal floating-point representation such | |
52 | that 1.0 returns the most positive representable integer value, | |
53 | and | |
54 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
55 | ||
56 | <mml:mn>-1.0</mml:mn> | |
57 | </mml:math> | |
58 | returns the most negative representable integer | |
59 | value. The initial value is (0, 0, 0, 0). | |
60 | See <a class="citerefentry" href="glClearAccum.xml"><span class="citerefentry"><span class="refentrytitle">glClearAccum</span></span></a>. | |
61 | </p></dd><dt><span class="term"><code class="constant">GL_ACCUM_GREEN_BITS</code></span></dt><dd><p> | |
62 | </p><p> | |
63 | <em class="parameter"><code>params</code></em> returns one value, | |
64 | the number of green bitplanes in the accumulation buffer. | |
65 | </p></dd><dt><span class="term"><code class="constant">GL_ACCUM_RED_BITS</code></span></dt><dd><p> | |
66 | </p><p> | |
67 | <em class="parameter"><code>params</code></em> returns one value, | |
68 | the number of red bitplanes in the accumulation buffer. | |
69 | </p></dd><dt><span class="term"><code class="constant">GL_ACTIVE_TEXTURE</code></span></dt><dd><p> | |
70 | </p><p> | |
71 | <em class="parameter"><code>params</code></em> returns a single value indicating the active multitexture unit. | |
72 | The initial value is <code class="constant">GL_TEXTURE0</code>. | |
73 | See <a class="citerefentry" href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>. | |
74 | </p></dd><dt><span class="term"><code class="constant">GL_ALIASED_POINT_SIZE_RANGE</code></span></dt><dd><p> | |
75 | </p><p> | |
76 | <em class="parameter"><code>params</code></em> returns two values, | |
77 | the smallest and largest supported sizes for aliased points. | |
78 | </p></dd><dt><span class="term"><code class="constant">GL_ALIASED_LINE_WIDTH_RANGE</code></span></dt><dd><p> | |
79 | </p><p> | |
80 | <em class="parameter"><code>params</code></em> returns two values, | |
81 | the smallest and largest supported widths for aliased lines. | |
82 | </p></dd><dt><span class="term"><code class="constant">GL_ALPHA_BIAS</code></span></dt><dd><p> | |
83 | </p><p> | |
84 | <em class="parameter"><code>params</code></em> returns one value, | |
85 | the alpha bias factor used during pixel transfers. The initial value is 0. | |
86 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
87 | </p></dd><dt><span class="term"><code class="constant">GL_ALPHA_BITS</code></span></dt><dd><p> | |
88 | </p><p> | |
89 | <em class="parameter"><code>params</code></em> returns one value, | |
90 | the number of alpha bitplanes in each color buffer. | |
91 | </p></dd><dt><span class="term"><code class="constant">GL_ALPHA_SCALE</code></span></dt><dd><p> | |
92 | </p><p> | |
93 | <em class="parameter"><code>params</code></em> returns one value, | |
94 | the alpha scale factor used | |
95 | during pixel transfers. The initial value is 1. | |
96 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
97 | </p></dd><dt><span class="term"><code class="constant">GL_ALPHA_TEST</code></span></dt><dd><p> | |
98 | </p><p> | |
99 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether alpha testing | |
100 | of fragments is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
101 | See <a class="citerefentry" href="glAlphaFunc.xml"><span class="citerefentry"><span class="refentrytitle">glAlphaFunc</span></span></a>. | |
102 | </p></dd><dt><span class="term"><code class="constant">GL_ALPHA_TEST_FUNC</code> <em class="parameter"><code>params</code></em> returns one value,</span></dt><dd><p> | |
103 | </p><p> | |
104 | the symbolic name of the alpha test function. The initial value is | |
105 | <code class="constant">GL_ALWAYS</code>. | |
106 | See <a class="citerefentry" href="glAlphaFunc.xml"><span class="citerefentry"><span class="refentrytitle">glAlphaFunc</span></span></a>. | |
107 | </p></dd><dt><span class="term"><code class="constant">GL_ALPHA_TEST_REF</code></span></dt><dd><p> | |
108 | </p><p> | |
109 | <em class="parameter"><code>params</code></em> returns one value, | |
110 | the reference value for the alpha test. The initial value is 0. | |
111 | See <a class="citerefentry" href="glAlphaFunc.xml"><span class="citerefentry"><span class="refentrytitle">glAlphaFunc</span></span></a>. | |
112 | An integer value, | |
113 | if requested, | |
114 | is linearly mapped from the internal floating-point representation such | |
115 | that 1.0 returns the most positive representable integer value, | |
116 | and | |
117 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
118 | ||
119 | <mml:mn>-1.0</mml:mn> | |
120 | </mml:math> | |
121 | returns the most negative representable integer value. | |
122 | </p></dd><dt><span class="term"><code class="constant">GL_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
123 | </p><p> | |
124 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
125 | currently bound to the target <code class="constant">GL_ARRAY_BUFFER</code>. If no buffer object | |
126 | is bound to this target, 0 is returned. The initial value is 0. | |
127 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
128 | </p></dd><dt><span class="term"><code class="constant">GL_ATTRIB_STACK_DEPTH</code></span></dt><dd><p> | |
129 | </p><p> | |
130 | <em class="parameter"><code>params</code></em> returns one value, | |
131 | the depth of the attribute stack. | |
132 | If the stack is empty, | |
133 | 0 is returned. The initial value is 0. | |
134 | See <a class="citerefentry" href="glPushAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glPushAttrib</span></span></a>. | |
135 | </p></dd><dt><span class="term"><code class="constant">GL_AUTO_NORMAL</code></span></dt><dd><p> | |
136 | </p><p> | |
137 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 2D map evaluation | |
138 | automatically generates surface normals. The initial value is <code class="constant">GL_FALSE</code>. | |
139 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
140 | </p></dd><dt><span class="term"><code class="constant">GL_AUX_BUFFERS</code></span></dt><dd><p> | |
141 | </p><p> | |
142 | <em class="parameter"><code>params</code></em> returns one value, | |
143 | the number of auxiliary color buffers available. | |
144 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND</code></span></dt><dd><p> | |
145 | </p><p> | |
146 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether blending is | |
147 | enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
148 | See <a class="citerefentry" href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a>. | |
149 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_COLOR</code></span></dt><dd><p> | |
150 | </p><p> | |
151 | <em class="parameter"><code>params</code></em> returns four values, | |
152 | the red, green, blue, and alpha values which are the components of | |
153 | the blend color. | |
154 | See <a class="citerefentry" href="glBlendColor.xml"><span class="citerefentry"><span class="refentrytitle">glBlendColor</span></span></a>. | |
155 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_DST_ALPHA</code></span></dt><dd><p> | |
156 | </p><p> | |
157 | <em class="parameter"><code>params</code></em> returns one value, | |
158 | the symbolic constant identifying the alpha destination blend | |
159 | function. The initial value is <code class="constant">GL_ZERO</code>. | |
160 | See <a class="citerefentry" href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a class="citerefentry" href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>. | |
161 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_DST_RGB</code></span></dt><dd><p> | |
162 | </p><p> | |
163 | <em class="parameter"><code>params</code></em> returns one value, | |
164 | the symbolic constant identifying the RGB destination blend | |
165 | function. The initial value is <code class="constant">GL_ZERO</code>. | |
166 | See <a class="citerefentry" href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a class="citerefentry" href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>. | |
167 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_EQUATION_RGB</code></span></dt><dd><p> | |
168 | </p><p> | |
169 | <em class="parameter"><code>params</code></em> returns one value, a symbolic constant indicating whether | |
170 | the RGB blend equation is <code class="constant">GL_FUNC_ADD</code>, <code class="constant">GL_FUNC_SUBTRACT</code>, | |
171 | <code class="constant">GL_FUNC_REVERSE_SUBTRACT</code>, <code class="constant">GL_MIN</code> or <code class="constant">GL_MAX</code>. | |
172 | See <a class="citerefentry" href="glBlendEquationSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendEquationSeparate</span></span></a>. | |
173 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_EQUATION_ALPHA</code></span></dt><dd><p> | |
174 | </p><p> | |
175 | <em class="parameter"><code>params</code></em> returns one value, a symbolic constant indicating whether | |
176 | the Alpha blend equation is <code class="constant">GL_FUNC_ADD</code>, <code class="constant">GL_FUNC_SUBTRACT</code>, | |
177 | <code class="constant">GL_FUNC_REVERSE_SUBTRACT</code>, <code class="constant">GL_MIN</code> or <code class="constant">GL_MAX</code>. | |
178 | See <a class="citerefentry" href="glBlendEquationSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendEquationSeparate</span></span></a>. | |
179 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_SRC_ALPHA</code></span></dt><dd><p> | |
180 | </p><p> | |
181 | <em class="parameter"><code>params</code></em> returns one value, | |
182 | the symbolic constant identifying the alpha source blend function. The initial | |
183 | value is <code class="constant">GL_ONE</code>. | |
184 | See <a class="citerefentry" href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a class="citerefentry" href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>. | |
185 | </p></dd><dt><span class="term"><code class="constant">GL_BLEND_SRC_RGB</code></span></dt><dd><p> | |
186 | </p><p> | |
187 | <em class="parameter"><code>params</code></em> returns one value, | |
188 | the symbolic constant identifying the RGB source blend function. The initial | |
189 | value is <code class="constant">GL_ONE</code>. | |
190 | See <a class="citerefentry" href="glBlendFunc.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFunc</span></span></a> and <a class="citerefentry" href="glBlendFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glBlendFuncSeparate</span></span></a>. | |
191 | </p></dd><dt><span class="term"><code class="constant">GL_BLUE_BIAS</code></span></dt><dd><p> | |
192 | </p><p> | |
193 | <em class="parameter"><code>params</code></em> returns one value, | |
194 | the blue bias factor used during pixel transfers. The initial value is 0. | |
195 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
196 | </p></dd><dt><span class="term"><code class="constant">GL_BLUE_BITS</code></span></dt><dd><p> | |
197 | </p><p> | |
198 | <em class="parameter"><code>params</code></em> returns one value, | |
199 | the number of blue bitplanes in each color buffer. | |
200 | </p></dd><dt><span class="term"><code class="constant">GL_BLUE_SCALE</code></span></dt><dd><p> | |
201 | </p><p> | |
202 | <em class="parameter"><code>params</code></em> returns one value, | |
203 | the blue scale factor used during pixel transfers. The initial value is 1. | |
204 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
205 | </p></dd><dt><span class="term"><code class="constant">GL_CLIENT_ACTIVE_TEXTURE</code></span></dt><dd><p> | |
206 | </p><p> | |
207 | <em class="parameter"><code>params</code></em> returns a single integer value indicating the current client active | |
208 | multitexture unit. The initial value is <code class="constant">GL_TEXTURE0</code>. | |
209 | See <a class="citerefentry" href="glClientActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glClientActiveTexture</span></span></a>. | |
210 | </p></dd><dt><span class="term"><code class="constant">GL_CLIENT_ATTRIB_STACK_DEPTH</code></span></dt><dd><p> | |
211 | </p><p> | |
212 | <em class="parameter"><code>params</code></em> returns one value indicating the depth of the | |
213 | attribute stack. The initial value is 0. | |
214 | See <a class="citerefentry" href="glPushClientAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glPushClientAttrib</span></span></a>. | |
215 | </p></dd><dt><span class="term"><code class="constant">GL_CLIP_PLANE</code><span class="emphasis"><em>i</em></span></span></dt><dd><p> | |
216 | </p><p> | |
217 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the specified | |
218 | clipping plane is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
219 | See <a class="citerefentry" href="glClipPlane.xml"><span class="citerefentry"><span class="refentrytitle">glClipPlane</span></span></a>. | |
220 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_ARRAY</code></span></dt><dd><p> | |
221 | </p><p> | |
222 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the color array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
223 | See <a class="citerefentry" href="glColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glColorPointer</span></span></a>. | |
224 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
225 | </p><p> | |
226 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
227 | associated with the color array. This buffer object would have been bound to the | |
228 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
229 | <a class="citerefentry" href="glColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glColorPointer</span></span></a>. | |
230 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
231 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
232 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_ARRAY_SIZE</code></span></dt><dd><p> | |
233 | </p><p> | |
234 | <em class="parameter"><code>params</code></em> returns one value, | |
235 | the number of components per color in the color array. The initial value | |
236 | is 4. | |
237 | See <a class="citerefentry" href="glColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glColorPointer</span></span></a>. | |
238 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_ARRAY_STRIDE</code></span></dt><dd><p> | |
239 | </p><p> | |
240 | <em class="parameter"><code>params</code></em> returns one value, | |
241 | the byte offset between consecutive colors in the color array. The initial | |
242 | value is 0. | |
243 | See <a class="citerefentry" href="glColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glColorPointer</span></span></a>. | |
244 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_ARRAY_TYPE</code></span></dt><dd><p> | |
245 | </p><p> | |
246 | <em class="parameter"><code>params</code></em> returns one value, | |
247 | the data type of each component in the color array. The initial value | |
248 | is <code class="constant">GL_FLOAT</code>. | |
249 | See <a class="citerefentry" href="glColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glColorPointer</span></span></a>. | |
250 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_CLEAR_VALUE</code></span></dt><dd><p> | |
251 | </p><p> | |
252 | <em class="parameter"><code>params</code></em> returns four values: | |
253 | the red, green, blue, and alpha values used to clear the color buffers. | |
254 | Integer values, | |
255 | if requested, | |
256 | are linearly mapped from the internal floating-point representation such | |
257 | that 1.0 returns the most positive representable integer value, | |
258 | and | |
259 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
260 | ||
261 | <mml:mn>-1.0</mml:mn> | |
262 | </mml:math> | |
263 | returns the most negative representable integer | |
264 | value. The initial value is (0, 0, 0, 0). | |
265 | See <a class="citerefentry" href="glClearColor.xml"><span class="citerefentry"><span class="refentrytitle">glClearColor</span></span></a>. | |
266 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_LOGIC_OP</code></span></dt><dd><p> | |
267 | </p><p> | |
268 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether a fragment's | |
269 | RGBA color values are merged into the framebuffer using a logical | |
270 | operation. The initial value is <code class="constant">GL_FALSE</code>. | |
271 | See <a class="citerefentry" href="glLogicOp.xml"><span class="citerefentry"><span class="refentrytitle">glLogicOp</span></span></a>. | |
272 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_MATERIAL</code></span></dt><dd><p> | |
273 | </p><p> | |
274 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether one or more | |
275 | material parameters are tracking the current color. The initial value | |
276 | is <code class="constant">GL_FALSE</code>. | |
277 | See <a class="citerefentry" href="glColorMaterial.xml"><span class="citerefentry"><span class="refentrytitle">glColorMaterial</span></span></a>. | |
278 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_MATERIAL_FACE</code></span></dt><dd><p> | |
279 | </p><p> | |
280 | <em class="parameter"><code>params</code></em> returns one value, | |
281 | a symbolic constant indicating which materials have a parameter that is | |
282 | tracking the current color. The initial value is <code class="constant">GL_FRONT_AND_BACK</code>. | |
283 | See <a class="citerefentry" href="glColorMaterial.xml"><span class="citerefentry"><span class="refentrytitle">glColorMaterial</span></span></a>. | |
284 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_MATERIAL_PARAMETER</code></span></dt><dd><p> | |
285 | </p><p> | |
286 | <em class="parameter"><code>params</code></em> returns one value, | |
287 | a symbolic constant indicating which material parameters are | |
288 | tracking the current color. The initial value is | |
289 | <code class="constant">GL_AMBIENT_AND_DIFFUSE</code>. | |
290 | See <a class="citerefentry" href="glColorMaterial.xml"><span class="citerefentry"><span class="refentrytitle">glColorMaterial</span></span></a>. | |
291 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_MATRIX</code></span></dt><dd><p> | |
292 | </p><p> | |
293 | <em class="parameter"><code>params</code></em> returns sixteen values: | |
294 | the color matrix on the top of the color matrix stack. Initially | |
295 | this matrix is the identity matrix. | |
296 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
297 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_MATRIX_STACK_DEPTH</code></span></dt><dd><p> | |
298 | </p><p> | |
299 | <em class="parameter"><code>params</code></em> returns one value, | |
300 | the maximum supported depth of the projection matrix stack. The value must | |
301 | be at least 2. | |
302 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
303 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_SUM</code></span></dt><dd><p> | |
304 | </p><p> | |
305 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether primary and | |
306 | secondary color sum is enabled. | |
307 | See <a class="citerefentry" href="glSecondaryColor.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColor</span></span></a>. | |
308 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_TABLE</code></span></dt><dd><p> | |
309 | </p><p> | |
310 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the color table | |
311 | lookup is enabled. | |
312 | See <a class="citerefentry" href="glColorTable.xml"><span class="citerefentry"><span class="refentrytitle">glColorTable</span></span></a>. | |
313 | </p></dd><dt><span class="term"><code class="constant">GL_COLOR_WRITEMASK</code></span></dt><dd><p> | |
314 | </p><p> | |
315 | <em class="parameter"><code>params</code></em> returns four boolean values: | |
316 | the red, green, blue, and alpha write enables for the color | |
317 | buffers. The initial value is (<code class="constant">GL_TRUE</code>, <code class="constant">GL_TRUE</code>, | |
318 | <code class="constant">GL_TRUE</code>, <code class="constant">GL_TRUE</code>). | |
319 | See <a class="citerefentry" href="glColorMask.xml"><span class="citerefentry"><span class="refentrytitle">glColorMask</span></span></a>. | |
320 | </p></dd><dt><span class="term"><code class="constant">GL_COMPRESSED_TEXTURE_FORMATS</code></span></dt><dd><p> | |
321 | </p><p> | |
322 | <em class="parameter"><code>params</code></em> returns a list of symbolic | |
323 | constants of length <code class="constant">GL_NUM_COMPRESSED_TEXTURE_FORMATS</code> | |
324 | indicating which compressed texture formats are available. | |
325 | See <a class="citerefentry" href="glCompressedTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage2D</span></span></a>. | |
326 | </p></dd><dt><span class="term"><code class="constant">GL_CONVOLUTION_1D</code></span></dt><dd><p> | |
327 | </p><p> | |
328 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 1D convolution | |
329 | is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
330 | See <a class="citerefentry" href="glConvolutionFilter1D.xml"><span class="citerefentry"><span class="refentrytitle">glConvolutionFilter1D</span></span></a>. | |
331 | </p></dd><dt><span class="term"><code class="constant">GL_CONVOLUTION_2D</code></span></dt><dd><p> | |
332 | </p><p> | |
333 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 2D convolution | |
334 | is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
335 | See <a class="citerefentry" href="glConvolutionFilter2D.xml"><span class="citerefentry"><span class="refentrytitle">glConvolutionFilter2D</span></span></a>. | |
336 | </p></dd><dt><span class="term"><code class="constant">GL_CULL_FACE</code></span></dt><dd><p> | |
337 | </p><p> | |
338 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon culling | |
339 | is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
340 | See <a class="citerefentry" href="glCullFace.xml"><span class="citerefentry"><span class="refentrytitle">glCullFace</span></span></a>. | |
341 | </p></dd><dt><span class="term"><code class="constant">GL_CULL_FACE_MODE</code></span></dt><dd><p> | |
342 | </p><p> | |
343 | <em class="parameter"><code>params</code></em> returns one value, | |
344 | a symbolic constant indicating which polygon faces are to be | |
345 | culled. The initial value is <code class="constant">GL_BACK</code>. | |
346 | See <a class="citerefentry" href="glCullFace.xml"><span class="citerefentry"><span class="refentrytitle">glCullFace</span></span></a>. | |
347 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_COLOR</code></span></dt><dd><p> | |
348 | </p><p> | |
349 | <em class="parameter"><code>params</code></em> returns four values: | |
350 | the red, green, blue, and alpha values of the current color. | |
351 | Integer values, | |
352 | if requested, | |
353 | are linearly mapped from the internal floating-point representation such | |
354 | that 1.0 returns the most positive representable integer value, | |
355 | and | |
356 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
357 | ||
358 | <mml:mn>-1.0</mml:mn> | |
359 | </mml:math> | |
360 | returns the most negative representable integer value. | |
361 | The initial value is (1, 1, 1, 1). | |
362 | See <a class="citerefentry" href="glColor.xml"><span class="citerefentry"><span class="refentrytitle">glColor</span></span></a>. | |
363 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_FOG_COORD</code></span></dt><dd><p> | |
364 | </p><p> | |
365 | <em class="parameter"><code>params</code></em> returns one value, the current fog coordinate. The initial value | |
366 | is 0. | |
367 | See <a class="citerefentry" href="glFogCoord.xml"><span class="citerefentry"><span class="refentrytitle">glFogCoord</span></span></a>. | |
368 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_INDEX</code></span></dt><dd><p> | |
369 | </p><p> | |
370 | <em class="parameter"><code>params</code></em> returns one value, | |
371 | the current color index. The initial value is 1. | |
372 | See <a class="citerefentry" href="glIndex.xml"><span class="citerefentry"><span class="refentrytitle">glIndex</span></span></a>. | |
373 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_NORMAL</code></span></dt><dd><p> | |
374 | </p><p> | |
375 | <em class="parameter"><code>params</code></em> returns three values: | |
376 | the <span class="emphasis"><em>x</em></span>, <span class="emphasis"><em>y</em></span>, and <span class="emphasis"><em>z</em></span> values of the current normal. | |
377 | Integer values, | |
378 | if requested, | |
379 | are linearly mapped from the internal floating-point representation such | |
380 | that 1.0 returns the most positive representable integer value, | |
381 | and | |
382 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
383 | ||
384 | <mml:mn>-1.0</mml:mn> | |
385 | </mml:math> | |
386 | returns the most negative representable integer value. | |
387 | The initial value is (0, 0, 1). | |
388 | See <a class="citerefentry" href="glNormal.xml"><span class="citerefentry"><span class="refentrytitle">glNormal</span></span></a>. | |
389 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_PROGRAM</code></span></dt><dd><p> | |
390 | </p><p> | |
391 | <em class="parameter"><code>params</code></em> returns one value, | |
392 | the name of the program object that is currently active, or 0 if no program object is active. | |
393 | See <a class="citerefentry" href="glUseProgram.xml"><span class="citerefentry"><span class="refentrytitle">glUseProgram</span></span></a>. | |
394 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_COLOR</code></span></dt><dd><p> | |
395 | </p><p> | |
396 | <em class="parameter"><code>params</code></em> returns four values: | |
397 | the red, green, blue, and alpha color values of the current raster position. | |
398 | Integer values, | |
399 | if requested, | |
400 | are linearly mapped from the internal floating-point representation such | |
401 | that 1.0 returns the most positive representable integer value, | |
402 | and | |
403 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
404 | ||
405 | <mml:mn>-1.0</mml:mn> | |
406 | </mml:math> | |
407 | returns the most negative representable integer | |
408 | value. The initial value is (1, 1, 1, 1). | |
409 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a>. | |
410 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_DISTANCE</code></span></dt><dd><p> | |
411 | </p><p> | |
412 | <em class="parameter"><code>params</code></em> returns one value, the distance from the eye to the current | |
413 | raster position. The initial value is 0. | |
414 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a>. | |
415 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_INDEX</code></span></dt><dd><p> | |
416 | </p><p> | |
417 | <em class="parameter"><code>params</code></em> returns one value, | |
418 | the color index of the current raster position. The initial value is 1. | |
419 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a>. | |
420 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_POSITION</code></span></dt><dd><p> | |
421 | </p><p> | |
422 | <em class="parameter"><code>params</code></em> returns four values: | |
423 | the <span class="emphasis"><em>x</em></span>, <span class="emphasis"><em>y</em></span>, <span class="emphasis"><em>z</em></span>, and <span class="emphasis"><em>w</em></span> components of the current | |
424 | raster position. | |
425 | <span class="emphasis"><em>x</em></span>, <span class="emphasis"><em>y</em></span>, and <span class="emphasis"><em>z</em></span> are in window coordinates, | |
426 | and <span class="emphasis"><em>w</em></span> is in clip coordinates. The initial value is (0, 0, 0, 1). | |
427 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a>. | |
428 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_POSITION_VALID</code></span></dt><dd><p> | |
429 | </p><p> | |
430 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the current | |
431 | raster position is valid. The initial value is <code class="constant">GL_TRUE</code>. | |
432 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a>. | |
433 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_SECONDARY_COLOR</code></span></dt><dd><p> | |
434 | </p><p> | |
435 | <em class="parameter"><code>params</code></em> returns four values: | |
436 | the red, green, blue, and alpha secondary color values of the current raster position. | |
437 | Integer values, | |
438 | if requested, | |
439 | are linearly mapped from the internal floating-point representation such | |
440 | that 1.0 returns the most positive representable integer value, | |
441 | and | |
442 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
443 | ||
444 | <mml:mn>-1.0</mml:mn> | |
445 | </mml:math> | |
446 | returns the most negative representable integer | |
447 | value. The initial value is (1, 1, 1, 1). | |
448 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a>. | |
449 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_RASTER_TEXTURE_COORDS</code></span></dt><dd><p> | |
450 | </p><p> | |
451 | <em class="parameter"><code>params</code></em> returns four values: the <span class="emphasis"><em>s</em></span>, <span class="emphasis"><em>t</em></span>, <span class="emphasis"><em>r</em></span>, and <span class="emphasis"><em>q</em></span> | |
452 | texture coordinates of the current raster position. The initial value is (0, 0, 0, 1). | |
453 | See <a class="citerefentry" href="glRasterPos.xml"><span class="citerefentry"><span class="refentrytitle">glRasterPos</span></span></a> and <a class="citerefentry" href="glMultiTexCoord.xml"><span class="citerefentry"><span class="refentrytitle">glMultiTexCoord</span></span></a>. | |
454 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_SECONDARY_COLOR</code></span></dt><dd><p> | |
455 | </p><p> | |
456 | <em class="parameter"><code>params</code></em> returns four values: the red, green, blue, and alpha values of the | |
457 | current secondary color. Integer values, if requested, are linearly mapped | |
458 | from the internal floating-point representation such that 1.0 returns the | |
459 | most positive representable integer value, and | |
460 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
461 | ||
462 | <mml:mn>-1.0</mml:mn> | |
463 | </mml:math> | |
464 | returns the most | |
465 | negative representable integer value. The initial value is (0, 0, 0, 0). | |
466 | See <a class="citerefentry" href="glSecondaryColor.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColor</span></span></a>. | |
467 | </p></dd><dt><span class="term"><code class="constant">GL_CURRENT_TEXTURE_COORDS</code></span></dt><dd><p> | |
468 | </p><p> | |
469 | <em class="parameter"><code>params</code></em> returns four values: | |
470 | the <span class="emphasis"><em>s</em></span>, <span class="emphasis"><em>t</em></span>, <span class="emphasis"><em>r</em></span>, and <span class="emphasis"><em>q</em></span> current texture | |
471 | coordinates. The initial value is (0, 0, 0, 1). | |
472 | See <a class="citerefentry" href="glMultiTexCoord.xml"><span class="citerefentry"><span class="refentrytitle">glMultiTexCoord</span></span></a>. | |
473 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_BIAS</code></span></dt><dd><p> | |
474 | </p><p> | |
475 | <em class="parameter"><code>params</code></em> returns one value, | |
476 | the depth bias factor used during pixel transfers. The initial value is 0. | |
477 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
478 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_BITS</code></span></dt><dd><p> | |
479 | </p><p> | |
480 | <em class="parameter"><code>params</code></em> returns one value, | |
481 | the number of bitplanes in the depth buffer. | |
482 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_CLEAR_VALUE</code></span></dt><dd><p> | |
483 | </p><p> | |
484 | <em class="parameter"><code>params</code></em> returns one value, | |
485 | the value that is used to clear the depth buffer. | |
486 | Integer values, | |
487 | if requested, | |
488 | are linearly mapped from the internal floating-point representation such | |
489 | that 1.0 returns the most positive representable integer value, | |
490 | and | |
491 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
492 | ||
493 | <mml:mn>-1.0</mml:mn> | |
494 | </mml:math> | |
495 | returns the most negative representable integer | |
496 | value. The initial value is 1. | |
497 | See <a class="citerefentry" href="glClearDepth.xml"><span class="citerefentry"><span class="refentrytitle">glClearDepth</span></span></a>. | |
498 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_FUNC</code></span></dt><dd><p> | |
499 | </p><p> | |
500 | <em class="parameter"><code>params</code></em> returns one value, | |
501 | the symbolic constant that indicates the depth comparison | |
502 | function. The initial value is <code class="constant">GL_LESS</code>. | |
503 | See <a class="citerefentry" href="glDepthFunc.xml"><span class="citerefentry"><span class="refentrytitle">glDepthFunc</span></span></a>. | |
504 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_RANGE</code></span></dt><dd><p> | |
505 | </p><p> | |
506 | <em class="parameter"><code>params</code></em> returns two values: | |
507 | the near and far mapping limits for the depth buffer. | |
508 | Integer values, | |
509 | if requested, | |
510 | are linearly mapped from the internal floating-point representation such | |
511 | that 1.0 returns the most positive representable integer value, | |
512 | and | |
513 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
514 | ||
515 | <mml:mn>-1.0</mml:mn> | |
516 | </mml:math> | |
517 | returns the most negative representable integer | |
518 | value. The initial value is (0, 1). | |
519 | See <a class="citerefentry" href="glDepthRange.xml"><span class="citerefentry"><span class="refentrytitle">glDepthRange</span></span></a>. | |
520 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_SCALE</code></span></dt><dd><p> | |
521 | </p><p> | |
522 | <em class="parameter"><code>params</code></em> returns one value, | |
523 | the depth scale factor used during pixel transfers. The initial value is 1. | |
524 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
525 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_TEST</code></span></dt><dd><p> | |
526 | </p><p> | |
527 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether depth testing | |
528 | of fragments is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
529 | See <a class="citerefentry" href="glDepthFunc.xml"><span class="citerefentry"><span class="refentrytitle">glDepthFunc</span></span></a> and <a class="citerefentry" href="glDepthRange.xml"><span class="citerefentry"><span class="refentrytitle">glDepthRange</span></span></a>. | |
530 | </p></dd><dt><span class="term"><code class="constant">GL_DEPTH_WRITEMASK</code></span></dt><dd><p> | |
531 | </p><p> | |
532 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating if the depth buffer | |
533 | is enabled for writing. The initial value is <code class="constant">GL_TRUE</code>. | |
534 | See <a class="citerefentry" href="glDepthMask.xml"><span class="citerefentry"><span class="refentrytitle">glDepthMask</span></span></a>. | |
535 | </p></dd><dt><span class="term"><code class="constant">GL_DITHER</code></span></dt><dd><p> | |
536 | </p><p> | |
537 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether dithering of | |
538 | fragment colors and indices is enabled. The initial value is <code class="constant">GL_TRUE</code>. | |
539 | </p></dd><dt><span class="term"><code class="constant">GL_DOUBLEBUFFER</code></span></dt><dd><p> | |
540 | </p><p> | |
541 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether double buffering | |
542 | is supported. | |
543 | </p></dd><dt><span class="term"><code class="constant">GL_DRAW_BUFFER</code></span></dt><dd><p> | |
544 | </p><p> | |
545 | <em class="parameter"><code>params</code></em> returns one value, | |
546 | a symbolic constant indicating which buffers are being drawn to. | |
547 | See <a class="citerefentry" href="glDrawBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glDrawBuffer</span></span></a>. The initial value is <code class="constant">GL_BACK</code> if there | |
548 | are back buffers, otherwise it is <code class="constant">GL_FRONT</code>. | |
549 | </p></dd><dt><span class="term"><code class="constant">GL_DRAW_BUFFER</code><span class="emphasis"><em>i</em></span></span></dt><dd><p> | |
550 | </p><p> | |
551 | <em class="parameter"><code>params</code></em> returns one value, | |
552 | a symbolic constant indicating which buffers are being drawn to by the corresponding output color. | |
553 | See <a class="citerefentry" href="glDrawBuffers.xml"><span class="citerefentry"><span class="refentrytitle">glDrawBuffers</span></span></a>. | |
554 | The initial value of <code class="constant">GL_DRAW_BUFFER0</code> is <code class="constant">GL_BACK</code> if there | |
555 | are back buffers, otherwise it is <code class="constant">GL_FRONT</code>. The | |
556 | initial values of draw buffers for all other output colors is <code class="constant">GL_NONE</code>. | |
557 | </p></dd><dt><span class="term"><code class="constant">GL_EDGE_FLAG</code></span></dt><dd><p> | |
558 | </p><p> | |
559 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the current | |
560 | edge flag is <code class="constant">GL_TRUE</code> or <code class="constant">GL_FALSE</code>. The initial value is <code class="constant">GL_TRUE</code>. | |
561 | See <a class="citerefentry" href="glEdgeFlag.xml"><span class="citerefentry"><span class="refentrytitle">glEdgeFlag</span></span></a>. | |
562 | </p></dd><dt><span class="term"><code class="constant">GL_EDGE_FLAG_ARRAY</code></span></dt><dd><p> | |
563 | </p><p> | |
564 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the edge | |
565 | flag array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
566 | See <a class="citerefentry" href="glEdgeFlagPointer.xml"><span class="citerefentry"><span class="refentrytitle">glEdgeFlagPointer</span></span></a>. | |
567 | </p></dd><dt><span class="term"><code class="constant">GL_EDGE_FLAG_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
568 | </p><p> | |
569 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
570 | associated with the edge flag array. This buffer object would have been bound to the | |
571 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
572 | <a class="citerefentry" href="glEdgeFlagPointer.xml"><span class="citerefentry"><span class="refentrytitle">glEdgeFlagPointer</span></span></a>. | |
573 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
574 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
575 | </p></dd><dt><span class="term"><code class="constant">GL_EDGE_FLAG_ARRAY_STRIDE</code></span></dt><dd><p> | |
576 | </p><p> | |
577 | <em class="parameter"><code>params</code></em> returns one value, | |
578 | the byte offset between consecutive edge flags in the edge flag | |
579 | array. The initial value is 0. | |
580 | See <a class="citerefentry" href="glEdgeFlagPointer.xml"><span class="citerefentry"><span class="refentrytitle">glEdgeFlagPointer</span></span></a>. | |
581 | </p></dd><dt><span class="term"><code class="constant">GL_ELEMENT_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
582 | </p><p> | |
583 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
584 | currently bound to the target <code class="constant">GL_ELEMENT_ARRAY_BUFFER</code>. If no buffer object | |
585 | is bound to this target, 0 is returned. The initial value is 0. | |
586 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
587 | </p></dd><dt><span class="term"><code class="constant">GL_FEEDBACK_BUFFER_SIZE</code></span></dt><dd><p> | |
588 | </p><p> | |
589 | <em class="parameter"><code>params</code></em> returns one value, the size of the feedback buffer. | |
590 | See <a class="citerefentry" href="glFeedbackBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glFeedbackBuffer</span></span></a>. | |
591 | </p></dd><dt><span class="term"><code class="constant">GL_FEEDBACK_BUFFER_TYPE</code></span></dt><dd><p> | |
592 | </p><p> | |
593 | <em class="parameter"><code>params</code></em> returns one value, the type of the feedback buffer. | |
594 | See <a class="citerefentry" href="glFeedbackBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glFeedbackBuffer</span></span></a>. | |
595 | </p></dd><dt><span class="term"><code class="constant">GL_FOG</code></span></dt><dd><p> | |
596 | </p><p> | |
597 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether fogging is | |
598 | enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
599 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
600 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_COORD_ARRAY</code></span></dt><dd><p> | |
601 | </p><p> | |
602 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the fog coordinate array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
603 | See <a class="citerefentry" href="glFogCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glFogCoordPointer</span></span></a>. | |
604 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_COORD_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
605 | </p><p> | |
606 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
607 | associated with the fog coordinate array. This buffer object would have been bound to the | |
608 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
609 | <a class="citerefentry" href="glFogCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glFogCoordPointer</span></span></a>. | |
610 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
611 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
612 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_COORD_ARRAY_STRIDE</code></span></dt><dd><p> | |
613 | </p><p> | |
614 | <em class="parameter"><code>params</code></em> returns one value, | |
615 | the byte offset between consecutive fog coordinates in the fog coordinate | |
616 | array. The initial value is 0. | |
617 | See <a class="citerefentry" href="glFogCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glFogCoordPointer</span></span></a>. | |
618 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_COORD_ARRAY_TYPE</code></span></dt><dd><p> | |
619 | </p><p> | |
620 | <em class="parameter"><code>params</code></em> returns one value, the type of the fog coordinate array. | |
621 | The initial value is <code class="constant">GL_FLOAT</code>. | |
622 | See <a class="citerefentry" href="glFogCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glFogCoordPointer</span></span></a>. | |
623 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_COORD_SRC</code></span></dt><dd><p> | |
624 | </p><p> | |
625 | <em class="parameter"><code>params</code></em> returns one value, a symbolic constant indicating the source of the fog coordinate. | |
626 | The initial value is <code class="constant">GL_FRAGMENT_DEPTH</code>. | |
627 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
628 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_COLOR</code></span></dt><dd><p> | |
629 | </p><p> | |
630 | <em class="parameter"><code>params</code></em> returns four values: | |
631 | the red, green, blue, and alpha components of the fog color. | |
632 | Integer values, | |
633 | if requested, | |
634 | are linearly mapped from the internal floating-point representation such | |
635 | that 1.0 returns the most positive representable integer value, | |
636 | and | |
637 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
638 | ||
639 | <mml:mn>-1.0</mml:mn> | |
640 | </mml:math> | |
641 | returns the most negative representable integer | |
642 | value. The initial value is (0, 0, 0, 0). | |
643 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
644 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_DENSITY</code></span></dt><dd><p> | |
645 | </p><p> | |
646 | <em class="parameter"><code>params</code></em> returns one value, | |
647 | the fog density parameter. The initial value is 1. | |
648 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
649 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_END</code></span></dt><dd><p> | |
650 | </p><p> | |
651 | <em class="parameter"><code>params</code></em> returns one value, | |
652 | the end factor for the linear fog equation. The initial value is 1. | |
653 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
654 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_HINT</code></span></dt><dd><p> | |
655 | </p><p> | |
656 | <em class="parameter"><code>params</code></em> returns one value, | |
657 | a symbolic constant indicating the mode of the fog hint. The initial value | |
658 | is <code class="constant">GL_DONT_CARE</code>. | |
659 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
660 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_INDEX</code></span></dt><dd><p> | |
661 | </p><p> | |
662 | <em class="parameter"><code>params</code></em> returns one value, | |
663 | the fog color index. The initial value is 0. | |
664 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
665 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_MODE</code></span></dt><dd><p> | |
666 | </p><p> | |
667 | <em class="parameter"><code>params</code></em> returns one value, | |
668 | a symbolic constant indicating which fog equation is selected. The initial | |
669 | value is <code class="constant">GL_EXP</code>. | |
670 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
671 | </p></dd><dt><span class="term"><code class="constant">GL_FOG_START</code></span></dt><dd><p> | |
672 | </p><p> | |
673 | <em class="parameter"><code>params</code></em> returns one value, | |
674 | the start factor for the linear fog equation. The initial value is 0. | |
675 | See <a class="citerefentry" href="glFog.xml"><span class="citerefentry"><span class="refentrytitle">glFog</span></span></a>. | |
676 | </p></dd><dt><span class="term"><code class="constant">GL_FRAGMENT_SHADER_DERIVATIVE_HINT</code></span></dt><dd><p> | |
677 | </p><p> | |
678 | <em class="parameter"><code>params</code></em> returns one value, | |
679 | a symbolic constant indicating the mode of the derivative accuracy hint | |
680 | for fragment shaders. The initial value | |
681 | is <code class="constant">GL_DONT_CARE</code>. | |
682 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
683 | </p></dd><dt><span class="term"><code class="constant">GL_FRONT_FACE</code></span></dt><dd><p> | |
684 | </p><p> | |
685 | <em class="parameter"><code>params</code></em> returns one value, | |
686 | a symbolic constant indicating whether clockwise or counterclockwise | |
687 | polygon winding is treated as front-facing. The initial value is | |
688 | <code class="constant">GL_CCW</code>. | |
689 | See <a class="citerefentry" href="glFrontFace.xml"><span class="citerefentry"><span class="refentrytitle">glFrontFace</span></span></a>. | |
690 | </p></dd><dt><span class="term"><code class="constant">GL_GENERATE_MIPMAP_HINT</code></span></dt><dd><p> | |
691 | </p><p> | |
692 | <em class="parameter"><code>params</code></em> returns one value, | |
693 | a symbolic constant indicating the mode of the mipmap generation filtering | |
694 | hint. The initial value is <code class="constant">GL_DONT_CARE</code>. | |
695 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
696 | </p></dd><dt><span class="term"><code class="constant">GL_GREEN_BIAS</code></span></dt><dd><p> | |
697 | </p><p> | |
698 | <em class="parameter"><code>params</code></em> returns one value, | |
699 | the green bias factor used during pixel transfers. The initial value is 0. | |
700 | </p></dd><dt><span class="term"><code class="constant">GL_GREEN_BITS</code></span></dt><dd><p> | |
701 | </p><p> | |
702 | <em class="parameter"><code>params</code></em> returns one value, | |
703 | the number of green bitplanes in each color buffer. | |
704 | </p></dd><dt><span class="term"><code class="constant">GL_GREEN_SCALE</code></span></dt><dd><p> | |
705 | </p><p> | |
706 | <em class="parameter"><code>params</code></em> returns one value, | |
707 | the green scale factor used during pixel transfers. The initial value is 1. | |
708 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
709 | </p></dd><dt><span class="term"><code class="constant">GL_HISTOGRAM</code></span></dt><dd><p> | |
710 | </p><p> | |
711 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether histogram is | |
712 | enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
713 | See <a class="citerefentry" href="glHistogram.xml"><span class="citerefentry"><span class="refentrytitle">glHistogram</span></span></a>. | |
714 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_ARRAY</code></span></dt><dd><p> | |
715 | </p><p> | |
716 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the color | |
717 | index array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
718 | See <a class="citerefentry" href="glIndexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glIndexPointer</span></span></a>. | |
719 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
720 | </p><p> | |
721 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
722 | associated with the color index array. This buffer object would have been bound to the | |
723 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
724 | <a class="citerefentry" href="glIndexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glIndexPointer</span></span></a>. | |
725 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
726 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
727 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_ARRAY_STRIDE</code></span></dt><dd><p> | |
728 | </p><p> | |
729 | <em class="parameter"><code>params</code></em> returns one value, | |
730 | the byte offset between consecutive color indexes in the color index | |
731 | array. The initial value is 0. | |
732 | See <a class="citerefentry" href="glIndexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glIndexPointer</span></span></a>. | |
733 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_ARRAY_TYPE</code></span></dt><dd><p> | |
734 | </p><p> | |
735 | <em class="parameter"><code>params</code></em> returns one value, | |
736 | the data type of indexes in the color index array. The initial value is | |
737 | <code class="constant">GL_FLOAT</code>. | |
738 | See <a class="citerefentry" href="glIndexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glIndexPointer</span></span></a>. | |
739 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_BITS</code></span></dt><dd><p> | |
740 | </p><p> | |
741 | <em class="parameter"><code>params</code></em> returns one value, | |
742 | the number of bitplanes in each color index buffer. | |
743 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_CLEAR_VALUE</code></span></dt><dd><p> | |
744 | </p><p> | |
745 | <em class="parameter"><code>params</code></em> returns one value, | |
746 | the color index used to clear the color index buffers. The initial value | |
747 | is 0. | |
748 | See <a class="citerefentry" href="glClearIndex.xml"><span class="citerefentry"><span class="refentrytitle">glClearIndex</span></span></a>. | |
749 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_LOGIC_OP</code></span></dt><dd><p> | |
750 | </p><p> | |
751 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether a fragment's index | |
752 | values are merged into the framebuffer using a logical | |
753 | operation. The initial value is <code class="constant">GL_FALSE</code>. | |
754 | See <a class="citerefentry" href="glLogicOp.xml"><span class="citerefentry"><span class="refentrytitle">glLogicOp</span></span></a>. | |
755 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_MODE</code></span></dt><dd><p> | |
756 | </p><p> | |
757 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the GL is in | |
758 | color index mode (<code class="constant">GL_TRUE</code>) or RGBA mode (<code class="constant">GL_FALSE</code>). | |
759 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_OFFSET</code></span></dt><dd><p> | |
760 | </p><p> | |
761 | <em class="parameter"><code>params</code></em> returns one value, | |
762 | the offset added to color and stencil indices during pixel | |
763 | transfers. The initial value is 0. | |
764 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
765 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_SHIFT</code></span></dt><dd><p> | |
766 | </p><p> | |
767 | <em class="parameter"><code>params</code></em> returns one value, | |
768 | the amount that color and stencil indices are shifted during pixel | |
769 | transfers. The initial value is 0. | |
770 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
771 | </p></dd><dt><span class="term"><code class="constant">GL_INDEX_WRITEMASK</code></span></dt><dd><p> | |
772 | </p><p> | |
773 | <em class="parameter"><code>params</code></em> returns one value, | |
774 | a mask indicating which bitplanes of each color index buffer can be | |
775 | written. The initial value is all 1's. | |
776 | See <a class="citerefentry" href="glIndexMask.xml"><span class="citerefentry"><span class="refentrytitle">glIndexMask</span></span></a>. | |
777 | </p></dd><dt><span class="term"><code class="constant">GL_LIGHT</code><span class="emphasis"><em>i</em></span></span></dt><dd><p> | |
778 | </p><p> | |
779 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the specified | |
780 | light is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
781 | See <a class="citerefentry" href="glLight.xml"><span class="citerefentry"><span class="refentrytitle">glLight</span></span></a> and <a class="citerefentry" href="glLightModel.xml"><span class="citerefentry"><span class="refentrytitle">glLightModel</span></span></a>. | |
782 | </p></dd><dt><span class="term"><code class="constant">GL_LIGHTING</code></span></dt><dd><p> | |
783 | </p><p> | |
784 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether lighting is | |
785 | enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
786 | See <a class="citerefentry" href="glLightModel.xml"><span class="citerefentry"><span class="refentrytitle">glLightModel</span></span></a>. | |
787 | </p></dd><dt><span class="term"><code class="constant">GL_LIGHT_MODEL_AMBIENT</code></span></dt><dd><p> | |
788 | </p><p> | |
789 | <em class="parameter"><code>params</code></em> returns four values: | |
790 | the red, green, blue, and alpha components of the ambient intensity of | |
791 | the entire scene. | |
792 | Integer values, | |
793 | if requested, | |
794 | are linearly mapped from the internal floating-point representation such | |
795 | that 1.0 returns the most positive representable integer value, | |
796 | and | |
797 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"> | |
798 | ||
799 | <mml:mn>-1.0</mml:mn> | |
800 | </mml:math> | |
801 | returns the most negative representable integer | |
802 | value. The initial value is (0.2, 0.2, 0.2, 1.0). | |
803 | See <a class="citerefentry" href="glLightModel.xml"><span class="citerefentry"><span class="refentrytitle">glLightModel</span></span></a>. | |
804 | </p></dd><dt><span class="term"><code class="constant">GL_LIGHT_MODEL_COLOR_CONTROL</code></span></dt><dd><p> | |
805 | </p><p> | |
806 | <em class="parameter"><code>params</code></em> returns single enumerated value indicating whether specular | |
807 | reflection calculations are separated from normal lighting computations. | |
808 | The initial value is <code class="constant">GL_SINGLE_COLOR</code>. | |
809 | </p></dd><dt><span class="term"><code class="constant">GL_LIGHT_MODEL_LOCAL_VIEWER</code></span></dt><dd><p> | |
810 | </p><p> | |
811 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether specular reflection | |
812 | calculations treat the viewer as being local to the scene. The initial | |
813 | value is <code class="constant">GL_FALSE</code>. | |
814 | See <a class="citerefentry" href="glLightModel.xml"><span class="citerefentry"><span class="refentrytitle">glLightModel</span></span></a>. | |
815 | </p></dd><dt><span class="term"><code class="constant">GL_LIGHT_MODEL_TWO_SIDE</code></span></dt><dd><p> | |
816 | </p><p> | |
817 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether separate materials | |
818 | are used to compute lighting for front- and back-facing | |
819 | polygons. The initial value is <code class="constant">GL_FALSE</code>. | |
820 | See <a class="citerefentry" href="glLightModel.xml"><span class="citerefentry"><span class="refentrytitle">glLightModel</span></span></a>. | |
821 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_SMOOTH</code></span></dt><dd><p> | |
822 | </p><p> | |
823 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether antialiasing of | |
824 | lines is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
825 | See <a class="citerefentry" href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. | |
826 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_SMOOTH_HINT</code></span></dt><dd><p> | |
827 | </p><p> | |
828 | <em class="parameter"><code>params</code></em> returns one value, | |
829 | a symbolic constant indicating the mode of the line antialiasing | |
830 | hint. The initial value is <code class="constant">GL_DONT_CARE</code>. | |
831 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
832 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_STIPPLE</code></span></dt><dd><p> | |
833 | </p><p> | |
834 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether stippling of lines | |
835 | is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
836 | See <a class="citerefentry" href="glLineStipple.xml"><span class="citerefentry"><span class="refentrytitle">glLineStipple</span></span></a>. | |
837 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_STIPPLE_PATTERN</code></span></dt><dd><p> | |
838 | </p><p> | |
839 | <em class="parameter"><code>params</code></em> returns one value, | |
840 | the 16-bit line stipple pattern. The initial value is all 1's. | |
841 | See <a class="citerefentry" href="glLineStipple.xml"><span class="citerefentry"><span class="refentrytitle">glLineStipple</span></span></a>. | |
842 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_STIPPLE_REPEAT</code></span></dt><dd><p> | |
843 | </p><p> | |
844 | <em class="parameter"><code>params</code></em> returns one value, | |
845 | the line stipple repeat factor. The initial value is 1. | |
846 | See <a class="citerefentry" href="glLineStipple.xml"><span class="citerefentry"><span class="refentrytitle">glLineStipple</span></span></a>. | |
847 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_WIDTH</code></span></dt><dd><p> | |
848 | </p><p> | |
849 | <em class="parameter"><code>params</code></em> returns one value, | |
850 | the line width as specified with <a class="citerefentry" href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. The initial value is | |
851 | 1. | |
852 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_WIDTH_GRANULARITY</code></span></dt><dd><p> | |
853 | </p><p> | |
854 | <em class="parameter"><code>params</code></em> returns one value, | |
855 | the width difference between adjacent supported widths for antialiased lines. | |
856 | See <a class="citerefentry" href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. | |
857 | </p></dd><dt><span class="term"><code class="constant">GL_LINE_WIDTH_RANGE</code></span></dt><dd><p> | |
858 | </p><p> | |
859 | <em class="parameter"><code>params</code></em> returns two values: | |
860 | the smallest and largest supported widths for antialiased | |
861 | lines. | |
862 | See <a class="citerefentry" href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. | |
863 | </p></dd><dt><span class="term"><code class="constant">GL_LIST_BASE</code></span></dt><dd><p> | |
864 | </p><p> | |
865 | <em class="parameter"><code>params</code></em> returns one value, | |
866 | the base offset added to all names in arrays presented to | |
867 | <a class="citerefentry" href="glCallLists.xml"><span class="citerefentry"><span class="refentrytitle">glCallLists</span></span></a>. The initial value is 0. | |
868 | See <a class="citerefentry" href="glListBase.xml"><span class="citerefentry"><span class="refentrytitle">glListBase</span></span></a>. | |
869 | </p></dd><dt><span class="term"><code class="constant">GL_LIST_INDEX</code></span></dt><dd><p> | |
870 | </p><p> | |
871 | <em class="parameter"><code>params</code></em> returns one value, | |
872 | the name of the display list currently under construction. | |
873 | 0 is returned if no display list is currently under | |
874 | construction. The initial value is 0. | |
875 | See <a class="citerefentry" href="glNewList.xml"><span class="citerefentry"><span class="refentrytitle">glNewList</span></span></a>. | |
876 | </p></dd><dt><span class="term"><code class="constant">GL_LIST_MODE</code></span></dt><dd><p> | |
877 | </p><p> | |
878 | <em class="parameter"><code>params</code></em> returns one value, | |
879 | a symbolic constant indicating the construction mode of the display list | |
880 | currently under construction. The initial value is 0. | |
881 | See <a class="citerefentry" href="glNewList.xml"><span class="citerefentry"><span class="refentrytitle">glNewList</span></span></a>. | |
882 | </p></dd><dt><span class="term"><code class="constant">GL_LOGIC_OP_MODE</code></span></dt><dd><p> | |
883 | </p><p> | |
884 | <em class="parameter"><code>params</code></em> returns one value, | |
885 | a symbolic constant indicating the selected logic operation | |
886 | mode. The initial value is <code class="constant">GL_COPY</code>. | |
887 | See <a class="citerefentry" href="glLogicOp.xml"><span class="citerefentry"><span class="refentrytitle">glLogicOp</span></span></a>. | |
888 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_COLOR_4</code></span></dt><dd><p> | |
889 | </p><p> | |
890 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
891 | 1D evaluation generates colors. The initial value is <code class="constant">GL_FALSE</code>. | |
892 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
893 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_GRID_DOMAIN</code></span></dt><dd><p> | |
894 | </p><p> | |
895 | <em class="parameter"><code>params</code></em> returns two values: | |
896 | the endpoints of the 1D map's grid domain. The initial value is (0, 1). | |
897 | See <a class="citerefentry" href="glMapGrid.xml"><span class="citerefentry"><span class="refentrytitle">glMapGrid</span></span></a>. | |
898 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_GRID_SEGMENTS</code></span></dt><dd><p> | |
899 | </p><p> | |
900 | <em class="parameter"><code>params</code></em> returns one value, | |
901 | the number of partitions in the 1D map's grid domain. The initial value | |
902 | is 1. | |
903 | See <a class="citerefentry" href="glMapGrid.xml"><span class="citerefentry"><span class="refentrytitle">glMapGrid</span></span></a>. | |
904 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_INDEX</code></span></dt><dd><p> | |
905 | </p><p> | |
906 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
907 | 1D evaluation generates color indices. The initial value is <code class="constant">GL_FALSE</code>. | |
908 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
909 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_NORMAL</code></span></dt><dd><p> | |
910 | </p><p> | |
911 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
912 | 1D evaluation generates normals. The initial value is <code class="constant">GL_FALSE</code>. | |
913 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
914 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_TEXTURE_COORD_1</code></span></dt><dd><p> | |
915 | </p><p> | |
916 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
917 | 1D evaluation generates 1D texture coordinates. The initial value is | |
918 | <code class="constant">GL_FALSE</code>. | |
919 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
920 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_TEXTURE_COORD_2</code></span></dt><dd><p> | |
921 | </p><p> | |
922 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
923 | 1D evaluation generates 2D texture coordinates. The initial value is | |
924 | <code class="constant">GL_FALSE</code>. | |
925 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
926 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_TEXTURE_COORD_3</code></span></dt><dd><p> | |
927 | </p><p> | |
928 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
929 | 1D evaluation generates 3D texture coordinates. The initial value is | |
930 | <code class="constant">GL_FALSE</code>. | |
931 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
932 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_TEXTURE_COORD_4</code></span></dt><dd><p> | |
933 | </p><p> | |
934 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
935 | 1D evaluation generates 4D texture coordinates. The initial value is | |
936 | <code class="constant">GL_FALSE</code>. | |
937 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
938 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_VERTEX_3</code></span></dt><dd><p> | |
939 | </p><p> | |
940 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
941 | 1D evaluation generates 3D vertex coordinates. The initial value is | |
942 | <code class="constant">GL_FALSE</code>. | |
943 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
944 | </p></dd><dt><span class="term"><code class="constant">GL_MAP1_VERTEX_4</code></span></dt><dd><p> | |
945 | </p><p> | |
946 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
947 | 1D evaluation generates 4D vertex coordinates. The initial value is | |
948 | <code class="constant">GL_FALSE</code>. | |
949 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a>. | |
950 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_COLOR_4</code></span></dt><dd><p> | |
951 | </p><p> | |
952 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
953 | 2D evaluation generates colors. The initial value is <code class="constant">GL_FALSE</code>. | |
954 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
955 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_GRID_DOMAIN</code></span></dt><dd><p> | |
956 | </p><p> | |
957 | <em class="parameter"><code>params</code></em> returns four values: | |
958 | the endpoints of the 2D map's | |
959 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">i</mml:mi></mml:math> | |
960 | and | |
961 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">j</mml:mi></mml:math> | |
962 | grid domains. The initial value | |
963 | is (0,1; 0,1). | |
964 | See <a class="citerefentry" href="glMapGrid.xml"><span class="citerefentry"><span class="refentrytitle">glMapGrid</span></span></a>. | |
965 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_GRID_SEGMENTS</code></span></dt><dd><p> | |
966 | </p><p> | |
967 | <em class="parameter"><code>params</code></em> returns two values: | |
968 | the number of partitions in the 2D map's | |
969 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">i</mml:mi></mml:math> | |
970 | and | |
971 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">j</mml:mi></mml:math> | |
972 | grid | |
973 | domains. The initial value is (1,1). | |
974 | See <a class="citerefentry" href="glMapGrid.xml"><span class="citerefentry"><span class="refentrytitle">glMapGrid</span></span></a>. | |
975 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_INDEX</code></span></dt><dd><p> | |
976 | </p><p> | |
977 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
978 | 2D evaluation generates color indices. The initial value is <code class="constant">GL_FALSE</code>. | |
979 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
980 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_NORMAL</code></span></dt><dd><p> | |
981 | </p><p> | |
982 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
983 | 2D evaluation generates normals. The initial value is <code class="constant">GL_FALSE</code>. | |
984 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
985 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_TEXTURE_COORD_1</code></span></dt><dd><p> | |
986 | </p><p> | |
987 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
988 | 2D evaluation generates 1D texture coordinates. The initial value is | |
989 | <code class="constant">GL_FALSE</code>. | |
990 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
991 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_TEXTURE_COORD_2</code></span></dt><dd><p> | |
992 | </p><p> | |
993 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
994 | 2D evaluation generates 2D texture coordinates. The initial value is | |
995 | <code class="constant">GL_FALSE</code>. | |
996 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
997 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_TEXTURE_COORD_3</code></span></dt><dd><p> | |
998 | </p><p> | |
999 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
1000 | 2D evaluation generates 3D texture coordinates. The initial value is | |
1001 | <code class="constant">GL_FALSE</code>. | |
1002 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
1003 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_TEXTURE_COORD_4</code></span></dt><dd><p> | |
1004 | </p><p> | |
1005 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
1006 | 2D evaluation generates 4D texture coordinates. The initial value is | |
1007 | <code class="constant">GL_FALSE</code>. | |
1008 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
1009 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_VERTEX_3</code></span></dt><dd><p> | |
1010 | </p><p> | |
1011 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
1012 | 2D evaluation generates 3D vertex coordinates. The initial value is | |
1013 | <code class="constant">GL_FALSE</code>. | |
1014 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
1015 | </p></dd><dt><span class="term"><code class="constant">GL_MAP2_VERTEX_4</code></span></dt><dd><p> | |
1016 | </p><p> | |
1017 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether | |
1018 | 2D evaluation generates 4D vertex coordinates. The initial value is | |
1019 | <code class="constant">GL_FALSE</code>. | |
1020 | See <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
1021 | </p></dd><dt><span class="term"><code class="constant">GL_MAP_COLOR</code></span></dt><dd><p> | |
1022 | </p><p> | |
1023 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating if colors and | |
1024 | color indices are to be replaced by table lookup during pixel | |
1025 | transfers. The initial value is <code class="constant">GL_FALSE</code>. | |
1026 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1027 | </p></dd><dt><span class="term"><code class="constant">GL_MAP_STENCIL</code></span></dt><dd><p> | |
1028 | </p><p> | |
1029 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating if stencil indices | |
1030 | are to be replaced by table lookup during pixel transfers. The initial | |
1031 | value is <code class="constant">GL_FALSE</code>. | |
1032 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1033 | </p></dd><dt><span class="term"><code class="constant">GL_MATRIX_MODE</code></span></dt><dd><p> | |
1034 | </p><p> | |
1035 | <em class="parameter"><code>params</code></em> returns one value, | |
1036 | a symbolic constant indicating which matrix stack is currently the | |
1037 | target of all matrix operations. The initial value is <code class="constant">GL_MODELVIEW</code>. | |
1038 | See <a class="citerefentry" href="glMatrixMode.xml"><span class="citerefentry"><span class="refentrytitle">glMatrixMode</span></span></a>. | |
1039 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_3D_TEXTURE_SIZE</code></span></dt><dd><p> | |
1040 | </p><p> | |
1041 | <em class="parameter"><code>params</code></em> returns one value, | |
1042 | a rough estimate of the largest 3D texture that the GL can handle. | |
1043 | The value must be at least 16. | |
1044 | If the GL version is 1.2 or greater, use | |
1045 | <code class="constant">GL_PROXY_TEXTURE_3D</code> to determine if a texture is too large. | |
1046 | See <a class="citerefentry" href="glTexImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage3D</span></span></a>. | |
1047 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_CLIENT_ATTRIB_STACK_DEPTH</code></span></dt><dd><p> | |
1048 | </p><p> | |
1049 | <em class="parameter"><code>params</code></em> returns one value indicating the maximum supported depth | |
1050 | of the client attribute stack. | |
1051 | See <a class="citerefentry" href="glPushClientAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glPushClientAttrib</span></span></a>. | |
1052 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_ATTRIB_STACK_DEPTH</code></span></dt><dd><p> | |
1053 | </p><p> | |
1054 | <em class="parameter"><code>params</code></em> returns one value, | |
1055 | the maximum supported depth of the attribute stack. The value must be | |
1056 | at least 16. | |
1057 | See <a class="citerefentry" href="glPushAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glPushAttrib</span></span></a>. | |
1058 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_CLIP_PLANES</code></span></dt><dd><p> | |
1059 | </p><p> | |
1060 | <em class="parameter"><code>params</code></em> returns one value, | |
1061 | the maximum number of application-defined clipping planes. The value must be at least 6. | |
1062 | See <a class="citerefentry" href="glClipPlane.xml"><span class="citerefentry"><span class="refentrytitle">glClipPlane</span></span></a>. | |
1063 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_COLOR_MATRIX_STACK_DEPTH</code></span></dt><dd><p> | |
1064 | </p><p> | |
1065 | <em class="parameter"><code>params</code></em> returns one value, the maximum supported depth of the color matrix | |
1066 | stack. The value must be at least 2. | |
1067 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1068 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p> | |
1069 | </p><p> | |
1070 | <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that | |
1071 | can be used to access texture maps from the vertex shader and the fragment processor combined. | |
1072 | If both the vertex shader and the fragment processing stage access the same texture image | |
1073 | unit, then that counts as using two texture image units against this limit. | |
1074 | The value must be at least 2. | |
1075 | See <a class="citerefentry" href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>. | |
1076 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_CUBE_MAP_TEXTURE_SIZE</code></span></dt><dd><p> | |
1077 | </p><p> | |
1078 | <em class="parameter"><code>params</code></em> returns one value. | |
1079 | The value gives a rough estimate of the largest cube-map texture that | |
1080 | the GL can handle. The value must be at least 16. | |
1081 | If the GL version is 1.3 or greater, use <code class="constant">GL_PROXY_TEXTURE_CUBE_MAP</code> | |
1082 | to determine if a texture is too large. | |
1083 | See <a class="citerefentry" href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>. | |
1084 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_DRAW_BUFFERS</code></span></dt><dd><p> | |
1085 | </p><p> | |
1086 | <em class="parameter"><code>params</code></em> returns one value, the maximum number | |
1087 | of simultaneous output colors allowed from a fragment shader using the | |
1088 | <code class="code">gl_FragData</code> built-in array. The value must be at least 1. | |
1089 | See <a class="citerefentry" href="glDrawBuffers.xml"><span class="citerefentry"><span class="refentrytitle">glDrawBuffers</span></span></a>. | |
1090 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_ELEMENTS_INDICES</code></span></dt><dd><p> | |
1091 | </p><p> | |
1092 | <em class="parameter"><code>params</code></em> returns one value, | |
1093 | the recommended maximum number of vertex array indices. | |
1094 | See <a class="citerefentry" href="glDrawRangeElements.xml"><span class="citerefentry"><span class="refentrytitle">glDrawRangeElements</span></span></a>. | |
1095 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_ELEMENTS_VERTICES</code></span></dt><dd><p> | |
1096 | </p><p> | |
1097 | <em class="parameter"><code>params</code></em> returns one value, | |
1098 | the recommended maximum number of vertex array vertices. | |
1099 | See <a class="citerefentry" href="glDrawRangeElements.xml"><span class="citerefentry"><span class="refentrytitle">glDrawRangeElements</span></span></a>. | |
1100 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_EVAL_ORDER</code></span></dt><dd><p> | |
1101 | </p><p> | |
1102 | <em class="parameter"><code>params</code></em> returns one value, | |
1103 | the maximum equation order supported by 1D and 2D | |
1104 | evaluators. The value must be at least 8. | |
1105 | See <a class="citerefentry" href="glMap1.xml"><span class="citerefentry"><span class="refentrytitle">glMap1</span></span></a> and <a class="citerefentry" href="glMap2.xml"><span class="citerefentry"><span class="refentrytitle">glMap2</span></span></a>. | |
1106 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</code></span></dt><dd><p> | |
1107 | </p><p> | |
1108 | <em class="parameter"><code>params</code></em> returns one value, | |
1109 | the maximum number of individual floating-point, integer, or boolean values that can be held | |
1110 | in uniform variable storage for a fragment shader. The value must be at least 64. | |
1111 | See <a class="citerefentry" href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>. | |
1112 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_LIGHTS</code></span></dt><dd><p> | |
1113 | </p><p> | |
1114 | <em class="parameter"><code>params</code></em> returns one value, | |
1115 | the maximum number of lights. The value must be at least 8. | |
1116 | See <a class="citerefentry" href="glLight.xml"><span class="citerefentry"><span class="refentrytitle">glLight</span></span></a>. | |
1117 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_LIST_NESTING</code></span></dt><dd><p> | |
1118 | </p><p> | |
1119 | <em class="parameter"><code>params</code></em> returns one value, | |
1120 | the maximum recursion depth allowed during display-list | |
1121 | traversal. The value must be at least 64. | |
1122 | See <a class="citerefentry" href="glCallList.xml"><span class="citerefentry"><span class="refentrytitle">glCallList</span></span></a>. | |
1123 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_MODELVIEW_STACK_DEPTH</code></span></dt><dd><p> | |
1124 | </p><p> | |
1125 | <em class="parameter"><code>params</code></em> returns one value, | |
1126 | the maximum supported depth of the modelview matrix stack. The value must | |
1127 | be at least 32. | |
1128 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1129 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_NAME_STACK_DEPTH</code></span></dt><dd><p> | |
1130 | </p><p> | |
1131 | <em class="parameter"><code>params</code></em> returns one value, | |
1132 | the maximum supported depth of the selection name stack. The value must be at least 64. | |
1133 | See <a class="citerefentry" href="glPushName.xml"><span class="citerefentry"><span class="refentrytitle">glPushName</span></span></a>. | |
1134 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_PIXEL_MAP_TABLE</code></span></dt><dd><p> | |
1135 | </p><p> | |
1136 | <em class="parameter"><code>params</code></em> returns one value, | |
1137 | the maximum supported size of a <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a> lookup table. | |
1138 | The value must be at least 32. | |
1139 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1140 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_PROJECTION_STACK_DEPTH</code></span></dt><dd><p> | |
1141 | </p><p> | |
1142 | <em class="parameter"><code>params</code></em> returns one value, the maximum supported depth of the projection | |
1143 | matrix stack. The value must be at least 2. | |
1144 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1145 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_COORDS</code></span></dt><dd><p> | |
1146 | </p><p> | |
1147 | <em class="parameter"><code>params</code></em> returns one value, | |
1148 | the maximum number of texture coordinate sets available to vertex and fragment shaders. | |
1149 | The value must be at least 2. | |
1150 | See <a class="citerefentry" href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a> and | |
1151 | <a class="citerefentry" href="glClientActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glClientActiveTexture</span></span></a>. | |
1152 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p> | |
1153 | </p><p> | |
1154 | <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that | |
1155 | can be used to access texture maps from the fragment shader. | |
1156 | The value must be at least 2. | |
1157 | See <a class="citerefentry" href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>. | |
1158 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_LOD_BIAS</code></span></dt><dd><p> | |
1159 | </p><p> | |
1160 | <em class="parameter"><code>params</code></em> returns one value, | |
1161 | the maximum, absolute value of the texture level-of-detail bias. The | |
1162 | value must be at least 4. | |
1163 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_SIZE</code></span></dt><dd><p> | |
1164 | </p><p> | |
1165 | <em class="parameter"><code>params</code></em> returns one value. | |
1166 | The value gives a rough estimate of the largest texture that | |
1167 | the GL can handle. The value must be at least 64. | |
1168 | If the GL version is 1.1 or greater, use | |
1169 | <code class="constant">GL_PROXY_TEXTURE_1D</code> or <code class="constant">GL_PROXY_TEXTURE_2D</code> | |
1170 | to determine if a texture is too large. | |
1171 | See <a class="citerefentry" href="glTexImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage1D</span></span></a> and <a class="citerefentry" href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>. | |
1172 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_STACK_DEPTH</code></span></dt><dd><p> | |
1173 | </p><p> | |
1174 | <em class="parameter"><code>params</code></em> returns one value, | |
1175 | the maximum supported depth of the texture matrix stack. The value must be at least 2. | |
1176 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1177 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_TEXTURE_UNITS</code></span></dt><dd><p> | |
1178 | </p><p> | |
1179 | <em class="parameter"><code>params</code></em> returns a single value indicating the number of conventional | |
1180 | texture units supported. Each conventional texture unit includes both a texture coordinate set | |
1181 | and a texture image unit. Conventional texture units may be used for fixed-function (non-shader) | |
1182 | rendering. The value must be at least 2. Additional texture coordinate sets and texture | |
1183 | image units may be accessed from vertex and fragment shaders. | |
1184 | See <a class="citerefentry" href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a> and | |
1185 | <a class="citerefentry" href="glClientActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glClientActiveTexture</span></span></a>. | |
1186 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_VARYING_FLOATS</code></span></dt><dd><p> | |
1187 | </p><p> | |
1188 | <em class="parameter"><code>params</code></em> returns one value, | |
1189 | the maximum number of interpolators available for processing varying variables used by | |
1190 | vertex and fragment shaders. This value represents the number of individual floating-point | |
1191 | values that can be interpolated; varying variables declared as vectors, matrices, and arrays | |
1192 | will all consume multiple interpolators. The value must be at least 32. | |
1193 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_ATTRIBS</code></span></dt><dd><p> | |
1194 | </p><p> | |
1195 | <em class="parameter"><code>params</code></em> returns one value, | |
1196 | the maximum number of 4-component generic vertex attributes accessible to a vertex shader. | |
1197 | The value must be at least 16. | |
1198 | See <a class="citerefentry" href="glVertexAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glVertexAttrib</span></span></a>. | |
1199 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</code></span></dt><dd><p> | |
1200 | </p><p> | |
1201 | <em class="parameter"><code>params</code></em> returns one value, the maximum supported texture image units that | |
1202 | can be used to access texture maps from the vertex shader. The value may be 0. | |
1203 | See <a class="citerefentry" href="glActiveTexture.xml"><span class="citerefentry"><span class="refentrytitle">glActiveTexture</span></span></a>. | |
1204 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_VERTEX_UNIFORM_COMPONENTS</code></span></dt><dd><p> | |
1205 | </p><p> | |
1206 | <em class="parameter"><code>params</code></em> returns one value, | |
1207 | the maximum number of individual floating-point, integer, or boolean values that can be held | |
1208 | in uniform variable storage for a vertex shader. The value must be at least 512. | |
1209 | See <a class="citerefentry" href="glUniform.xml"><span class="citerefentry"><span class="refentrytitle">glUniform</span></span></a>. | |
1210 | </p></dd><dt><span class="term"><code class="constant">GL_MAX_VIEWPORT_DIMS</code></span></dt><dd><p> | |
1211 | </p><p> | |
1212 | <em class="parameter"><code>params</code></em> returns two values: | |
1213 | the maximum supported width and height of the viewport. | |
1214 | These must be at least as large as the visible dimensions of the display | |
1215 | being rendered to. | |
1216 | See <a class="citerefentry" href="glViewport.xml"><span class="citerefentry"><span class="refentrytitle">glViewport</span></span></a>. | |
1217 | </p></dd><dt><span class="term"><code class="constant">GL_MINMAX</code></span></dt><dd><p> | |
1218 | </p><p> | |
1219 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether pixel minmax | |
1220 | values are computed. The initial value is <code class="constant">GL_FALSE</code>. | |
1221 | See <a class="citerefentry" href="glMinmax.xml"><span class="citerefentry"><span class="refentrytitle">glMinmax</span></span></a>. | |
1222 | </p></dd><dt><span class="term"><code class="constant">GL_MODELVIEW_MATRIX</code></span></dt><dd><p> | |
1223 | </p><p> | |
1224 | <em class="parameter"><code>params</code></em> returns sixteen values: | |
1225 | the modelview matrix on the top of the modelview matrix stack. Initially | |
1226 | this matrix is the identity matrix. | |
1227 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1228 | </p></dd><dt><span class="term"><code class="constant">GL_MODELVIEW_STACK_DEPTH</code></span></dt><dd><p> | |
1229 | </p><p> | |
1230 | <em class="parameter"><code>params</code></em> returns one value, | |
1231 | the number of matrices on the modelview matrix stack. | |
1232 | The initial value is 1. | |
1233 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1234 | </p></dd><dt><span class="term"><code class="constant">GL_NAME_STACK_DEPTH</code></span></dt><dd><p> | |
1235 | </p><p> | |
1236 | <em class="parameter"><code>params</code></em> returns one value, | |
1237 | the number of names on the selection name stack. The initial value is 0. | |
1238 | See <a class="citerefentry" href="glPushName.xml"><span class="citerefentry"><span class="refentrytitle">glPushName</span></span></a>. | |
1239 | </p></dd><dt><span class="term"><code class="constant">GL_NORMAL_ARRAY</code></span></dt><dd><p> | |
1240 | </p><p> | |
1241 | <em class="parameter"><code>params</code></em> returns a single boolean value, indicating whether the normal | |
1242 | array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1243 | See <a class="citerefentry" href="glNormalPointer.xml"><span class="citerefentry"><span class="refentrytitle">glNormalPointer</span></span></a>. | |
1244 | </p></dd><dt><span class="term"><code class="constant">GL_NORMAL_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
1245 | </p><p> | |
1246 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
1247 | associated with the normal array. This buffer object would have been bound to the | |
1248 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
1249 | <a class="citerefentry" href="glNormalPointer.xml"><span class="citerefentry"><span class="refentrytitle">glNormalPointer</span></span></a>. | |
1250 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
1251 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
1252 | </p></dd><dt><span class="term"><code class="constant">GL_NORMAL_ARRAY_STRIDE</code></span></dt><dd><p> | |
1253 | </p><p> | |
1254 | <em class="parameter"><code>params</code></em> returns one value, | |
1255 | the byte offset between consecutive normals in the normal | |
1256 | array. The initial value is 0. | |
1257 | See <a class="citerefentry" href="glNormalPointer.xml"><span class="citerefentry"><span class="refentrytitle">glNormalPointer</span></span></a>. | |
1258 | </p></dd><dt><span class="term"><code class="constant">GL_NORMAL_ARRAY_TYPE</code></span></dt><dd><p> | |
1259 | </p><p> | |
1260 | <em class="parameter"><code>params</code></em> returns one value, | |
1261 | the data type of each coordinate in the normal array. The initial value is | |
1262 | <code class="constant">GL_FLOAT</code>. | |
1263 | See <a class="citerefentry" href="glNormalPointer.xml"><span class="citerefentry"><span class="refentrytitle">glNormalPointer</span></span></a>. | |
1264 | </p></dd><dt><span class="term"><code class="constant">GL_NORMALIZE</code></span></dt><dd><p> | |
1265 | </p><p> | |
1266 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether normals are | |
1267 | automatically scaled to unit length after they have been transformed to | |
1268 | eye coordinates. The initial value is <code class="constant">GL_FALSE</code>. | |
1269 | See <a class="citerefentry" href="glNormal.xml"><span class="citerefentry"><span class="refentrytitle">glNormal</span></span></a>. | |
1270 | </p></dd><dt><span class="term"><code class="constant">GL_NUM_COMPRESSED_TEXTURE_FORMATS</code></span></dt><dd><p> | |
1271 | </p><p> | |
1272 | <em class="parameter"><code>params</code></em> returns a single integer value indicating the number of available | |
1273 | compressed texture formats. The minimum value is 0. | |
1274 | See <a class="citerefentry" href="glCompressedTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glCompressedTexImage2D</span></span></a>. | |
1275 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_ALIGNMENT</code></span></dt><dd><p> | |
1276 | </p><p> | |
1277 | <em class="parameter"><code>params</code></em> returns one value, | |
1278 | the byte alignment used for writing pixel data to memory. The initial | |
1279 | value is 4. | |
1280 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1281 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_IMAGE_HEIGHT</code></span></dt><dd><p> | |
1282 | </p><p> | |
1283 | <em class="parameter"><code>params</code></em> returns one value, | |
1284 | the image height used for writing pixel data to memory. The initial | |
1285 | value is 0. | |
1286 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1287 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_LSB_FIRST</code></span></dt><dd><p> | |
1288 | </p><p> | |
1289 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether single-bit | |
1290 | pixels being written to memory are written first to the least significant | |
1291 | bit of each unsigned byte. The initial value is <code class="constant">GL_FALSE</code>. | |
1292 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1293 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_ROW_LENGTH</code></span></dt><dd><p> | |
1294 | </p><p> | |
1295 | <em class="parameter"><code>params</code></em> returns one value, | |
1296 | the row length used for writing pixel data to memory. The initial value is | |
1297 | 0. | |
1298 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1299 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_SKIP_IMAGES</code></span></dt><dd><p> | |
1300 | </p><p> | |
1301 | <em class="parameter"><code>params</code></em> returns one value, | |
1302 | the number of pixel images skipped before the first pixel is written | |
1303 | into memory. The initial value is 0. | |
1304 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1305 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_SKIP_PIXELS</code></span></dt><dd><p> | |
1306 | </p><p> | |
1307 | <em class="parameter"><code>params</code></em> returns one value, | |
1308 | the number of pixel locations skipped before the first pixel is written | |
1309 | into memory. The initial value is 0. | |
1310 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1311 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_SKIP_ROWS</code></span></dt><dd><p> | |
1312 | </p><p> | |
1313 | <em class="parameter"><code>params</code></em> returns one value, | |
1314 | the number of rows of pixel locations skipped before the first pixel is written | |
1315 | into memory. The initial value is 0. | |
1316 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1317 | </p></dd><dt><span class="term"><code class="constant">GL_PACK_SWAP_BYTES</code></span></dt><dd><p> | |
1318 | </p><p> | |
1319 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the bytes of | |
1320 | two-byte and four-byte pixel indices and components are swapped before being | |
1321 | written to memory. The initial value is <code class="constant">GL_FALSE</code>. | |
1322 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
1323 | </p></dd><dt><span class="term"><code class="constant">GL_PERSPECTIVE_CORRECTION_HINT</code></span></dt><dd><p> | |
1324 | </p><p> | |
1325 | <em class="parameter"><code>params</code></em> returns one value, | |
1326 | a symbolic constant indicating the mode of the perspective correction | |
1327 | hint. The initial value is <code class="constant">GL_DONT_CARE</code>. | |
1328 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
1329 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_A_TO_A_SIZE</code></span></dt><dd><p> | |
1330 | </p><p> | |
1331 | <em class="parameter"><code>params</code></em> returns one value, | |
1332 | the size of the alpha-to-alpha pixel translation table. | |
1333 | The initial value is 1. | |
1334 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1335 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_B_TO_B_SIZE</code></span></dt><dd><p> | |
1336 | </p><p> | |
1337 | <em class="parameter"><code>params</code></em> returns one value, | |
1338 | the size of the blue-to-blue pixel translation table. | |
1339 | The initial value is 1. | |
1340 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1341 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_G_TO_G_SIZE</code></span></dt><dd><p> | |
1342 | </p><p> | |
1343 | <em class="parameter"><code>params</code></em> returns one value, | |
1344 | the size of the green-to-green pixel translation table. | |
1345 | The initial value is 1. | |
1346 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1347 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_I_TO_A_SIZE</code></span></dt><dd><p> | |
1348 | </p><p> | |
1349 | <em class="parameter"><code>params</code></em> returns one value, | |
1350 | the size of the index-to-alpha pixel translation table. | |
1351 | The initial value is 1. | |
1352 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1353 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_I_TO_B_SIZE</code></span></dt><dd><p> | |
1354 | </p><p> | |
1355 | <em class="parameter"><code>params</code></em> returns one value, | |
1356 | the size of the index-to-blue pixel translation table. | |
1357 | The initial value is 1. | |
1358 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1359 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_I_TO_G_SIZE</code></span></dt><dd><p> | |
1360 | </p><p> | |
1361 | <em class="parameter"><code>params</code></em> returns one value, | |
1362 | the size of the index-to-green pixel translation table. | |
1363 | The initial value is 1. | |
1364 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1365 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_I_TO_I_SIZE</code></span></dt><dd><p> | |
1366 | </p><p> | |
1367 | <em class="parameter"><code>params</code></em> returns one value, | |
1368 | the size of the index-to-index pixel translation table. | |
1369 | The initial value is 1. | |
1370 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1371 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_I_TO_R_SIZE</code></span></dt><dd><p> | |
1372 | </p><p> | |
1373 | <em class="parameter"><code>params</code></em> returns one value, | |
1374 | the size of the index-to-red pixel translation table. | |
1375 | The initial value is 1. | |
1376 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1377 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_R_TO_R_SIZE</code></span></dt><dd><p> | |
1378 | </p><p> | |
1379 | <em class="parameter"><code>params</code></em> returns one value, | |
1380 | the size of the red-to-red pixel translation table. | |
1381 | The initial value is 1. | |
1382 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1383 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_MAP_S_TO_S_SIZE</code></span></dt><dd><p> | |
1384 | </p><p> | |
1385 | <em class="parameter"><code>params</code></em> returns one value, | |
1386 | the size of the stencil-to-stencil pixel translation table. | |
1387 | The initial value is 1. | |
1388 | See <a class="citerefentry" href="glPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glPixelMap</span></span></a>. | |
1389 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_PACK_BUFFER_BINDING</code></span></dt><dd><p> | |
1390 | </p><p> | |
1391 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
1392 | currently bound to the target <code class="constant">GL_PIXEL_PACK_BUFFER</code>. If no buffer object | |
1393 | is bound to this target, 0 is returned. The initial value is 0. | |
1394 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
1395 | </p></dd><dt><span class="term"><code class="constant">GL_PIXEL_UNPACK_BUFFER_BINDING</code></span></dt><dd><p> | |
1396 | </p><p> | |
1397 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
1398 | currently bound to the target <code class="constant">GL_PIXEL_UNPACK_BUFFER</code>. If no buffer object | |
1399 | is bound to this target, 0 is returned. The initial value is 0. | |
1400 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
1401 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_DISTANCE_ATTENUATION</code></span></dt><dd><p> | |
1402 | </p><p> | |
1403 | <em class="parameter"><code>params</code></em> returns three values, | |
1404 | the coefficients for computing the attenuation value for points. | |
1405 | See <a class="citerefentry" href="glPointParameter.xml"><span class="citerefentry"><span class="refentrytitle">glPointParameter</span></span></a>. | |
1406 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_FADE_THRESHOLD_SIZE</code></span></dt><dd><p> | |
1407 | </p><p> | |
1408 | <em class="parameter"><code>params</code></em> returns one value, | |
1409 | the point size threshold for determining the point size. | |
1410 | See <a class="citerefentry" href="glPointParameter.xml"><span class="citerefentry"><span class="refentrytitle">glPointParameter</span></span></a>. | |
1411 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE</code></span></dt><dd><p> | |
1412 | </p><p> | |
1413 | <em class="parameter"><code>params</code></em> returns one value, | |
1414 | the point size as specified by <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. The initial value is 1. | |
1415 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE_GRANULARITY</code></span></dt><dd><p> | |
1416 | </p><p> | |
1417 | <em class="parameter"><code>params</code></em> returns one value, | |
1418 | the size difference between adjacent supported sizes for antialiased points. | |
1419 | See <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. | |
1420 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE_MAX</code></span></dt><dd><p> | |
1421 | </p><p> | |
1422 | <em class="parameter"><code>params</code></em> returns one value, | |
1423 | the upper bound for the attenuated point sizes. The initial value is 0.0. | |
1424 | See <a class="citerefentry" href="glPointParameter.xml"><span class="citerefentry"><span class="refentrytitle">glPointParameter</span></span></a>. | |
1425 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE_MIN</code></span></dt><dd><p> | |
1426 | </p><p> | |
1427 | <em class="parameter"><code>params</code></em> returns one value, | |
1428 | the lower bound for the attenuated point sizes. The initial value is 1.0. | |
1429 | See <a class="citerefentry" href="glPointParameter.xml"><span class="citerefentry"><span class="refentrytitle">glPointParameter</span></span></a>. | |
1430 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SIZE_RANGE</code></span></dt><dd><p> | |
1431 | </p><p> | |
1432 | <em class="parameter"><code>params</code></em> returns two values: | |
1433 | the smallest and largest supported sizes for antialiased | |
1434 | points. The smallest size must be at most 1, and the largest size must | |
1435 | be at least 1. | |
1436 | See <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. | |
1437 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SMOOTH</code></span></dt><dd><p> | |
1438 | </p><p> | |
1439 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether antialiasing of | |
1440 | points is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1441 | See <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. | |
1442 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SMOOTH_HINT</code></span></dt><dd><p> | |
1443 | </p><p> | |
1444 | <em class="parameter"><code>params</code></em> returns one value, | |
1445 | a symbolic constant indicating the mode of the point antialiasing | |
1446 | hint. The initial value is <code class="constant">GL_DONT_CARE</code>. | |
1447 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
1448 | </p></dd><dt><span class="term"><code class="constant">GL_POINT_SPRITE</code></span></dt><dd><p> | |
1449 | </p><p> | |
1450 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether point sprite is | |
1451 | enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1452 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_MODE</code></span></dt><dd><p> | |
1453 | </p><p> | |
1454 | <em class="parameter"><code>params</code></em> returns two values: | |
1455 | symbolic constants indicating whether front-facing and back-facing polygons | |
1456 | are rasterized as points, lines, or filled polygons. The initial value is | |
1457 | <code class="constant">GL_FILL</code>. | |
1458 | See <a class="citerefentry" href="glPolygonMode.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonMode</span></span></a>. | |
1459 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_FACTOR</code></span></dt><dd><p> | |
1460 | </p><p> | |
1461 | <em class="parameter"><code>params</code></em> returns one value, | |
1462 | the scaling factor used to determine the variable offset that is added | |
1463 | to the depth value of each fragment generated when a polygon is | |
1464 | rasterized. The initial value is 0. | |
1465 | See <a class="citerefentry" href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>. | |
1466 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_UNITS</code></span></dt><dd><p> | |
1467 | </p><p> | |
1468 | <em class="parameter"><code>params</code></em> returns one value. | |
1469 | This value is multiplied by an implementation-specific value and then | |
1470 | added to the depth value of each fragment | |
1471 | generated when a polygon is rasterized. The initial value is 0. | |
1472 | See <a class="citerefentry" href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>. | |
1473 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_FILL</code></span></dt><dd><p> | |
1474 | </p><p> | |
1475 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon offset | |
1476 | is enabled for polygons in fill mode. The initial value is <code class="constant">GL_FALSE</code>. | |
1477 | See <a class="citerefentry" href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>. | |
1478 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_LINE</code></span></dt><dd><p> | |
1479 | </p><p> | |
1480 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon offset | |
1481 | is enabled for polygons in line mode. The initial value is <code class="constant">GL_FALSE</code>. | |
1482 | See <a class="citerefentry" href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>. | |
1483 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_OFFSET_POINT</code></span></dt><dd><p> | |
1484 | </p><p> | |
1485 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon offset | |
1486 | is enabled for polygons in point mode. The initial value is <code class="constant">GL_FALSE</code>. | |
1487 | See <a class="citerefentry" href="glPolygonOffset.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonOffset</span></span></a>. | |
1488 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_SMOOTH</code></span></dt><dd><p> | |
1489 | </p><p> | |
1490 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether antialiasing of | |
1491 | polygons is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1492 | See <a class="citerefentry" href="glPolygonMode.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonMode</span></span></a>. | |
1493 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_SMOOTH_HINT</code></span></dt><dd><p> | |
1494 | </p><p> | |
1495 | <em class="parameter"><code>params</code></em> returns one value, | |
1496 | a symbolic constant indicating the mode of the polygon antialiasing | |
1497 | hint. The initial value is <code class="constant">GL_DONT_CARE</code>. | |
1498 | See <a class="citerefentry" href="glHint.xml"><span class="citerefentry"><span class="refentrytitle">glHint</span></span></a>. | |
1499 | </p></dd><dt><span class="term"><code class="constant">GL_POLYGON_STIPPLE</code></span></dt><dd><p> | |
1500 | </p><p> | |
1501 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether polygon | |
1502 | stippling is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1503 | See <a class="citerefentry" href="glPolygonStipple.xml"><span class="citerefentry"><span class="refentrytitle">glPolygonStipple</span></span></a>. | |
1504 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_COLOR_TABLE</code></span></dt><dd><p> | |
1505 | </p><p> | |
1506 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether post color | |
1507 | matrix transformation lookup is enabled. | |
1508 | The initial value is <code class="constant">GL_FALSE</code>. | |
1509 | See <a class="citerefentry" href="glColorTable.xml"><span class="citerefentry"><span class="refentrytitle">glColorTable</span></span></a>. | |
1510 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_RED_BIAS</code></span></dt><dd><p> | |
1511 | </p><p> | |
1512 | <em class="parameter"><code>params</code></em> returns one value, the red bias factor applied to RGBA fragments | |
1513 | after color matrix transformations. | |
1514 | The initial value is 0. | |
1515 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1516 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_GREEN_BIAS</code></span></dt><dd><p> | |
1517 | </p><p> | |
1518 | <em class="parameter"><code>params</code></em> returns one value, the green bias factor applied to RGBA fragments | |
1519 | after color matrix transformations. | |
1520 | The initial value is 0. | |
1521 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a> | |
1522 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_BLUE_BIAS</code></span></dt><dd><p> | |
1523 | </p><p> | |
1524 | <em class="parameter"><code>params</code></em> returns one value, the blue bias factor applied to RGBA fragments | |
1525 | after color matrix transformations. | |
1526 | The initial value is 0. | |
1527 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1528 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_ALPHA_BIAS</code></span></dt><dd><p> | |
1529 | </p><p> | |
1530 | <em class="parameter"><code>params</code></em> returns one value, the alpha bias factor applied to RGBA fragments | |
1531 | after color matrix transformations. | |
1532 | The initial value is 0. | |
1533 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1534 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_RED_SCALE</code></span></dt><dd><p> | |
1535 | </p><p> | |
1536 | <em class="parameter"><code>params</code></em> returns one value, the red scale factor applied to RGBA fragments | |
1537 | after color matrix transformations. | |
1538 | The initial value is 1. | |
1539 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1540 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_GREEN_SCALE</code></span></dt><dd><p> | |
1541 | </p><p> | |
1542 | <em class="parameter"><code>params</code></em> returns one value, the green scale factor applied to RGBA fragments | |
1543 | after color matrix transformations. | |
1544 | The initial value is 1. | |
1545 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1546 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_BLUE_SCALE</code></span></dt><dd><p> | |
1547 | </p><p> | |
1548 | <em class="parameter"><code>params</code></em> returns one value, the blue scale factor applied to RGBA fragments | |
1549 | after color matrix transformations. | |
1550 | The initial value is 1. | |
1551 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1552 | </p></dd><dt><span class="term"><code class="constant">GL_POST_COLOR_MATRIX_ALPHA_SCALE</code></span></dt><dd><p> | |
1553 | </p><p> | |
1554 | <em class="parameter"><code>params</code></em> returns one value, the alpha scale factor applied to RGBA fragments | |
1555 | after color matrix transformations. | |
1556 | The initial value is 1. | |
1557 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1558 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_COLOR_TABLE</code></span></dt><dd><p> | |
1559 | </p><p> | |
1560 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether post convolution | |
1561 | lookup is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1562 | See <a class="citerefentry" href="glColorTable.xml"><span class="citerefentry"><span class="refentrytitle">glColorTable</span></span></a>. | |
1563 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_RED_BIAS</code></span></dt><dd><p> | |
1564 | </p><p> | |
1565 | <em class="parameter"><code>params</code></em> returns one value, the red bias factor applied to RGBA fragments | |
1566 | after convolution. The initial value is 0. | |
1567 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1568 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_GREEN_BIAS</code></span></dt><dd><p> | |
1569 | </p><p> | |
1570 | <em class="parameter"><code>params</code></em> returns one value, the green bias factor applied to RGBA fragments | |
1571 | after convolution. The initial value is 0. | |
1572 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1573 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_BLUE_BIAS</code></span></dt><dd><p> | |
1574 | </p><p> | |
1575 | <em class="parameter"><code>params</code></em> returns one value, the blue bias factor applied to RGBA fragments | |
1576 | after convolution. The initial value is 0. | |
1577 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1578 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_ALPHA_BIAS</code></span></dt><dd><p> | |
1579 | </p><p> | |
1580 | <em class="parameter"><code>params</code></em> returns one value, the alpha bias factor applied to RGBA fragments | |
1581 | after convolution. The initial value is 0. | |
1582 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1583 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_RED_SCALE</code></span></dt><dd><p> | |
1584 | </p><p> | |
1585 | <em class="parameter"><code>params</code></em> returns one value, the red scale factor applied to RGBA fragments | |
1586 | after convolution. The initial value is 1. | |
1587 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1588 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_GREEN_SCALE</code></span></dt><dd><p> | |
1589 | </p><p> | |
1590 | <em class="parameter"><code>params</code></em> returns one value, the green scale factor applied to RGBA fragments | |
1591 | after convolution. The initial value is 1. | |
1592 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1593 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_BLUE_SCALE</code></span></dt><dd><p> | |
1594 | </p><p> | |
1595 | <em class="parameter"><code>params</code></em> returns one value, the blue scale factor applied to RGBA fragments | |
1596 | after convolution. The initial value is 1. | |
1597 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1598 | </p></dd><dt><span class="term"><code class="constant">GL_POST_CONVOLUTION_ALPHA_SCALE</code></span></dt><dd><p> | |
1599 | </p><p> | |
1600 | <em class="parameter"><code>params</code></em> returns one value, the alpha scale factor applied to RGBA fragments | |
1601 | after convolution. The initial value is 1. | |
1602 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1603 | </p></dd><dt><span class="term"><code class="constant">GL_PROJECTION_MATRIX</code></span></dt><dd><p> | |
1604 | </p><p> | |
1605 | <em class="parameter"><code>params</code></em> returns sixteen values: | |
1606 | the projection matrix on the top of the projection matrix | |
1607 | stack. Initially this matrix is the identity matrix. | |
1608 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1609 | </p></dd><dt><span class="term"><code class="constant">GL_PROJECTION_STACK_DEPTH</code></span></dt><dd><p> | |
1610 | </p><p> | |
1611 | <em class="parameter"><code>params</code></em> returns one value, | |
1612 | the number of matrices on the projection matrix stack. | |
1613 | The initial value is 1. | |
1614 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1615 | </p></dd><dt><span class="term"><code class="constant">GL_READ_BUFFER</code></span></dt><dd><p> | |
1616 | </p><p> | |
1617 | <em class="parameter"><code>params</code></em> returns one value, | |
1618 | a symbolic constant indicating which color buffer is selected for | |
1619 | reading. The initial value is <code class="constant">GL_BACK</code> if there is a back buffer, | |
1620 | otherwise it is <code class="constant">GL_FRONT</code>. | |
1621 | See | |
1622 | <a class="citerefentry" href="glReadPixels.xml"><span class="citerefentry"><span class="refentrytitle">glReadPixels</span></span></a> and <a class="citerefentry" href="glAccum.xml"><span class="citerefentry"><span class="refentrytitle">glAccum</span></span></a>. | |
1623 | </p></dd><dt><span class="term"><code class="constant">GL_RED_BIAS</code></span></dt><dd><p> | |
1624 | </p><p> | |
1625 | <em class="parameter"><code>params</code></em> returns one value, | |
1626 | the red bias factor used during pixel transfers. The initial value is 0. | |
1627 | </p></dd><dt><span class="term"><code class="constant">GL_RED_BITS</code></span></dt><dd><p> | |
1628 | </p><p> | |
1629 | <em class="parameter"><code>params</code></em> returns one value, | |
1630 | the number of red bitplanes in each color buffer. | |
1631 | </p></dd><dt><span class="term"><code class="constant">GL_RED_SCALE</code></span></dt><dd><p> | |
1632 | </p><p> | |
1633 | <em class="parameter"><code>params</code></em> returns one value, | |
1634 | the red scale factor used during pixel transfers. The initial value is 1. | |
1635 | See <a class="citerefentry" href="glPixelTransfer.xml"><span class="citerefentry"><span class="refentrytitle">glPixelTransfer</span></span></a>. | |
1636 | </p></dd><dt><span class="term"><code class="constant">GL_RENDER_MODE</code></span></dt><dd><p> | |
1637 | </p><p> | |
1638 | <em class="parameter"><code>params</code></em> returns one value, | |
1639 | a symbolic constant indicating whether the GL is in render, | |
1640 | select, | |
1641 | or feedback mode. The initial value is <code class="constant">GL_RENDER</code>. | |
1642 | See <a class="citerefentry" href="glRenderMode.xml"><span class="citerefentry"><span class="refentrytitle">glRenderMode</span></span></a>. | |
1643 | </p></dd><dt><span class="term"><code class="constant">GL_RESCALE_NORMAL</code></span></dt><dd><p> | |
1644 | </p><p> | |
1645 | <em class="parameter"><code>params</code></em> returns single boolean value | |
1646 | indicating whether normal rescaling is enabled. | |
1647 | See <a class="citerefentry" href="glEnable.xml"><span class="citerefentry"><span class="refentrytitle">glEnable</span></span></a>. | |
1648 | </p></dd><dt><span class="term"><code class="constant">GL_RGBA_MODE</code></span></dt><dd><p> | |
1649 | </p><p> | |
1650 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the GL is in RGBA | |
1651 | mode (true) or color index mode (false). | |
1652 | See <a class="citerefentry" href="glColor.xml"><span class="citerefentry"><span class="refentrytitle">glColor</span></span></a>. | |
1653 | </p></dd><dt><span class="term"><code class="constant">GL_SAMPLE_BUFFERS</code></span></dt><dd><p> | |
1654 | </p><p> | |
1655 | <em class="parameter"><code>params</code></em> returns a single integer value indicating the number of sample buffers | |
1656 | associated with the framebuffer. | |
1657 | See <a class="citerefentry" href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>. | |
1658 | </p></dd><dt><span class="term"><code class="constant">GL_SAMPLE_COVERAGE_VALUE</code></span></dt><dd><p> | |
1659 | </p><p> | |
1660 | <em class="parameter"><code>params</code></em> returns a single positive floating-point value indicating the | |
1661 | current sample coverage value. | |
1662 | See <a class="citerefentry" href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>. | |
1663 | </p></dd><dt><span class="term"><code class="constant">GL_SAMPLE_COVERAGE_INVERT</code></span></dt><dd><p> | |
1664 | </p><p> | |
1665 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating if the temporary | |
1666 | coverage value should be inverted. | |
1667 | See <a class="citerefentry" href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>. | |
1668 | </p></dd><dt><span class="term"><code class="constant">GL_SAMPLES</code></span></dt><dd><p> | |
1669 | </p><p> | |
1670 | <em class="parameter"><code>params</code></em> returns a single integer value indicating the coverage mask size. | |
1671 | See <a class="citerefentry" href="glSampleCoverage.xml"><span class="citerefentry"><span class="refentrytitle">glSampleCoverage</span></span></a>. | |
1672 | </p></dd><dt><span class="term"><code class="constant">GL_SCISSOR_BOX</code></span></dt><dd><p> | |
1673 | </p><p> | |
1674 | <em class="parameter"><code>params</code></em> returns four values: | |
1675 | the | |
1676 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math> | |
1677 | and | |
1678 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math> | |
1679 | window coordinates of the scissor box, | |
1680 | followed by its width and height. | |
1681 | Initially the | |
1682 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math> | |
1683 | and | |
1684 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math> | |
1685 | window coordinates are both 0 and the | |
1686 | width and height are set to the size of the window. | |
1687 | See <a class="citerefentry" href="glScissor.xml"><span class="citerefentry"><span class="refentrytitle">glScissor</span></span></a>. | |
1688 | </p></dd><dt><span class="term"><code class="constant">GL_SCISSOR_TEST</code></span></dt><dd><p> | |
1689 | </p><p> | |
1690 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether scissoring is | |
1691 | enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1692 | See <a class="citerefentry" href="glScissor.xml"><span class="citerefentry"><span class="refentrytitle">glScissor</span></span></a>. | |
1693 | </p></dd><dt><span class="term"><code class="constant">GL_SECONDARY_COLOR_ARRAY</code></span></dt><dd><p> | |
1694 | </p><p> | |
1695 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the secondary color array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1696 | See <a class="citerefentry" href="glSecondaryColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColorPointer</span></span></a>. | |
1697 | </p></dd><dt><span class="term"><code class="constant">GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
1698 | </p><p> | |
1699 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
1700 | associated with the secondary color array. This buffer object would have been bound to the | |
1701 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
1702 | <a class="citerefentry" href="glSecondaryColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColorPointer</span></span></a>. | |
1703 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
1704 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
1705 | </p></dd><dt><span class="term"><code class="constant">GL_SECONDARY_COLOR_ARRAY_SIZE</code></span></dt><dd><p> | |
1706 | </p><p> | |
1707 | <em class="parameter"><code>params</code></em> returns one value, the number of components per color in the | |
1708 | secondary color array. The initial value is 3. | |
1709 | See <a class="citerefentry" href="glSecondaryColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColorPointer</span></span></a>. | |
1710 | </p></dd><dt><span class="term"><code class="constant">GL_SECONDARY_COLOR_ARRAY_STRIDE</code></span></dt><dd><p> | |
1711 | </p><p> | |
1712 | <em class="parameter"><code>params</code></em> returns one value, the byte offset between consecutive colors in | |
1713 | the secondary color array. The initial value is 0. | |
1714 | See <a class="citerefentry" href="glSecondaryColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColorPointer</span></span></a>. | |
1715 | </p></dd><dt><span class="term"><code class="constant">GL_SECONDARY_COLOR_ARRAY_TYPE</code></span></dt><dd><p> | |
1716 | </p><p> | |
1717 | <em class="parameter"><code>params</code></em> returns one value, the data type of each component in the secondary | |
1718 | color array. The initial value is <code class="constant">GL_FLOAT</code>. | |
1719 | See <a class="citerefentry" href="glSecondaryColorPointer.xml"><span class="citerefentry"><span class="refentrytitle">glSecondaryColorPointer</span></span></a>. | |
1720 | </p></dd><dt><span class="term"><code class="constant">GL_SELECTION_BUFFER_SIZE</code></span></dt><dd><p> | |
1721 | </p><p> | |
1722 | <em class="parameter"><code>params</code></em> return one value, | |
1723 | the size of the selection buffer. | |
1724 | See <a class="citerefentry" href="glSelectBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glSelectBuffer</span></span></a>. | |
1725 | </p></dd><dt><span class="term"><code class="constant">GL_SEPARABLE_2D</code></span></dt><dd><p> | |
1726 | </p><p> | |
1727 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 2D separable | |
1728 | convolution is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1729 | See <a class="citerefentry" href="glSeparableFilter2D.xml"><span class="citerefentry"><span class="refentrytitle">glSeparableFilter2D</span></span></a>. | |
1730 | </p></dd><dt><span class="term"><code class="constant">GL_SHADE_MODEL</code></span></dt><dd><p> | |
1731 | </p><p> | |
1732 | <em class="parameter"><code>params</code></em> returns one value, | |
1733 | a symbolic constant indicating whether the shading mode is flat or | |
1734 | smooth. The initial value is <code class="constant">GL_SMOOTH</code>. | |
1735 | See <a class="citerefentry" href="glShadeModel.xml"><span class="citerefentry"><span class="refentrytitle">glShadeModel</span></span></a>. | |
1736 | </p></dd><dt><span class="term"><code class="constant">GL_SMOOTH_LINE_WIDTH_RANGE</code></span></dt><dd><p> | |
1737 | </p><p> | |
1738 | <em class="parameter"><code>params</code></em> returns two values, | |
1739 | the smallest and largest supported widths for antialiased lines. | |
1740 | See <a class="citerefentry" href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. | |
1741 | </p></dd><dt><span class="term"><code class="constant">GL_SMOOTH_LINE_WIDTH_GRANULARITY</code></span></dt><dd><p> | |
1742 | </p><p> | |
1743 | <em class="parameter"><code>params</code></em> returns one value, | |
1744 | the granularity of widths for antialiased lines. | |
1745 | See <a class="citerefentry" href="glLineWidth.xml"><span class="citerefentry"><span class="refentrytitle">glLineWidth</span></span></a>. | |
1746 | </p></dd><dt><span class="term"><code class="constant">GL_SMOOTH_POINT_SIZE_RANGE</code></span></dt><dd><p> | |
1747 | </p><p> | |
1748 | <em class="parameter"><code>params</code></em> returns two values, | |
1749 | the smallest and largest supported widths for antialiased points. | |
1750 | See <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. | |
1751 | </p></dd><dt><span class="term"><code class="constant">GL_SMOOTH_POINT_SIZE_GRANULARITY</code></span></dt><dd><p> | |
1752 | </p><p> | |
1753 | <em class="parameter"><code>params</code></em> returns one value, | |
1754 | the granularity of sizes for antialiased points. | |
1755 | See <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. | |
1756 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_FAIL</code></span></dt><dd><p> | |
1757 | </p><p> | |
1758 | <em class="parameter"><code>params</code></em> returns one value, | |
1759 | a symbolic constant indicating what action is taken for back-facing polygons when the stencil | |
1760 | test fails. The initial value is <code class="constant">GL_KEEP</code>. | |
1761 | See <a class="citerefentry" href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>. | |
1762 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_FUNC</code></span></dt><dd><p> | |
1763 | </p><p> | |
1764 | <em class="parameter"><code>params</code></em> returns one value, | |
1765 | a symbolic constant indicating what function is used for back-facing polygons to compare the | |
1766 | stencil reference value with the stencil buffer value. The initial value | |
1767 | is <code class="constant">GL_ALWAYS</code>. | |
1768 | See <a class="citerefentry" href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>. | |
1769 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_PASS_DEPTH_FAIL</code></span></dt><dd><p> | |
1770 | </p><p> | |
1771 | <em class="parameter"><code>params</code></em> returns one value, | |
1772 | a symbolic constant indicating what action is taken for back-facing polygons when the stencil | |
1773 | test passes, | |
1774 | but the depth test fails. The initial value is <code class="constant">GL_KEEP</code>. | |
1775 | See <a class="citerefentry" href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>. | |
1776 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_PASS_DEPTH_PASS</code></span></dt><dd><p> | |
1777 | </p><p> | |
1778 | <em class="parameter"><code>params</code></em> returns one value, | |
1779 | a symbolic constant indicating what action is taken for back-facing polygons when the stencil | |
1780 | test passes and the depth test passes. The initial value is <code class="constant">GL_KEEP</code>. | |
1781 | See <a class="citerefentry" href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>. | |
1782 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_REF</code></span></dt><dd><p> | |
1783 | </p><p> | |
1784 | <em class="parameter"><code>params</code></em> returns one value, | |
1785 | the reference value that is compared with the contents of the stencil | |
1786 | buffer for back-facing polygons. The initial value is 0. | |
1787 | See <a class="citerefentry" href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>. | |
1788 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_VALUE_MASK</code></span></dt><dd><p> | |
1789 | </p><p> | |
1790 | <em class="parameter"><code>params</code></em> returns one value, | |
1791 | the mask that is used for back-facing polygons to mask both the stencil reference value and the | |
1792 | stencil buffer value before they are compared. The initial value is all 1's. | |
1793 | See <a class="citerefentry" href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>. | |
1794 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BACK_WRITEMASK</code></span></dt><dd><p> | |
1795 | </p><p> | |
1796 | <em class="parameter"><code>params</code></em> returns one value, | |
1797 | the mask that controls writing of the stencil bitplanes for back-facing polygons. The initial value | |
1798 | is all 1's. | |
1799 | See <a class="citerefentry" href="glStencilMaskSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilMaskSeparate</span></span></a>. | |
1800 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_BITS</code></span></dt><dd><p> | |
1801 | </p><p> | |
1802 | <em class="parameter"><code>params</code></em> returns one value, | |
1803 | the number of bitplanes in the stencil buffer. | |
1804 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_CLEAR_VALUE</code></span></dt><dd><p> | |
1805 | </p><p> | |
1806 | <em class="parameter"><code>params</code></em> returns one value, | |
1807 | the index to which the stencil bitplanes are cleared. The initial value is | |
1808 | 0. | |
1809 | See <a class="citerefentry" href="glClearStencil.xml"><span class="citerefentry"><span class="refentrytitle">glClearStencil</span></span></a>. | |
1810 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_FAIL</code></span></dt><dd><p> | |
1811 | </p><p> | |
1812 | <em class="parameter"><code>params</code></em> returns one value, | |
1813 | a symbolic constant indicating what action is taken when the stencil | |
1814 | test fails. The initial value is <code class="constant">GL_KEEP</code>. | |
1815 | See <a class="citerefentry" href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>. | |
1816 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1817 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1818 | See <a class="citerefentry" href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>. | |
1819 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_FUNC</code></span></dt><dd><p> | |
1820 | </p><p> | |
1821 | <em class="parameter"><code>params</code></em> returns one value, | |
1822 | a symbolic constant indicating what function is used to compare the | |
1823 | stencil reference value with the stencil buffer value. The initial value | |
1824 | is <code class="constant">GL_ALWAYS</code>. | |
1825 | See <a class="citerefentry" href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a>. | |
1826 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1827 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1828 | See <a class="citerefentry" href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>. | |
1829 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_PASS_DEPTH_FAIL</code></span></dt><dd><p> | |
1830 | </p><p> | |
1831 | <em class="parameter"><code>params</code></em> returns one value, | |
1832 | a symbolic constant indicating what action is taken when the stencil | |
1833 | test passes, | |
1834 | but the depth test fails. The initial value is <code class="constant">GL_KEEP</code>. | |
1835 | See <a class="citerefentry" href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>. | |
1836 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1837 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1838 | See <a class="citerefentry" href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>. | |
1839 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_PASS_DEPTH_PASS</code></span></dt><dd><p> | |
1840 | </p><p> | |
1841 | <em class="parameter"><code>params</code></em> returns one value, | |
1842 | a symbolic constant indicating what action is taken when the stencil | |
1843 | test passes and the depth test passes. The initial value is <code class="constant">GL_KEEP</code>. | |
1844 | See <a class="citerefentry" href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>. | |
1845 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1846 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1847 | See <a class="citerefentry" href="glStencilOpSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOpSeparate</span></span></a>. | |
1848 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_REF</code></span></dt><dd><p> | |
1849 | </p><p> | |
1850 | <em class="parameter"><code>params</code></em> returns one value, | |
1851 | the reference value that is compared with the contents of the stencil | |
1852 | buffer. The initial value is 0. | |
1853 | See <a class="citerefentry" href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a>. | |
1854 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1855 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1856 | See <a class="citerefentry" href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>. | |
1857 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_TEST</code></span></dt><dd><p> | |
1858 | </p><p> | |
1859 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether stencil testing | |
1860 | of fragments is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1861 | See <a class="citerefentry" href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a> and <a class="citerefentry" href="glStencilOp.xml"><span class="citerefentry"><span class="refentrytitle">glStencilOp</span></span></a>. | |
1862 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_VALUE_MASK</code></span></dt><dd><p> | |
1863 | </p><p> | |
1864 | <em class="parameter"><code>params</code></em> returns one value, | |
1865 | the mask that is used to mask both the stencil reference value and the | |
1866 | stencil buffer value before they are compared. The initial value is all 1's. | |
1867 | See <a class="citerefentry" href="glStencilFunc.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFunc</span></span></a>. | |
1868 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1869 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1870 | See <a class="citerefentry" href="glStencilFuncSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilFuncSeparate</span></span></a>. | |
1871 | </p></dd><dt><span class="term"><code class="constant">GL_STENCIL_WRITEMASK</code></span></dt><dd><p> | |
1872 | </p><p> | |
1873 | <em class="parameter"><code>params</code></em> returns one value, | |
1874 | the mask that controls writing of the stencil bitplanes. The initial value | |
1875 | is all 1's. | |
1876 | See <a class="citerefentry" href="glStencilMask.xml"><span class="citerefentry"><span class="refentrytitle">glStencilMask</span></span></a>. | |
1877 | If the GL version is 2.0 or greater, this stencil state only affects non-polygons | |
1878 | and front-facing polygons. Back-facing polygons use separate stencil state. | |
1879 | See <a class="citerefentry" href="glStencilMaskSeparate.xml"><span class="citerefentry"><span class="refentrytitle">glStencilMaskSeparate</span></span></a>. | |
1880 | </p></dd><dt><span class="term"><code class="constant">GL_STEREO</code></span></dt><dd><p> | |
1881 | </p><p> | |
1882 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether stereo buffers | |
1883 | (left and right) are supported. | |
1884 | </p></dd><dt><span class="term"><code class="constant">GL_SUBPIXEL_BITS</code></span></dt><dd><p> | |
1885 | </p><p> | |
1886 | <em class="parameter"><code>params</code></em> returns one value, | |
1887 | an estimate of the number of bits of subpixel resolution that are used to | |
1888 | position rasterized geometry in window coordinates. The value must be at least 4. | |
1889 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_1D</code></span></dt><dd><p> | |
1890 | </p><p> | |
1891 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 1D texture | |
1892 | mapping is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1893 | See <a class="citerefentry" href="glTexImage1D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage1D</span></span></a>. | |
1894 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_1D</code></span></dt><dd><p> | |
1895 | </p><p> | |
1896 | <em class="parameter"><code>params</code></em> returns a single value, the name of the texture | |
1897 | currently bound to the target <code class="constant">GL_TEXTURE_1D</code>. The initial value is 0. | |
1898 | See <a class="citerefentry" href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>. | |
1899 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_2D</code></span></dt><dd><p> | |
1900 | </p><p> | |
1901 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 2D texture | |
1902 | mapping is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1903 | See <a class="citerefentry" href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>. | |
1904 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_2D</code></span></dt><dd><p> | |
1905 | </p><p> | |
1906 | <em class="parameter"><code>params</code></em> returns a single value, the name of the texture | |
1907 | currently bound to the target <code class="constant">GL_TEXTURE_2D</code>. The initial value is 0. | |
1908 | See <a class="citerefentry" href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>. | |
1909 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_3D</code></span></dt><dd><p> | |
1910 | </p><p> | |
1911 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether 3D texture | |
1912 | mapping is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1913 | See <a class="citerefentry" href="glTexImage3D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage3D</span></span></a>. | |
1914 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_3D</code></span></dt><dd><p> | |
1915 | </p><p> | |
1916 | <em class="parameter"><code>params</code></em> returns a single value, the name of the texture | |
1917 | currently bound to the target <code class="constant">GL_TEXTURE_3D</code>. The initial value is 0. | |
1918 | See <a class="citerefentry" href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>. | |
1919 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_BINDING_CUBE_MAP</code></span></dt><dd><p> | |
1920 | </p><p> | |
1921 | <em class="parameter"><code>params</code></em> returns a single value, the name of the texture | |
1922 | currently bound to the target <code class="constant">GL_TEXTURE_CUBE_MAP</code>. The initial value is 0. | |
1923 | See <a class="citerefentry" href="glBindTexture.xml"><span class="citerefentry"><span class="refentrytitle">glBindTexture</span></span></a>. | |
1924 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COMPRESSION_HINT</code></span></dt><dd><p> | |
1925 | </p><p> | |
1926 | <em class="parameter"><code>params</code></em> returns a single value indicating the mode of the texture | |
1927 | compression hint. The initial value is <code class="constant">GL_DONT_CARE</code>. | |
1928 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COORD_ARRAY</code></span></dt><dd><p> | |
1929 | </p><p> | |
1930 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the texture | |
1931 | coordinate array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1932 | See <a class="citerefentry" href="glTexCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glTexCoordPointer</span></span></a>. | |
1933 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
1934 | </p><p> | |
1935 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
1936 | associated with the texture coordinate array. This buffer object would have been bound to the | |
1937 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
1938 | <a class="citerefentry" href="glTexCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glTexCoordPointer</span></span></a>. | |
1939 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
1940 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
1941 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COORD_ARRAY_SIZE</code></span></dt><dd><p> | |
1942 | </p><p> | |
1943 | <em class="parameter"><code>params</code></em> returns one value, | |
1944 | the number of coordinates per element in the texture coordinate | |
1945 | array. The initial value is 4. | |
1946 | See <a class="citerefentry" href="glTexCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glTexCoordPointer</span></span></a>. | |
1947 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COORD_ARRAY_STRIDE</code></span></dt><dd><p> | |
1948 | </p><p> | |
1949 | <em class="parameter"><code>params</code></em> returns one value, | |
1950 | the byte offset between consecutive elements in the texture coordinate | |
1951 | array. The initial value is 0. | |
1952 | See <a class="citerefentry" href="glTexCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glTexCoordPointer</span></span></a>. | |
1953 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_COORD_ARRAY_TYPE</code></span></dt><dd><p> | |
1954 | </p><p> | |
1955 | <em class="parameter"><code>params</code></em> returns one value, | |
1956 | the data type of the coordinates in the texture coordinate | |
1957 | array. The initial value is <code class="constant">GL_FLOAT</code>. | |
1958 | See <a class="citerefentry" href="glTexCoordPointer.xml"><span class="citerefentry"><span class="refentrytitle">glTexCoordPointer</span></span></a>. | |
1959 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_CUBE_MAP</code></span></dt><dd><p> | |
1960 | </p><p> | |
1961 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether cube-mapped texture | |
1962 | mapping is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1963 | See <a class="citerefentry" href="glTexImage2D.xml"><span class="citerefentry"><span class="refentrytitle">glTexImage2D</span></span></a>. | |
1964 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_GEN_Q</code></span></dt><dd><p> | |
1965 | </p><p> | |
1966 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether automatic generation | |
1967 | of the <span class="emphasis"><em>q</em></span> texture coordinate is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1968 | See <a class="citerefentry" href="glTexGen.xml"><span class="citerefentry"><span class="refentrytitle">glTexGen</span></span></a>. | |
1969 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_GEN_R</code></span></dt><dd><p> | |
1970 | </p><p> | |
1971 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether automatic generation | |
1972 | of the <span class="emphasis"><em>r</em></span> texture coordinate is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1973 | See <a class="citerefentry" href="glTexGen.xml"><span class="citerefentry"><span class="refentrytitle">glTexGen</span></span></a>. | |
1974 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_GEN_S</code></span></dt><dd><p> | |
1975 | </p><p> | |
1976 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether automatic generation | |
1977 | of the <span class="emphasis"><em>S</em></span> texture coordinate is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1978 | See <a class="citerefentry" href="glTexGen.xml"><span class="citerefentry"><span class="refentrytitle">glTexGen</span></span></a>. | |
1979 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_GEN_T</code></span></dt><dd><p> | |
1980 | </p><p> | |
1981 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether automatic generation | |
1982 | of the T texture coordinate is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
1983 | See <a class="citerefentry" href="glTexGen.xml"><span class="citerefentry"><span class="refentrytitle">glTexGen</span></span></a>. | |
1984 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_MATRIX</code></span></dt><dd><p> | |
1985 | </p><p> | |
1986 | <em class="parameter"><code>params</code></em> returns sixteen values: | |
1987 | the texture matrix on the top of the texture matrix stack. Initially this | |
1988 | matrix is the identity matrix. | |
1989 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1990 | </p></dd><dt><span class="term"><code class="constant">GL_TEXTURE_STACK_DEPTH</code></span></dt><dd><p> | |
1991 | </p><p> | |
1992 | <em class="parameter"><code>params</code></em> returns one value, | |
1993 | the number of matrices on the texture matrix stack. | |
1994 | The initial value is 1. | |
1995 | See <a class="citerefentry" href="glPushMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glPushMatrix</span></span></a>. | |
1996 | </p></dd><dt><span class="term"><code class="constant">GL_TRANSPOSE_COLOR_MATRIX</code></span></dt><dd><p> | |
1997 | </p><p> | |
1998 | <em class="parameter"><code>params</code></em> returns 16 values, the elements of the color matrix in row-major | |
1999 | order. | |
2000 | See <a class="citerefentry" href="glLoadTransposeMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glLoadTransposeMatrix</span></span></a>. | |
2001 | </p></dd><dt><span class="term"><code class="constant">GL_TRANSPOSE_MODELVIEW_MATRIX</code></span></dt><dd><p> | |
2002 | </p><p> | |
2003 | <em class="parameter"><code>params</code></em> returns 16 values, the elements of the modelview matrix in row-major | |
2004 | order. | |
2005 | See <a class="citerefentry" href="glLoadTransposeMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glLoadTransposeMatrix</span></span></a>. | |
2006 | </p></dd><dt><span class="term"><code class="constant">GL_TRANSPOSE_PROJECTION_MATRIX</code></span></dt><dd><p> | |
2007 | </p><p> | |
2008 | <em class="parameter"><code>params</code></em> returns 16 values, the elements of the projection matrix in row-major | |
2009 | order. | |
2010 | See <a class="citerefentry" href="glLoadTransposeMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glLoadTransposeMatrix</span></span></a>. | |
2011 | </p></dd><dt><span class="term"><code class="constant">GL_TRANSPOSE_TEXTURE_MATRIX</code></span></dt><dd><p> | |
2012 | </p><p> | |
2013 | <em class="parameter"><code>params</code></em> returns 16 values, the elements of the texture matrix in row-major | |
2014 | order. | |
2015 | See <a class="citerefentry" href="glLoadTransposeMatrix.xml"><span class="citerefentry"><span class="refentrytitle">glLoadTransposeMatrix</span></span></a>. | |
2016 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_ALIGNMENT</code></span></dt><dd><p> | |
2017 | </p><p> | |
2018 | <em class="parameter"><code>params</code></em> returns one value, | |
2019 | the byte alignment used for reading pixel data from memory. The initial | |
2020 | value is 4. | |
2021 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2022 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_IMAGE_HEIGHT</code></span></dt><dd><p> | |
2023 | </p><p> | |
2024 | <em class="parameter"><code>params</code></em> returns one value, | |
2025 | the image height used for reading pixel data from memory. The initial | |
2026 | is 0. | |
2027 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2028 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_LSB_FIRST</code></span></dt><dd><p> | |
2029 | </p><p> | |
2030 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether single-bit | |
2031 | pixels being read from memory are read first from the least significant | |
2032 | bit of each unsigned byte. The initial value is <code class="constant">GL_FALSE</code>. | |
2033 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2034 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_ROW_LENGTH</code></span></dt><dd><p> | |
2035 | </p><p> | |
2036 | <em class="parameter"><code>params</code></em> returns one value, | |
2037 | the row length used for reading pixel data from memory. The initial value | |
2038 | is 0. | |
2039 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2040 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SKIP_IMAGES</code></span></dt><dd><p> | |
2041 | </p><p> | |
2042 | <em class="parameter"><code>params</code></em> returns one value, | |
2043 | the number of pixel images skipped before the first pixel is read | |
2044 | from memory. The initial value is 0. | |
2045 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2046 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SKIP_PIXELS</code></span></dt><dd><p> | |
2047 | </p><p> | |
2048 | <em class="parameter"><code>params</code></em> returns one value, | |
2049 | the number of pixel locations skipped before the first pixel is read | |
2050 | from memory. The initial value is 0. | |
2051 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2052 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SKIP_ROWS</code></span></dt><dd><p> | |
2053 | </p><p> | |
2054 | <em class="parameter"><code>params</code></em> returns one value, | |
2055 | the number of rows of pixel locations skipped before the first pixel is read | |
2056 | from memory. The initial value is 0. | |
2057 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2058 | </p></dd><dt><span class="term"><code class="constant">GL_UNPACK_SWAP_BYTES</code></span></dt><dd><p> | |
2059 | </p><p> | |
2060 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the bytes of | |
2061 | two-byte and four-byte pixel indices and components are swapped after being | |
2062 | read from memory. The initial value is <code class="constant">GL_FALSE</code>. | |
2063 | See <a class="citerefentry" href="glPixelStore.xml"><span class="citerefentry"><span class="refentrytitle">glPixelStore</span></span></a>. | |
2064 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_ARRAY</code></span></dt><dd><p> | |
2065 | </p><p> | |
2066 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether the vertex | |
2067 | array is enabled. The initial value is <code class="constant">GL_FALSE</code>. | |
2068 | See <a class="citerefentry" href="glVertexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glVertexPointer</span></span></a>. | |
2069 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_ARRAY_BUFFER_BINDING</code></span></dt><dd><p> | |
2070 | </p><p> | |
2071 | <em class="parameter"><code>params</code></em> returns a single value, the name of the buffer object | |
2072 | associated with the vertex array. This buffer object would have been bound to the | |
2073 | target <code class="constant">GL_ARRAY_BUFFER</code> at the time of the most recent call to | |
2074 | <a class="citerefentry" href="glVertexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glVertexPointer</span></span></a>. | |
2075 | If no buffer object was bound to this target, 0 is returned. The initial value is 0. | |
2076 | See <a class="citerefentry" href="glBindBuffer.xml"><span class="citerefentry"><span class="refentrytitle">glBindBuffer</span></span></a>. | |
2077 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_ARRAY_SIZE</code></span></dt><dd><p> | |
2078 | </p><p> | |
2079 | <em class="parameter"><code>params</code></em> returns one value, | |
2080 | the number of coordinates per vertex in the vertex array. The initial | |
2081 | value is 4. | |
2082 | See <a class="citerefentry" href="glVertexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glVertexPointer</span></span></a>. | |
2083 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_ARRAY_STRIDE</code></span></dt><dd><p> | |
2084 | </p><p> | |
2085 | <em class="parameter"><code>params</code></em> returns one value, | |
2086 | the byte offset between consecutive vertices in the vertex | |
2087 | array. The initial value is 0. | |
2088 | See <a class="citerefentry" href="glVertexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glVertexPointer</span></span></a>. | |
2089 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_ARRAY_TYPE</code></span></dt><dd><p> | |
2090 | </p><p> | |
2091 | <em class="parameter"><code>params</code></em> returns one value, | |
2092 | the data type of each coordinate in the vertex array. The initial value is | |
2093 | <code class="constant">GL_FLOAT</code>. | |
2094 | See <a class="citerefentry" href="glVertexPointer.xml"><span class="citerefentry"><span class="refentrytitle">glVertexPointer</span></span></a>. | |
2095 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_PROGRAM_POINT_SIZE</code></span></dt><dd><p> | |
2096 | </p><p> | |
2097 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether vertex | |
2098 | program point size mode is enabled. If enabled, and a vertex shader is active, then the | |
2099 | point size is taken from the shader built-in <code class="code">gl_PointSize</code>. If disabled, | |
2100 | and a vertex shader is active, then the point size is taken from the point state as specified | |
2101 | by <a class="citerefentry" href="glPointSize.xml"><span class="citerefentry"><span class="refentrytitle">glPointSize</span></span></a>. | |
2102 | The initial value is <code class="constant">GL_FALSE</code>. | |
2103 | </p></dd><dt><span class="term"><code class="constant">GL_VERTEX_PROGRAM_TWO_SIDE</code></span></dt><dd><p> | |
2104 | </p><p> | |
2105 | <em class="parameter"><code>params</code></em> returns a single boolean value indicating whether vertex | |
2106 | program two-sided color mode is enabled. If enabled, and a vertex shader is active, then the | |
2107 | GL chooses the back color output for back-facing polygons, and the front color output for | |
2108 | non-polygons and front-facing polygons. If disabled, and a vertex shader is active, then the | |
2109 | front color output is always selected. The initial value is <code class="constant">GL_FALSE</code>. | |
2110 | </p></dd><dt><span class="term"><code class="constant">GL_VIEWPORT</code></span></dt><dd><p> | |
2111 | </p><p> | |
2112 | <em class="parameter"><code>params</code></em> returns four values: | |
2113 | the | |
2114 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math> | |
2115 | and | |
2116 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math> | |
2117 | window coordinates of the viewport, | |
2118 | followed by its width and height. | |
2119 | Initially the | |
2120 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math> | |
2121 | and | |
2122 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math> | |
2123 | window coordinates are both set to 0, | |
2124 | and the width and height are set to the width and height of the window into | |
2125 | which the GL will do its rendering. | |
2126 | See <a class="citerefentry" href="glViewport.xml"><span class="citerefentry"><span class="refentrytitle">glViewport</span></span></a>. | |
2127 | </p></dd><dt><span class="term"><code class="constant">GL_ZOOM_X</code></span></dt><dd><p> | |
2128 | </p><p> | |
2129 | <em class="parameter"><code>params</code></em> returns one value, | |
2130 | the | |
2131 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">x</mml:mi></mml:math> | |
2132 | pixel zoom factor. The initial value is 1. | |
2133 | See <a class="citerefentry" href="glPixelZoom.xml"><span class="citerefentry"><span class="refentrytitle">glPixelZoom</span></span></a>. | |
2134 | </p></dd><dt><span class="term"><code class="constant">GL_ZOOM_Y</code></span></dt><dd><p> | |
2135 | </p><p> | |
2136 | <em class="parameter"><code>params</code></em> returns one value, | |
2137 | the | |
2138 | <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" overflow="scroll"><mml:mi mathvariant="italic">y</mml:mi></mml:math> | |
2139 | pixel zoom factor. The initial value is 1. | |
2140 | See <a class="citerefentry" href="glPixelZoom.xml"><span class="citerefentry"><span class="refentrytitle">glPixelZoom</span></span></a>. | |
2141 | </p></dd></dl></div><p> | |
2142 | Many of the boolean parameters can also be queried more easily using | |
2143 | <a class="citerefentry" href="glIsEnabled.xml"><span class="citerefentry"><span class="refentrytitle">glIsEnabled</span></span></a>. | |
2144 | </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="notes"></a><h2>Notes</h2><p> | |
2145 | <code class="constant">GL_COLOR_LOGIC_OP</code>, | |
2146 | <code class="constant">GL_COLOR_ARRAY</code>, | |
2147 | <code class="constant">GL_COLOR_ARRAY_SIZE</code>, | |
2148 | <code class="constant">GL_COLOR_ARRAY_STRIDE</code>, | |
2149 | <code class="constant">GL_COLOR_ARRAY_TYPE</code>, | |
2150 | <code class="constant">GL_EDGE_FLAG_ARRAY</code>, | |
2151 | <code class="constant">GL_EDGE_FLAG_ARRAY_STRIDE</code>, | |
2152 | <code class="constant">GL_INDEX_ARRAY</code>, | |
2153 | <code class="constant">GL_INDEX_ARRAY_STRIDE</code>, | |
2154 | <code class="constant">GL_INDEX_ARRAY_TYPE</code>, | |
2155 | <code class="constant">GL_INDEX_LOGIC_OP</code>, | |
2156 | <code class="constant">GL_NORMAL_ARRAY</code>, | |
2157 | <code class="constant">GL_NORMAL_ARRAY_STRIDE</code>, | |
2158 | <code class="constant">GL_NORMAL_ARRAY_TYPE</code>, | |
2159 | <code class="constant">GL_POLYGON_OFFSET_UNITS</code>, | |
2160 | <code class="constant">GL_POLYGON_OFFSET_FACTOR</code>, | |
2161 | <code class="constant">GL_POLYGON_OFFSET_FILL</code>, | |
2162 | <code class="constant">GL_POLYGON_OFFSET_LINE</code>, | |
2163 | <code class="constant">GL_POLYGON_OFFSET_POINT</code>, | |
2164 | <code class="constant">GL_TEXTURE_COORD_ARRAY</code>, | |
2165 | <code class="constant">GL_TEXTURE_COORD_ARRAY_SIZE</code>, | |
2166 | <code class="constant">GL_TEXTURE_COORD_ARRAY_STRIDE</code>, | |
2167 | <code class="constant">GL_TEXTURE_COORD_ARRAY_TYPE</code>, | |
2168 | <code class="constant">GL_VERTEX_ARRAY</code>, | |
2169 | <code class="constant">GL_VERTEX_ARRAY_SIZE</code>, | |
2170 | <code class="constant">GL_VERTEX_ARRAY_STRIDE</code>, and | |
2171 | <code class="constant">GL_VERTEX_ARRAY_TYPE</code> | |
2172 | are available only if the GL version is 1.1 or greater. | |
2173 | </p><p> | |
2174 | <code class="constant">GL_ALIASED_POINT_SIZE_RANGE</code>, | |
2175 | <code class="constant">GL_FEEDBACK_BUFFER_SIZE</code>, | |
2176 | <code class="constant">GL_FEEDBACK_BUFFER_TYPE</code>, | |
2177 | <code class="constant">GL_LIGHT_MODEL_AMBIENT</code>, | |
2178 | <code class="constant">GL_LIGHT_MODEL_COLOR_CONTROL</code>, | |
2179 | <code class="constant">GL_MAX_3D_TEXTURE_SIZE</code>, | |
2180 | <code class="constant">GL_MAX_ELEMENTS_INDICES</code>, | |
2181 | <code class="constant">GL_MAX_ELEMENTS_VERTICES</code>, | |
2182 | <code class="constant">GL_PACK_IMAGE_HEIGHT</code>, | |
2183 | <code class="constant">GL_PACK_SKIP_IMAGES</code>, | |
2184 | <code class="constant">GL_RESCALE_NORMAL</code>, | |
2185 | <code class="constant">GL_SELECTION_BUFFER_SIZE</code>, | |
2186 | <code class="constant">GL_SMOOTH_LINE_WIDTH_GRANULARITY</code>, | |
2187 | <code class="constant">GL_SMOOTH_LINE_WIDTH_RANGE</code>, | |
2188 | <code class="constant">GL_SMOOTH_POINT_SIZE_GRANULARITY</code>, | |
2189 | <code class="constant">GL_SMOOTH_POINT_SIZE_RANGE</code>, | |
2190 | <code class="constant">GL_TEXTURE_3D</code>, | |
2191 | <code class="constant">GL_TEXTURE_BINDING_3D</code>, | |
2192 | <code class="constant">GL_UNPACK_IMAGE_HEIGHT</code>, and | |
2193 | <code class="constant">GL_UNPACK_SKIP_IMAGES</code> | |
2194 | are available only if the GL version is 1.2 or greater. | |
2195 | </p><p> | |
2196 | <code class="constant">GL_COMPRESSED_TEXTURE_FORMATS</code>, | |
2197 | <code class="constant">GL_NUM_COMPRESSED_TEXTURE_FORMATS</code>, | |
2198 | <code class="constant">GL_TEXTURE_BINDING_CUBE_MAP</code>, and | |
2199 | <code class="constant">GL_TEXTURE_COMPRESSION_HINT</code> | |
2200 | are available only if the GL version is 1.3 or greater. | |
2201 | </p><p> | |
2202 | <code class="constant">GL_BLEND_DST_ALPHA</code>, | |
2203 | <code class="constant">GL_BLEND_DST_RGB</code>, | |
2204 | <code class="constant">GL_BLEND_SRC_ALPHA</code>, | |
2205 | <code class="constant">GL_BLEND_SRC_RGB</code>, | |
2206 | <code class="constant">GL_CURRENT_FOG_COORD</code>, | |
2207 | <code class="constant">GL_CURRENT_SECONDARY_COLOR</code>, | |
2208 | <code class="constant">GL_FOG_COORD_ARRAY_STRIDE</code>, | |
2209 | <code class="constant">GL_FOG_COORD_ARRAY_TYPE</code>, | |
2210 | <code class="constant">GL_FOG_COORD_SRC</code>, | |
2211 | <code class="constant">GL_MAX_TEXTURE_LOD_BIAS</code>, | |
2212 | <code class="constant">GL_POINT_SIZE_MIN</code>, | |
2213 | <code class="constant">GL_POINT_SIZE_MAX</code>, | |
2214 | <code class="constant">GL_POINT_FADE_THRESHOLD_SIZE</code>, | |
2215 | <code class="constant">GL_POINT_DISTANCE_ATTENUATION</code>, | |
2216 | <code class="constant">GL_SECONDARY_COLOR_ARRAY_SIZE</code>, | |
2217 | <code class="constant">GL_SECONDARY_COLOR_ARRAY_STRIDE</code>, and | |
2218 | <code class="constant">GL_SECONDARY_COLOR_ARRAY_TYPE</code> | |
2219 | are available only if the GL version is 1.4 or greater. | |
2220 | </p><p> | |
2221 | <code class="constant">GL_ARRAY_BUFFER_BINDING</code>, | |
2222 | <code class="constant">GL_COLOR_ARRAY_BUFFER_BINDING</code>, | |
2223 | <code class="constant">GL_EDGE_FLAG_ARRAY_BUFFER_BINDING</code>, | |
2224 | <code class="constant">GL_ELEMENT_ARRAY_BUFFER_BINDING</code>, | |
2225 | <code class="constant">GL_FOG_COORD_ARRAY_BUFFER_BINDING</code>, | |
2226 | <code class="constant">GL_INDEX_ARRAY_BUFFER_BINDING</code>, | |
2227 | <code class="constant">GL_NORMAL_ARRAY_BUFFER_BINDING</code>, | |
2228 | <code class="constant">GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING</code>, | |
2229 | <code class="constant">GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</code>, and | |
2230 | <code class="constant">GL_VERTEX_ARRAY_BUFFER_BINDING</code> | |
2231 | are available only if the GL version is 1.5 or greater. | |
2232 | </p><p> | |
2233 | <code class="constant">GL_BLEND_EQUATION_ALPHA</code>, | |
2234 | <code class="constant">GL_BLEND_EQUATION_RGB</code>, | |
2235 | <code class="constant">GL_DRAW_BUFFER</code><span class="emphasis"><em>i</em></span>, | |
2236 | <code class="constant">GL_FRAGMENT_SHADER_DERIVATIVE_HINT</code>, | |
2237 | <code class="constant">GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS</code>, | |
2238 | <code class="constant">GL_MAX_DRAW_BUFFERS</code>, | |
2239 | <code class="constant">GL_MAX_FRAGMENT_UNIFORM_COMPONENTS</code>, | |
2240 | <code class="constant">GL_MAX_TEXTURE_COORDS</code>, | |
2241 | <code class="constant">GL_MAX_TEXTURE_IMAGE_UNITS</code>, | |
2242 | <code class="constant">GL_MAX_VARYING_FLOATS</code>, | |
2243 | <code class="constant">GL_MAX_VERTEX_ATTRIBS</code>, | |
2244 | <code class="constant">GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS</code>, | |
2245 | <code class="constant">GL_MAX_VERTEX_UNIFORM_COMPONENTS</code>, | |
2246 | <code class="constant">GL_POINT_SPRITE</code>, | |
2247 | <code class="constant">GL_STENCIL_BACK_FAIL</code>, | |
2248 | <code class="constant">GL_STENCIL_BACK_FUNC</code>, | |
2249 | <code class="constant">GL_STENCIL_BACK_PASS_DEPTH_FAIL</code>, | |
2250 | <code class="constant">GL_STENCIL_BACK_PASS_DEPTH_PASS</code>, | |
2251 | <code class="constant">GL_STENCIL_BACK_REF</code>, | |
2252 | <code class="constant">GL_STENCIL_BACK_VALUE_MASK</code>, | |
2253 | <code class="constant">GL_STENCIL_BACK_WRITEMASK</code>, | |
2254 | <code class="constant">GL_VERTEX_PROGRAM_POINT_SIZE</code>, and | |
2255 | <code class="constant">GL_VERTEX_PROGRAM_TWO_SIDE</code> | |
2256 | are available only if the GL version is 2.0 or greater. | |
2257 | </p><p> | |
2258 | <code class="constant">GL_CURRENT_RASTER_SECONDARY_COLOR</code>, | |
2259 | <code class="constant">GL_PIXEL_PACK_BUFFER_BINDING</code> and | |
2260 | <code class="constant">GL_PIXEL_UNPACK_BUFFER_BINDING</code> | |
2261 | are available only if the GL version is 2.1 or greater. | |
2262 | </p><p> | |
2263 | <code class="constant">GL_LINE_WIDTH_GRANULARITY</code> was deprecated in GL version 1.2. Its | |
2264 | functionality was replaced by <code class="constant">GL_SMOOTH_LINE_WIDTH_GRANULARITY</code>. | |
2265 | </p><p> | |
2266 | <code class="constant">GL_LINE_WIDTH_RANGE</code> was deprecated in GL version 1.2. Its | |
2267 | functionality was replaced by <code class="constant">GL_SMOOTH_LINE_WIDTH_RANGE</code>. | |
2268 | </p><p> | |
2269 | <code class="constant">GL_POINT_SIZE_GRANULARITY</code> was deprecated in GL version 1.2. Its | |
2270 | functionality was replaced by <code class="constant">GL_SMOOTH_POINT_SIZE_GRANULARITY</code>. | |
2271 | </p><p> | |
2272 | <code class="constant">GL_POINT_SIZE_RANGE</code> was deprecated in GL version 1.2. Its | |
2273 | functionality was replaced by <code class="constant">GL_SMOOTH_POINT_SIZE_RANGE</code>. | |
2274 | </p><p> | |
2275 | <code class="constant">GL_BLEND_EQUATION</code> was deprecated in GL version 2.0. Its | |
2276 | functionality was replaced by <code class="constant">GL_BLEND_EQUATION_RGB</code> and | |
2277 | <code class="constant">GL_BLEND_EQUATION_ALPHA</code>. | |
2278 | </p><p> | |
2279 | <code class="constant">GL_COLOR_MATRIX</code>, | |
2280 | <code class="constant">GL_COLOR_MATRIX_STACK_DEPTH</code>, | |
2281 | <code class="constant">GL_COLOR_TABLE</code>, | |
2282 | <code class="constant">GL_CONVOLUTION_1D</code>, | |
2283 | <code class="constant">GL_CONVOLUTION_2D</code>, | |
2284 | <code class="constant">GL_HISTOGRAM</code>, | |
2285 | <code class="constant">GL_MAX_COLOR_MATRIX_STACK_DEPTH</code>, | |
2286 | <code class="constant">GL_MINMAX</code>, | |
2287 | <code class="constant">GL_POST_COLOR_MATRIX_COLOR_TABLE</code>, | |
2288 | <code class="constant">GL_POST_COLOR_MATRIX_RED_BIAS</code>, | |
2289 | <code class="constant">GL_POST_COLOR_MATRIX_GREEN_BIAS</code>, | |
2290 | <code class="constant">GL_POST_COLOR_MATRIX_BLUE_BIAS</code>, | |
2291 | <code class="constant">GL_POST_COLOR_MATRIX_ALPHA_BIAS</code>, | |
2292 | <code class="constant">GL_POST_COLOR_MATRIX_RED_SCALE</code>, | |
2293 | <code class="constant">GL_POST_COLOR_MATRIX_GREEN_SCALE</code>, | |
2294 | <code class="constant">GL_POST_COLOR_MATRIX_BLUE_SCALE</code>, | |
2295 | <code class="constant">GL_POST_COLOR_MATRIX_ALPHA_SCALE</code>, | |
2296 | <code class="constant">GL_POST_CONVOLUTION_COLOR_TABLE</code>, | |
2297 | <code class="constant">GL_POST_CONVOLUTION_RED_BIAS</code>, | |
2298 | <code class="constant">GL_POST_CONVOLUTION_GREEN_BIAS</code>, | |
2299 | <code class="constant">GL_POST_CONVOLUTION_BLUE_BIAS</code>, | |
2300 | <code class="constant">GL_POST_CONVOLUTION_ALPHA_BIAS</code>, | |
2301 | <code class="constant">GL_POST_CONVOLUTION_RED_SCALE</code>, | |
2302 | <code class="constant">GL_POST_CONVOLUTION_GREEN_SCALE</code>, | |
2303 | <code class="constant">GL_POST_CONVOLUTION_BLUE_SCALE</code>, | |
2304 | <code class="constant">GL_POST_CONVOLUTION_ALPHA_SCALE</code>, and | |
2305 | <code class="constant">GL_SEPARABLE_2D</code> | |
2306 | are available only if <code class="code">ARB_imaging</code> is returned from <code class="function">glGet</code> | |
2307 | when called with the argument <code class="constant">GL_EXTENSIONS</code>. | |
2308 | </p><p> | |
2309 | When the <code class="code">ARB_multitexture</code> extension is supported, or the GL version | |
2310 | is 1.3 or greater, the following | |
2311 | parameters return the associated value for the active texture unit: | |
2312 | <code class="constant">GL_CURRENT_RASTER_TEXTURE_COORDS</code>, | |
2313 | <code class="constant">GL_TEXTURE_1D</code>, <code class="constant">GL_TEXTURE_BINDING_1D</code>, | |
2314 | <code class="constant">GL_TEXTURE_2D</code>, <code class="constant">GL_TEXTURE_BINDING_2D</code>, | |
2315 | <code class="constant">GL_TEXTURE_3D</code>, <code class="constant">GL_TEXTURE_BINDING_3D</code>, | |
2316 | <code class="constant">GL_TEXTURE_GEN_S</code>, | |
2317 | <code class="constant">GL_TEXTURE_GEN_T</code>, | |
2318 | <code class="constant">GL_TEXTURE_GEN_R</code>, | |
2319 | <code class="constant">GL_TEXTURE_GEN_Q</code>, | |
2320 | <code class="constant">GL_TEXTURE_MATRIX</code>, and | |
2321 | <code class="constant">GL_TEXTURE_STACK_DEPTH</code>. | |
2322 | Likewise, the following parameters return the associated value for the | |
2323 | active client texture unit: | |
2324 | <code class="constant">GL_TEXTURE_COORD_ARRAY</code>, | |
2325 | <code class="constant">GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING</code>, | |
2326 | <code class="constant">GL_TEXTURE_COORD_ARRAY_SIZE</code>, | |
2327 | <code class="constant">GL_TEXTURE_COORD_ARRAY_STRIDE</code>, | |
2328 | <code class="constant">GL_TEXTURE_COORD_ARRAY_TYPE</code>. | |
2329 | </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="errors"></a><h2>Errors</h2><p> | |
2330 | <code class="constant">GL_INVALID_ENUM</code> is generated if <em class="parameter"><code>pname</code></em> is not an accepted value. | |
2331 | </p><p> | |
2332 | <code class="constant">GL_INVALID_OPERATION</code> is generated if <code class="function">glGet</code> | |
2333 | is executed between the execution of <a class="citerefentry" href="glBegin.xml"><span class="citerefentry"><span class="refentrytitle">glBegin</span></span></a> | |
2334 | and the corresponding execution of <a class="citerefentry" href="glEnd.xml"><span class="citerefentry"><span class="refentrytitle">glEnd</span></span></a>. | |
2335 | </p><p> | |
2336 | </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="seealso"></a><h2>See Also</h2><p> | |
2337 | <a class="citerefentry" href="glGetActiveAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glGetActiveAttrib</span></span></a>, | |
2338 | <a class="citerefentry" href="glGetActiveUniform.xml"><span class="citerefentry"><span class="refentrytitle">glGetActiveUniform</span></span></a>, | |
2339 | <a class="citerefentry" href="glGetAttachedShaders.xml"><span class="citerefentry"><span class="refentrytitle">glGetAttachedShaders</span></span></a>, | |
2340 | <a class="citerefentry" href="glGetAttribLocation.xml"><span class="citerefentry"><span class="refentrytitle">glGetAttribLocation</span></span></a>, | |
2341 | <a class="citerefentry" href="glGetBufferParameteriv.xml"><span class="citerefentry"><span class="refentrytitle">glGetBufferParameteriv</span></span></a>, | |
2342 | <a class="citerefentry" href="glGetBufferPointerv.xml"><span class="citerefentry"><span class="refentrytitle">glGetBufferPointerv</span></span></a>, | |
2343 | <a class="citerefentry" href="glGetBufferSubData.xml"><span class="citerefentry"><span class="refentrytitle">glGetBufferSubData</span></span></a>, | |
2344 | <a class="citerefentry" href="glGetClipPlane.xml"><span class="citerefentry"><span class="refentrytitle">glGetClipPlane</span></span></a>, | |
2345 | <a class="citerefentry" href="glGetColorTable.xml"><span class="citerefentry"><span class="refentrytitle">glGetColorTable</span></span></a>, | |
2346 | <a class="citerefentry" href="glGetColorTableParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetColorTableParameter</span></span></a>, | |
2347 | <a class="citerefentry" href="glGetCompressedTexImage.xml"><span class="citerefentry"><span class="refentrytitle">glGetCompressedTexImage</span></span></a>, | |
2348 | <a class="citerefentry" href="glGetConvolutionFilter.xml"><span class="citerefentry"><span class="refentrytitle">glGetConvolutionFilter</span></span></a>, | |
2349 | <a class="citerefentry" href="glGetConvolutionParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetConvolutionParameter</span></span></a>, | |
2350 | <a class="citerefentry" href="glGetError.xml"><span class="citerefentry"><span class="refentrytitle">glGetError</span></span></a>, | |
2351 | <a class="citerefentry" href="glGetHistogram.xml"><span class="citerefentry"><span class="refentrytitle">glGetHistogram</span></span></a>, | |
2352 | <a class="citerefentry" href="glGetHistogramParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetHistogramParameter</span></span></a>, | |
2353 | <a class="citerefentry" href="glGetLight.xml"><span class="citerefentry"><span class="refentrytitle">glGetLight</span></span></a>, | |
2354 | <a class="citerefentry" href="glGetMap.xml"><span class="citerefentry"><span class="refentrytitle">glGetMap</span></span></a>, | |
2355 | <a class="citerefentry" href="glGetMaterial.xml"><span class="citerefentry"><span class="refentrytitle">glGetMaterial</span></span></a>, | |
2356 | <a class="citerefentry" href="glGetMinmax.xml"><span class="citerefentry"><span class="refentrytitle">glGetMinmax</span></span></a>, | |
2357 | <a class="citerefentry" href="glGetMinmaxParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetMinmaxParameter</span></span></a>, | |
2358 | <a class="citerefentry" href="glGetPixelMap.xml"><span class="citerefentry"><span class="refentrytitle">glGetPixelMap</span></span></a>, | |
2359 | <a class="citerefentry" href="glGetPointerv.xml"><span class="citerefentry"><span class="refentrytitle">glGetPointerv</span></span></a>, | |
2360 | <a class="citerefentry" href="glGetPolygonStipple.xml"><span class="citerefentry"><span class="refentrytitle">glGetPolygonStipple</span></span></a>, | |
2361 | <a class="citerefentry" href="glGetProgram.xml"><span class="citerefentry"><span class="refentrytitle">glGetProgram</span></span></a>, | |
2362 | <a class="citerefentry" href="glGetProgramInfoLog.xml"><span class="citerefentry"><span class="refentrytitle">glGetProgramInfoLog</span></span></a>, | |
2363 | <a class="citerefentry" href="glGetQueryiv.xml"><span class="citerefentry"><span class="refentrytitle">glGetQueryiv</span></span></a>, | |
2364 | <a class="citerefentry" href="glGetQueryObject.xml"><span class="citerefentry"><span class="refentrytitle">glGetQueryObject</span></span></a>, | |
2365 | <a class="citerefentry" href="glGetSeparableFilter.xml"><span class="citerefentry"><span class="refentrytitle">glGetSeparableFilter</span></span></a>, | |
2366 | <a class="citerefentry" href="glGetShader.xml"><span class="citerefentry"><span class="refentrytitle">glGetShader</span></span></a>, | |
2367 | <a class="citerefentry" href="glGetShaderInfoLog.xml"><span class="citerefentry"><span class="refentrytitle">glGetShaderInfoLog</span></span></a>, | |
2368 | <a class="citerefentry" href="glGetShaderSource.xml"><span class="citerefentry"><span class="refentrytitle">glGetShaderSource</span></span></a>, | |
2369 | <a class="citerefentry" href="glGetString.xml"><span class="citerefentry"><span class="refentrytitle">glGetString</span></span></a>, | |
2370 | <a class="citerefentry" href="glGetTexEnv.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexEnv</span></span></a>, | |
2371 | <a class="citerefentry" href="glGetTexGen.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexGen</span></span></a>, | |
2372 | <a class="citerefentry" href="glGetTexImage.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexImage</span></span></a>, | |
2373 | <a class="citerefentry" href="glGetTexLevelParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexLevelParameter</span></span></a>, | |
2374 | <a class="citerefentry" href="glGetTexParameter.xml"><span class="citerefentry"><span class="refentrytitle">glGetTexParameter</span></span></a>, | |
2375 | <a class="citerefentry" href="glGetUniform.xml"><span class="citerefentry"><span class="refentrytitle">glGetUniform</span></span></a>, | |
2376 | <a class="citerefentry" href="glGetUniformLocation.xml"><span class="citerefentry"><span class="refentrytitle">glGetUniformLocation</span></span></a>, | |
2377 | <a class="citerefentry" href="glGetVertexAttrib.xml"><span class="citerefentry"><span class="refentrytitle">glGetVertexAttrib</span></span></a>, | |
2378 | <a class="citerefentry" href="glGetVertexAttribPointerv.xml"><span class="citerefentry"><span class="refentrytitle">glGetVertexAttribPointerv</span></span></a>, | |
2379 | <a class="citerefentry" href="glIsEnabled.xml"><span class="citerefentry"><span class="refentrytitle">glIsEnabled</span></span></a> | |
2380 | </p></div><div class="refsect1" lang="en" xml:lang="en"><a id="Copyright"></a><h2>Copyright</h2><p> | |
2381 | Copyright <span class="trademark"></span>© 1991-2006 | |
2382 | Silicon Graphics, Inc. This document is licensed under the SGI | |
2383 | Free Software B License. For details, see | |
2384 | <a class="ulink" href="http://oss.sgi.com/projects/FreeB/" target="_top">http://oss.sgi.com/projects/FreeB/</a>. | |
2385 | </p></div></div></body></html> |