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>glBegin
</title><meta name=
"generator" content=
"DocBook XSL Stylesheets V1.73.2" /></head><body><div class=
"refentry" lang=
"en" xml:
lang=
"en"><a id=
"glBegin"></a><div class=
"titlepage"></div><div class=
"refnamediv"><h2>Name
</h2><p>glBegin — delimit the vertices of a primitive or a group of like primitives
</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">glBegin
</b>(
</code></td><td>GLenum
</td><td><var class=
"pdparam">mode
</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>mode
</code></em></span></dt><dd><p>
4 Specifies the primitive or primitives that will be created from vertices
5 presented between
<code class=
"function">glBegin
</code> and the subsequent
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>.
6 Ten symbolic constants are accepted:
7 <code class=
"constant">GL_POINTS
</code>,
8 <code class=
"constant">GL_LINES
</code>,
9 <code class=
"constant">GL_LINE_STRIP
</code>,
10 <code class=
"constant">GL_LINE_LOOP
</code>,
11 <code class=
"constant">GL_TRIANGLES
</code>,
12 <code class=
"constant">GL_TRIANGLE_STRIP
</code>,
13 <code class=
"constant">GL_TRIANGLE_FAN
</code>,
14 <code class=
"constant">GL_QUADS
</code>,
15 <code class=
"constant">GL_QUAD_STRIP
</code>, and
16 <code class=
"constant">GL_POLYGON
</code>.
17 </p></dd></dl></div></div><div class=
"refsynopsisdiv"><h2>C Specification
</h2><div class=
"funcsynopsis"><table border=
"0" summary=
"Function synopsis" cellspacing=
"0" cellpadding=
"0"><tr><td><code class=
"funcdef">void
<b class=
"fsfunc">glEnd
</b>(
</code></td><td> </td><td><var class=
"pdparam">void
</var><code>)
</code>;
</td></tr></table></div></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"description"></a><h2>Description
</h2><p>
18 <code class=
"function">glBegin
</code> and
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a> delimit the vertices that define a primitive or
19 a group of like primitives.
20 <code class=
"function">glBegin
</code> accepts a single argument that specifies in which of ten ways the
21 vertices are interpreted.
23 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
24 as an integer count starting at one,
26 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">N
</mml:mi></mml:math>
27 as the total number of vertices specified,
28 the interpretations are as follows:
29 </p><div class=
"variablelist"><dl><dt><span class=
"term"><code class=
"constant">GL_POINTS
</code></span></dt><dd><p>
30 Treats each vertex as a single point.
32 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
34 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
35 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">N
</mml:mi></mml:math>
37 </p></dd><dt><span class=
"term"><code class=
"constant">GL_LINES
</code></span></dt><dd><p>
38 Treats each pair of vertices as an independent line segment.
40 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
45 <mml:mi mathvariant=
"italic">n
</mml:mi>
51 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
56 <mml:mi mathvariant=
"italic">n
</mml:mi>
60 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
61 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
64 <mml:mi mathvariant=
"italic">N
</mml:mi>
69 </p></dd><dt><span class=
"term"><code class=
"constant">GL_LINE_STRIP
</code></span></dt><dd><p>
70 Draws a connected group of line segments from the first vertex
73 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
75 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
78 <mml:mi mathvariant=
"italic">n
</mml:mi>
84 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
85 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
88 <mml:mi mathvariant=
"italic">N
</mml:mi>
94 </p></dd><dt><span class=
"term"><code class=
"constant">GL_LINE_LOOP
</code></span></dt><dd><p>
95 Draws a connected group of line segments from the first vertex
97 then back to the first.
99 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>
101 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
104 <mml:mi mathvariant=
"italic">n
</mml:mi>
110 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
111 The last line, however, is defined by vertices
112 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">N
</mml:mi></mml:math>
114 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
118 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">N
</mml:mi></mml:math>
120 </p></dd><dt><span class=
"term"><code class=
"constant">GL_TRIANGLES
</code></span></dt><dd><p>
121 Treats each triplet of vertices as an independent triangle.
123 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
128 <mml:mi mathvariant=
"italic">n
</mml:mi>
133 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
138 <mml:mi mathvariant=
"italic">n
</mml:mi>
144 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
149 <mml:mi mathvariant=
"italic">n
</mml:mi>
153 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
154 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
157 <mml:mi mathvariant=
"italic">N
</mml:mi>
162 </p></dd><dt><span class=
"term"><code class=
"constant">GL_TRIANGLE_STRIP
</code></span></dt><dd><p>
163 Draws a connected group of triangles. One triangle is defined for each
164 vertex presented after the first two vertices. For odd
165 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>,
167 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>,
168 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
171 <mml:mi mathvariant=
"italic">n
</mml:mi>
177 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
180 <mml:mi mathvariant=
"italic">n
</mml:mi>
186 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
188 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>,
190 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
193 <mml:mi mathvariant=
"italic">n
</mml:mi>
198 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>,
200 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
203 <mml:mi mathvariant=
"italic">n
</mml:mi>
209 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
210 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
213 <mml:mi mathvariant=
"italic">N
</mml:mi>
220 </p></dd><dt><span class=
"term"><code class=
"constant">GL_TRIANGLE_FAN
</code></span></dt><dd><p>
221 Draws a connected group of triangles.
222 One triangle is defined for each vertex presented after the first two vertices.
224 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
228 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
231 <mml:mi mathvariant=
"italic">n
</mml:mi>
237 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
240 <mml:mi mathvariant=
"italic">n
</mml:mi>
246 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
247 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
250 <mml:mi mathvariant=
"italic">N
</mml:mi>
256 </p></dd><dt><span class=
"term"><code class=
"constant">GL_QUADS
</code></span></dt><dd><p>
257 Treats each group of four vertices as an independent quadrilateral.
259 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
264 <mml:mi mathvariant=
"italic">n
</mml:mi>
269 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
274 <mml:mi mathvariant=
"italic">n
</mml:mi>
279 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
284 <mml:mi mathvariant=
"italic">n
</mml:mi>
290 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
295 <mml:mi mathvariant=
"italic">n
</mml:mi>
299 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
300 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
303 <mml:mi mathvariant=
"italic">N
</mml:mi>
307 quadrilaterals are drawn.
308 </p></dd><dt><span class=
"term"><code class=
"constant">GL_QUAD_STRIP
</code></span></dt><dd><p>
309 Draws a connected group of quadrilaterals.
310 One quadrilateral is defined for each pair of vertices presented
311 after the first pair.
313 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
318 <mml:mi mathvariant=
"italic">n
</mml:mi>
323 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
328 <mml:mi mathvariant=
"italic">n
</mml:mi>
331 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
336 <mml:mi mathvariant=
"italic">n
</mml:mi>
342 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
347 <mml:mi mathvariant=
"italic">n
</mml:mi>
353 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">n
</mml:mi></mml:math>.
354 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
358 <mml:mi mathvariant=
"italic">N
</mml:mi>
365 quadrilaterals are drawn.
366 Note that the order in which vertices are used to construct a quadrilateral
367 from strip data is different from that used with independent data.
368 </p></dd><dt><span class=
"term"><code class=
"constant">GL_POLYGON
</code></span></dt><dd><p>
372 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll">
377 <mml:math xmlns:
mml=
"http://www.w3.org/1998/Math/MathML" overflow=
"scroll"><mml:mi mathvariant=
"italic">N
</mml:mi></mml:math>
379 </p></dd></dl></div><p>
380 Only a subset of GL commands can be used between
<code class=
"function">glBegin
</code> and
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>.
382 <a class=
"citerefentry" href=
"glVertex.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertex
</span></span></a>,
383 <a class=
"citerefentry" href=
"glColor.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glColor
</span></span></a>,
384 <a class=
"citerefentry" href=
"glSecondaryColor.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glSecondaryColor
</span></span></a>,
385 <a class=
"citerefentry" href=
"glIndex.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glIndex
</span></span></a>,
386 <a class=
"citerefentry" href=
"glNormal.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glNormal
</span></span></a>,
387 <a class=
"citerefentry" href=
"glFogCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glFogCoord
</span></span></a>,
388 <a class=
"citerefentry" href=
"glTexCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexCoord
</span></span></a>,
389 <a class=
"citerefentry" href=
"glMultiTexCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glMultiTexCoord
</span></span></a>,
390 <a class=
"citerefentry" href=
"glVertexAttrib.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertexAttrib
</span></span></a>,
391 <a class=
"citerefentry" href=
"glEvalCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEvalCoord
</span></span></a>,
392 <a class=
"citerefentry" href=
"glEvalPoint.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEvalPoint
</span></span></a>,
393 <a class=
"citerefentry" href=
"glArrayElement.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glArrayElement
</span></span></a>,
394 <a class=
"citerefentry" href=
"glMaterial.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glMaterial
</span></span></a>, and
395 <a class=
"citerefentry" href=
"glEdgeFlag.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEdgeFlag
</span></span></a>.
397 it is acceptable to use
398 <a class=
"citerefentry" href=
"glCallList.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCallList
</span></span></a> or
399 <a class=
"citerefentry" href=
"glCallLists.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCallLists
</span></span></a> to execute
400 display lists that include only the preceding commands.
401 If any other GL command is executed between
<code class=
"function">glBegin
</code> and
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>,
402 the error flag is set and the command is ignored.
404 Regardless of the value chosen for
<em class=
"parameter"><code>mode
</code></em>,
405 there is no limit to the number of vertices that can be defined
406 between
<code class=
"function">glBegin
</code> and
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>.
410 and polygons that are incompletely specified are not drawn.
411 Incomplete specification results when either too few vertices are
412 provided to specify even a single primitive or when an incorrect multiple
413 of vertices is specified. The incomplete primitive is ignored; the rest are drawn.
415 The minimum specification of vertices
416 for each primitive is as follows:
420 4 for a quadrilateral,
422 Modes that require a certain multiple of vertices are
423 <code class=
"constant">GL_LINES
</code> (
2),
424 <code class=
"constant">GL_TRIANGLES
</code> (
3),
425 <code class=
"constant">GL_QUADS
</code> (
4),
426 and
<code class=
"constant">GL_QUAD_STRIP
</code> (
2).
427 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"errors"></a><h2>Errors
</h2><p>
428 <code class=
"constant">GL_INVALID_ENUM
</code> is generated if
<em class=
"parameter"><code>mode
</code></em> is set to an unaccepted value.
430 <code class=
"constant">GL_INVALID_OPERATION
</code> is generated if
<code class=
"function">glBegin
</code> is executed between a
431 <code class=
"function">glBegin
</code>
432 and the corresponding execution of
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>.
434 <code class=
"constant">GL_INVALID_OPERATION
</code> is generated if
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a> is executed without being
435 preceded by a
<code class=
"function">glBegin
</code>.
437 <code class=
"constant">GL_INVALID_OPERATION
</code> is generated if a command other than
438 <a class=
"citerefentry" href=
"glVertex.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertex
</span></span></a>,
439 <a class=
"citerefentry" href=
"glColor.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glColor
</span></span></a>,
440 <a class=
"citerefentry" href=
"glSecondaryColor.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glSecondaryColor
</span></span></a>,
441 <a class=
"citerefentry" href=
"glIndex.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glIndex
</span></span></a>,
442 <a class=
"citerefentry" href=
"glNormal.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glNormal
</span></span></a>,
443 <a class=
"citerefentry" href=
"glFogCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glFogCoord
</span></span></a>,
444 <a class=
"citerefentry" href=
"glTexCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexCoord
</span></span></a>,
445 <a class=
"citerefentry" href=
"glMultiTexCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glMultiTexCoord
</span></span></a>,
446 <a class=
"citerefentry" href=
"glVertexAttrib.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertexAttrib
</span></span></a>,
447 <a class=
"citerefentry" href=
"glEvalCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEvalCoord
</span></span></a>,
448 <a class=
"citerefentry" href=
"glEvalPoint.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEvalPoint
</span></span></a>,
449 <a class=
"citerefentry" href=
"glArrayElement.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glArrayElement
</span></span></a>,
450 <a class=
"citerefentry" href=
"glMaterial.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glMaterial
</span></span></a>,
451 <a class=
"citerefentry" href=
"glEdgeFlag.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEdgeFlag
</span></span></a>,
452 <a class=
"citerefentry" href=
"glCallList.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCallList
</span></span></a>, or
453 <a class=
"citerefentry" href=
"glCallLists.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCallLists
</span></span></a> is executed between
454 the execution of
<code class=
"function">glBegin
</code> and the corresponding
455 execution
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>.
458 <a class=
"citerefentry" href=
"glEnableClientState.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnableClientState
</span></span></a>,
459 <a class=
"citerefentry" href=
"glDisableClientState.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glDisableClientState
</span></span></a>,
460 <a class=
"citerefentry" href=
"glEdgeFlagPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEdgeFlagPointer
</span></span></a>,
461 <a class=
"citerefentry" href=
"glFogCoordPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glFogCoordPointer
</span></span></a>,
462 <a class=
"citerefentry" href=
"glTexCoordPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexCoordPointer
</span></span></a>,
463 <a class=
"citerefentry" href=
"glColorPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glColorPointer
</span></span></a>,
464 <a class=
"citerefentry" href=
"glSecondaryColorPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glSecondaryColorPointer
</span></span></a>,
465 <a class=
"citerefentry" href=
"glIndexPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glIndexPointer
</span></span></a>,
466 <a class=
"citerefentry" href=
"glNormalPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glNormalPointer
</span></span></a>,
467 <a class=
"citerefentry" href=
"glVertexPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertexPointer
</span></span></a>,
468 <a class=
"citerefentry" href=
"glVertexAttribPointer.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertexAttribPointer
</span></span></a>,
469 <a class=
"citerefentry" href=
"glInterleavedArrays.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glInterleavedArrays
</span></span></a>, or
470 <a class=
"citerefentry" href=
"glPixelStore.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glPixelStore
</span></span></a> is not allowed after a call to
<code class=
"function">glBegin
</code> and before
471 the corresponding call to
<a class=
"citerefentry" href=
"glEnd.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEnd
</span></span></a>,
472 but an error may or may not be generated.
473 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"seealso"></a><h2>See Also
</h2><p>
474 <a class=
"citerefentry" href=
"glArrayElement.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glArrayElement
</span></span></a>,
475 <a class=
"citerefentry" href=
"glCallList.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCallList
</span></span></a>,
476 <a class=
"citerefentry" href=
"glCallLists.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glCallLists
</span></span></a>,
477 <a class=
"citerefentry" href=
"glColor.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glColor
</span></span></a>,
478 <a class=
"citerefentry" href=
"glEdgeFlag.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEdgeFlag
</span></span></a>,
479 <a class=
"citerefentry" href=
"glEvalCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEvalCoord
</span></span></a>,
480 <a class=
"citerefentry" href=
"glEvalPoint.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glEvalPoint
</span></span></a>,
481 <a class=
"citerefentry" href=
"glFogCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glFogCoord
</span></span></a>,
482 <a class=
"citerefentry" href=
"glIndex.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glIndex
</span></span></a>,
483 <a class=
"citerefentry" href=
"glMaterial.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glMaterial
</span></span></a>,
484 <a class=
"citerefentry" href=
"glMultiTexCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glMultiTexCoord
</span></span></a>,
485 <a class=
"citerefentry" href=
"glNormal.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glNormal
</span></span></a>,
486 <a class=
"citerefentry" href=
"glSecondaryColor.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glSecondaryColor
</span></span></a>,
487 <a class=
"citerefentry" href=
"glTexCoord.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glTexCoord
</span></span></a>,
488 <a class=
"citerefentry" href=
"glVertex.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertex
</span></span></a>,
489 <a class=
"citerefentry" href=
"glVertexAttrib.xml"><span class=
"citerefentry"><span class=
"refentrytitle">glVertexAttrib
</span></span></a>
490 </p></div><div class=
"refsect1" lang=
"en" xml:
lang=
"en"><a id=
"Copyright"></a><h2>Copyright
</h2><p>
491 Copyright
<span class=
"trademark"></span>©
1991-
2006
492 Silicon Graphics, Inc. This document is licensed under the SGI
493 Free Software B License. For details, see
494 <a class=
"ulink" href=
"http://oss.sgi.com/projects/FreeB/" target=
"_top">http://oss.sgi.com/projects/FreeB/
</a>.
495 </p></div></div></body></html>