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=
"glIsFramebuffer">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>glIsFramebuffer
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glIsFramebuffer
</refname>
17 <refpurpose>determine if a name corresponds to a framebuffer object
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLboolean
<function>glIsFramebuffer
</function></funcdef>
23 <paramdef>GLuint
<parameter>framebuffer
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>framebuffer
</parameter></term>
33 Specifies a value that may be the name of a framebuffer object.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>glIsFramebuffer
</function> returns
<constant>GL_TRUE
</constant> if
<parameter>framebuffer
</parameter> is currently the name of a framebuffer
42 object. If
<parameter>framebuffer
</parameter> is zero, or if
<constant>framebuffer
</constant> is not the name of a framebuffer object, or if an error
43 occurs,
<function>glIsFramebuffer
</function> returns
<constant>GL_FALSE
</constant>. If
<parameter>framebuffer
</parameter> is a name returned by
44 <citerefentry><refentrytitle>glGenFramebuffers
</refentrytitle></citerefentry>, by that has not yet been bound through a call to
45 <citerefentry><refentrytitle>glBindFramebuffer
</refentrytitle></citerefentry>, then the name is not a framebuffer object and
<function>glIsFramebuffer
</function>
46 returns
<constant>GL_FALSE
</constant>.
49 <refsect1 id=
"seealso"><title>See Also
</title>
51 <citerefentry><refentrytitle>glGenFramebuffers
</refentrytitle></citerefentry>,
52 <citerefentry><refentrytitle>glBindFramebuffer
</refentrytitle></citerefentry>,
53 <citerefentry><refentrytitle>glDeleteFramebuffers
</refentrytitle></citerefentry>
56 <refsect1 id=
"Copyright"><title>Copyright
</title>
58 Copyright
<trademark class=
"copyright"></trademark> 2010 Khronos Group.
59 This material may be distributed subject to the terms and conditions set forth in
60 the Open Publication License, v
1.0,
8 June
1999.
61 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.