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=
"glDeleteLists">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glDeleteLists
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glDeleteLists
</refname>
17 <refpurpose>delete a contiguous group of display lists
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>void
<function>glDeleteLists
</function></funcdef>
23 <paramdef>GLuint
<parameter>list
</parameter></paramdef>
24 <paramdef>GLsizei
<parameter>range
</parameter></paramdef>
28 <refsect1 id=
"parameters"><title>Parameters
</title>
31 <term><parameter>list
</parameter></term>
34 Specifies the integer name of the first display list to delete.
39 <term><parameter>range
</parameter></term>
42 Specifies the number of display lists to delete.
48 <refsect1 id=
"description"><title>Description
</title>
50 <function>glDeleteLists
</function> causes a contiguous group of display lists to be deleted.
51 <parameter>list
</parameter> is the name of the first display list to be deleted,
52 and
<parameter>range
</parameter> is the number of display lists to delete.
54 <inlineequation><mml:math><mml:mi mathvariant=
"italic">d
</mml:mi></mml:math></inlineequation>
56 <inlineequation><mml:math>
57 <!-- eqn: list <= d <= list + range - 1:-->
59 <mml:mi mathvariant=
"italic">list
</mml:mi>
60 <mml:mo><=
</mml:mo>
61 <mml:mi mathvariant=
"italic">d
</mml:mi>
62 <mml:mo><=
</mml:mo>
64 <mml:mi mathvariant=
"italic">list
</mml:mi>
66 <mml:mi mathvariant=
"italic">range
</mml:mi>
71 </mml:math></inlineequation>
75 All storage locations allocated to the specified display lists are freed,
76 and the names are available for reuse at a later time.
77 Names within the range that do not have an associated display list are ignored.
78 If
<parameter>range
</parameter> is
0, nothing happens.
81 <refsect1 id=
"errors"><title>Errors
</title>
83 <constant>GL_INVALID_VALUE
</constant> is generated if
<parameter>range
</parameter> is negative.
86 <constant>GL_INVALID_OPERATION
</constant> is generated if
<function>glDeleteLists
</function>
87 is executed between the execution of
<citerefentry><refentrytitle>glBegin
</refentrytitle></citerefentry>
88 and the corresponding execution of
<citerefentry><refentrytitle>glEnd
</refentrytitle></citerefentry>.
91 <refsect1 id=
"seealso"><title>See Also
</title>
93 <citerefentry><refentrytitle>glCallList
</refentrytitle></citerefentry>,
94 <citerefentry><refentrytitle>glCallLists
</refentrytitle></citerefentry>,
95 <citerefentry><refentrytitle>glGenLists
</refentrytitle></citerefentry>,
96 <citerefentry><refentrytitle>glIsList
</refentrytitle></citerefentry>,
97 <citerefentry><refentrytitle>glNewList
</refentrytitle></citerefentry>
100 <refsect1 id=
"Copyright"><title>Copyright
</title>
102 Copyright
<trademark class=
"copyright"></trademark> 1991-
2006
103 Silicon Graphics, Inc. This document is licensed under the SGI
104 Free Software B License. For details, see
105 <ulink url=
"http://oss.sgi.com/projects/FreeB/">http://oss.sgi.com/projects/FreeB/
</ulink>.