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=
"glIsBuffer">
9 <holder>Sams Publishing
</holder>
12 <refentrytitle>glIsBuffer
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glIsBuffer
</refname>
17 <refpurpose>determine if a name corresponds to a buffer object
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLboolean
<function>glIsBuffer
</function></funcdef>
23 <paramdef>GLuint
<parameter>buffer
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>buffer
</parameter></term>
33 Specifies a value that may be the name of a buffer object.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>glIsBuffer
</function> returns
<constant>GL_TRUE
</constant> if
<parameter>buffer
</parameter> is currently the name of a buffer object.
42 If
<parameter>buffer
</parameter> is zero, or is a non-zero value that is not currently the
43 name of a buffer object, or if an error occurs,
<function>glIsBuffer
</function> returns
<constant>GL_FALSE
</constant>.
46 A name returned by
<citerefentry><refentrytitle>glGenBuffers
</refentrytitle></citerefentry>, but not yet associated with a buffer object
47 by calling
<citerefentry><refentrytitle>glBindBuffer
</refentrytitle></citerefentry>, is not the name of a buffer object.
50 <refsect1 id=
"seealso"><title>See Also
</title>
52 <citerefentry><refentrytitle>glBindBuffer
</refentrytitle></citerefentry>,
53 <citerefentry><refentrytitle>glDeleteBuffers
</refentrytitle></citerefentry>,
54 <citerefentry><refentrytitle>glGenBuffers
</refentrytitle></citerefentry>,
55 <citerefentry><refentrytitle>glGet
</refentrytitle></citerefentry>
58 <refsect1 id=
"Copyright"><title>Copyright
</title>
60 Copyright
<trademark class=
"copyright"></trademark> 2005 Addison-Wesley.
61 This material may be distributed subject to the terms and conditions set forth in
62 the Open Publication License, v
1.0,
8 June
1999.
63 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.