1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"glListBase">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glListBase
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glListBase
</refname>
17 <refpurpose>set the display-list base for
<citerefentry><refentrytitle>glCallLists
</refentrytitle></citerefentry></refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glListBase
</function></funcdef>
23 <paramdef>GLuint
<parameter>base
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>base
</parameter></term>
33 Specifies an integer offset that will be added to
<citerefentry><refentrytitle>glCallLists
</refentrytitle></citerefentry>
34 offsets to generate display-list names.
35 The initial value is
0.
41 <refsect1 id=
"description"><title>Description
</title>
43 <citerefentry><refentrytitle>glCallLists
</refentrytitle></citerefentry> specifies an array of offsets.
44 Display-list names are generated by adding
<parameter>base
</parameter> to each offset.
45 Names that reference valid display lists are executed;
46 the others are ignored.
49 <refsect1 id=
"errors"><title>Errors
</title>
51 <constant>GL_INVALID_OPERATION
</constant> is generated if
<function>glListBase
</function>
52 is executed between the execution of
<citerefentry><refentrytitle>glBegin
</refentrytitle></citerefentry>
53 and the corresponding execution of
<citerefentry><refentrytitle>glEnd
</refentrytitle></citerefentry>.
56 <refsect1 id=
"associatedgets"><title>Associated Gets
</title>
58 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry> with argument
<constant>GL_LIST_BASE
</constant>
61 <refsect1 id=
"seealso"><title>See Also
</title>
63 <citerefentry><refentrytitle>glCallLists
</refentrytitle></citerefentry>
66 <refsect1 id=
"Copyright"><title>Copyright
</title>
68 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
69 Silicon Graphics, Inc. This document is licensed under the SGI
70 Free Software B License. For details, see
71 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.