Commit | Line | Data |
---|---|---|
7faf1d71 AW |
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"> | |
5 | <refmeta> | |
6 | <refmetainfo> | |
7 | <copyright> | |
8 | <year>1991-2006</year> | |
9 | <holder>Silicon Graphics, Inc.</holder> | |
10 | </copyright> | |
11 | </refmetainfo> | |
12 | <refentrytitle>glDeleteLists</refentrytitle> | |
13 | <manvolnum>3G</manvolnum> | |
14 | </refmeta> | |
15 | <refnamediv> | |
16 | <refname>glDeleteLists</refname> | |
17 | <refpurpose>delete a contiguous group of display lists</refpurpose> | |
18 | </refnamediv> | |
19 | <refsynopsisdiv><title>C Specification</title> | |
20 | <funcsynopsis> | |
21 | <funcprototype> | |
22 | <funcdef>void <function>glDeleteLists</function></funcdef> | |
23 | <paramdef>GLuint <parameter>list</parameter></paramdef> | |
24 | <paramdef>GLsizei <parameter>range</parameter></paramdef> | |
25 | </funcprototype> | |
26 | </funcsynopsis> | |
27 | </refsynopsisdiv> | |
28 | <refsect1 id="parameters"><title>Parameters</title> | |
29 | <variablelist> | |
30 | <varlistentry> | |
31 | <term><parameter>list</parameter></term> | |
32 | <listitem> | |
33 | <para> | |
34 | Specifies the integer name of the first display list to delete. | |
35 | </para> | |
36 | </listitem> | |
37 | </varlistentry> | |
38 | <varlistentry> | |
39 | <term><parameter>range</parameter></term> | |
40 | <listitem> | |
41 | <para> | |
42 | Specifies the number of display lists to delete. | |
43 | </para> | |
44 | </listitem> | |
45 | </varlistentry> | |
46 | </variablelist> | |
47 | </refsect1> | |
48 | <refsect1 id="description"><title>Description</title> | |
49 | <para> | |
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. | |
53 | All display lists | |
54 | <inlineequation><mml:math><mml:mi mathvariant="italic">d</mml:mi></mml:math></inlineequation> | |
55 | with | |
56 | <inlineequation><mml:math> | |
57 | <!-- eqn: list <= d <= list + range - 1:--> | |
58 | <mml:mrow> | |
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> | |
63 | <mml:mrow> | |
64 | <mml:mi mathvariant="italic">list</mml:mi> | |
65 | <mml:mo>+</mml:mo> | |
66 | <mml:mi mathvariant="italic">range</mml:mi> | |
67 | <mml:mo>-</mml:mo> | |
68 | <mml:mn>1</mml:mn> | |
69 | </mml:mrow> | |
70 | </mml:mrow> | |
71 | </mml:math></inlineequation> | |
72 | are deleted. | |
73 | </para> | |
74 | <para> | |
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. | |
79 | </para> | |
80 | </refsect1> | |
81 | <refsect1 id="errors"><title>Errors</title> | |
82 | <para> | |
83 | <constant>GL_INVALID_VALUE</constant> is generated if <parameter>range</parameter> is negative. | |
84 | </para> | |
85 | <para> | |
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>. | |
89 | </para> | |
90 | </refsect1> | |
91 | <refsect1 id="seealso"><title>See Also</title> | |
92 | <para> | |
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> | |
98 | </para> | |
99 | </refsect1> | |
100 | <refsect1 id="Copyright"><title>Copyright</title> | |
101 | <para> | |
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>. | |
106 | </para> | |
107 | </refsect1> | |
108 | </refentry> |