rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man2 / glIsList.xml
CommitLineData
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="glIsList">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>1991-2006</year>
9 <holder>Silicon Graphics, Inc.</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>glIsList</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>glIsList</refname>
17 <refpurpose>determine if a name corresponds to a display list</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>C Specification</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>GLboolean <function>glIsList</function></funcdef>
23 <paramdef>GLuint <parameter>list</parameter></paramdef>
24 </funcprototype>
25 </funcsynopsis>
26 </refsynopsisdiv>
27 <refsect1 id="parameters"><title>Parameters</title>
28 <variablelist>
29 <varlistentry>
30 <term><parameter>list</parameter></term>
31 <listitem>
32 <para>
33 Specifies a potential display list name.
34 </para>
35 </listitem>
36 </varlistentry>
37 </variablelist>
38 </refsect1>
39 <refsect1 id="description"><title>Description</title>
40 <para>
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.
43 </para>
44 <para>
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.
47 </para>
48 </refsect1>
49 <refsect1 id="errors"><title>Errors</title>
50 <para>
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>.
55 </para>
56 </refsect1>
57 <refsect1 id="seealso"><title>See Also</title>
58 <para>
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>
64 </para>
65 </refsect1>
66 <refsect1 id="Copyright"><title>Copyright</title>
67 <para>
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>.
72 </para>
73 </refsect1>
74</refentry>