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=
"glIsList">
9 <holder>Silicon Graphics, Inc.
</holder>
12 <refentrytitle>glIsList
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glIsList
</refname>
17 <refpurpose>determine if a name corresponds to a display list
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLboolean
<function>glIsList
</function></funcdef>
23 <paramdef>GLuint
<parameter>list
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>list
</parameter></term>
33 Specifies a potential display list name.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>glIsList
</function> returns
<constant>GL_TRUE
</constant> if
<parameter>list
</parameter> is the name
42 of a display list and returns
<constant>GL_FALSE
</constant> if it is not, or if an error occurs.
45 A name returned by
<citerefentry><refentrytitle>glGenLists
</refentrytitle></citerefentry>, but not yet associated with a display list
46 by calling
<citerefentry><refentrytitle>glNewList
</refentrytitle></citerefentry>, is not the name of a display list.
49 <refsect1 id=
"errors"><title>Errors
</title>
51 <constant>GL_INVALID_OPERATION
</constant> is generated if
<function>glIsList
</function>
52 is executed between the execution of
53 <citerefentry><refentrytitle>glBegin
</refentrytitle></citerefentry>
54 and the corresponding execution of
<citerefentry><refentrytitle>glEnd
</refentrytitle></citerefentry>.
57 <refsect1 id=
"seealso"><title>See Also
</title>
59 <citerefentry><refentrytitle>glCallList
</refentrytitle></citerefentry>,
60 <citerefentry><refentrytitle>glCallLists
</refentrytitle></citerefentry>,
61 <citerefentry><refentrytitle>glDeleteLists
</refentrytitle></citerefentry>,
62 <citerefentry><refentrytitle>glGenLists
</refentrytitle></citerefentry>,
63 <citerefentry><refentrytitle>glNewList
</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>.