rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man3 / glIsSync.xml
CommitLineData
7faf1d71
AW
1<?xml version="1.0" encoding="UTF-8"?>\r
2<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"\r
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">\r
4<refentry id="glIsSync">\r
5 <refmeta>\r
6 <refmetainfo>\r
7 <copyright>\r
8 <year>2010</year>\r
9 <holder>Khronos Group</holder>\r
10 </copyright>\r
11 </refmetainfo>\r
12 <refentrytitle>glIsSync</refentrytitle>\r
13 <manvolnum>3G</manvolnum>\r
14 </refmeta>\r
15 <refnamediv>\r
16 <refname>glIsSync</refname>\r
17 <refpurpose>determine if a name corresponds to a sync object</refpurpose>\r
18 </refnamediv>\r
19 <refsynopsisdiv><title>C Specification</title>\r
20 <funcsynopsis>\r
21 <funcprototype>\r
22 <funcdef>GLboolean <function>glIsSync</function></funcdef>\r
23 <paramdef>GLsync <parameter>sync</parameter></paramdef>\r
24 </funcprototype>\r
25 </funcsynopsis>\r
26 </refsynopsisdiv>\r
27 <refsect1 id="parameters"><title>Parameters</title>\r
28 <variablelist>\r
29 <varlistentry>\r
30 <term><parameter>sync</parameter></term>\r
31 <listitem>\r
32 <para>\r
33 Specifies a value that may be the name of a sync object.\r
34 </para>\r
35 </listitem>\r
36 </varlistentry>\r
37 </variablelist>\r
38 </refsect1>\r
39 <refsect1 id="description"><title>Description</title>\r
40 <para>\r
41 <function>glIsSync</function> returns <constant>GL_TRUE</constant> if <parameter>sync</parameter> is currently the name of a sync object.\r
42 If <parameter>sync</parameter> is not the name of a sync object, or if an error occurs, <function>glIsSync</function> returns\r
43 <constant>GL_FALSE</constant>. Note that zero is not the name of a sync object.\r
44 </para>\r
45 </refsect1>\r
46 <refsect1 id="notes"><title>Notes</title>\r
47 <para>\r
48 <function>glIsSync</function> is available only if the GL version is 3.2 or greater.\r
49 </para>\r
50 </refsect1>\r
51 <refsect1 id="seealso"><title>See Also</title>\r
52 <para>\r
53 <citerefentry><refentrytitle>glFenceSync</refentrytitle></citerefentry>,\r
54 <citerefentry><refentrytitle>glWaitSync</refentrytitle></citerefentry>,\r
55 <citerefentry><refentrytitle>glClientWaitSync</refentrytitle></citerefentry>,\r
56 <citerefentry><refentrytitle>glDeleteSync</refentrytitle></citerefentry>\r
57 </para>\r
58 </refsect1>\r
59 <refsect1 id="Copyright"><title>Copyright</title>\r
60 <para>\r
61 Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. \r
62 This material may be distributed subject to the terms and conditions set forth in \r
63 the Open Publication License, v 1.0, 8 June 1999.\r
64 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r
65 </para>\r
66 </refsect1>\r
67</refentry>\r