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=
"glIsSync">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>glIsSync
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>glIsSync
</refname>
17 <refpurpose>determine if a name corresponds to a sync object
</refpurpose>
19 <refsynopsisdiv><title>C Specification
</title>
22 <funcdef>GLboolean
<function>glIsSync
</function></funcdef>
23 <paramdef>GLsync
<parameter>sync
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>sync
</parameter></term>
33 Specifies a value that may be the name of a sync object.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>glIsSync
</function> returns
<constant>GL_TRUE
</constant> if
<parameter>sync
</parameter> is currently the name of a sync object.
42 If
<parameter>sync
</parameter> is not the name of a sync object, or if an error occurs,
<function>glIsSync
</function> returns
43 <constant>GL_FALSE
</constant>. Note that zero is not the name of a sync object.
46 <refsect1 id=
"notes"><title>Notes
</title>
48 <function>glIsSync
</function> is available only if the GL version is
3.2 or greater.
51 <refsect1 id=
"seealso"><title>See Also
</title>
53 <citerefentry><refentrytitle>glFenceSync
</refentrytitle></citerefentry>,
54 <citerefentry><refentrytitle>glWaitSync
</refentrytitle></citerefentry>,
55 <citerefentry><refentrytitle>glClientWaitSync
</refentrytitle></citerefentry>,
56 <citerefentry><refentrytitle>glDeleteSync
</refentrytitle></citerefentry>
59 <refsect1 id=
"Copyright"><title>Copyright
</title>
61 Copyright
<trademark class=
"copyright"></trademark> 2010 Khronos Group.
62 This material may be distributed subject to the terms and conditions set forth in
63 the Open Publication License, v
1.0,
8 June
1999.
64 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.