/
glIsList.xhtml
27 lines (27 loc) · 3.4 KB
/
glIsList.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<div class="refentry" lang="en" xml:lang="en"><a id="glIsList"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>glIsList — determine if a name corresponds to a display list</p></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table><tr><td><code class="funcdef">GLboolean <b class="fsfunc">glIsList</b>(</code></td><td>GLuint </td><td><var class="pdparam">list</var><code>)</code>;</td></tr></table></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="parameters"></a><h2>Parameters</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>list</code></em></span></dt><dd><p>
Specifies a potential display list name.
</p></dd></dl></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p>
<code class="function">glIsList</code> returns <code class="constant">GL_TRUE</code> if <em class="parameter"><code>list</code></em> is the name
of a display list and returns <code class="constant">GL_FALSE</code> if it is not, or if an error occurs.
</p><p>
A name returned by <a class="citerefentry" href="glGenLists"><span class="citerefentry"><span class="refentrytitle">glGenLists</span></span></a>, but not yet associated with a display list
by calling <a class="citerefentry" href="glNewList"><span class="citerefentry"><span class="refentrytitle">glNewList</span></span></a>, is not the name of a display list.
</p></div><div class="refsect1" lang="en" xml:lang="en"><a id="errors"></a><h2>Errors</h2><p>
<code class="constant">GL_INVALID_OPERATION</code> is generated if <code class="function">glIsList</code>
is executed between the execution of
<a class="citerefentry" href="glBegin"><span class="citerefentry"><span class="refentrytitle">glBegin</span></span></a>
and the corresponding execution of <a class="citerefentry" href="glEnd"><span class="citerefentry"><span class="refentrytitle">glEnd</span></span></a>.
</p></div>
{$pipelinestall}{$examples}
<div class="refsect1" lang="en" xml:lang="en"><a id="seealso"></a><h2>See Also</h2><p>
<a class="citerefentry" href="glCallList"><span class="citerefentry"><span class="refentrytitle">glCallList</span></span></a>,
<a class="citerefentry" href="glCallLists"><span class="citerefentry"><span class="refentrytitle">glCallLists</span></span></a>,
<a class="citerefentry" href="glDeleteLists"><span class="citerefentry"><span class="refentrytitle">glDeleteLists</span></span></a>,
<a class="citerefentry" href="glGenLists"><span class="citerefentry"><span class="refentrytitle">glGenLists</span></span></a>,
<a class="citerefentry" href="glNewList"><span class="citerefentry"><span class="refentrytitle">glNewList</span></span></a>
</p></div><div class="refsect1" lang="en" xml:lang="en"><div id="Copyright"><h2>Copyright</h2><p>
Copyright © 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
<a class="ulink" href="https://web.archive.org/web/20171022161616/http://oss.sgi.com/projects/FreeB/" target="_top">https://web.archive.org/web/20171022161616/http://oss.sgi.com/projects/FreeB/</a>.
</p></div></div></div>