rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / man3 / glIsSampler.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="glIsSampler">\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>glIsSampler</refentrytitle>\r
13 <manvolnum>3G</manvolnum>\r
14 </refmeta>\r
15 <refnamediv>\r
16 <refname>glIsSampler</refname>\r
17 <refpurpose>determine if a name corresponds to a sampler object</refpurpose>\r
18 </refnamediv>\r
19 <refsynopsisdiv><title>C Specification</title>\r
20 <funcsynopsis>\r
21 <funcprototype>\r
22 <funcdef>GLboolean <function>glIsSampler</function></funcdef>\r
23 <paramdef>GLuint <parameter>id</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>id</parameter></term>\r
31 <listitem>\r
32 <para>\r
33 Specifies a value that may be the name of a sampler 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>glIsSampler</function> returns <constant>GL_TRUE</constant> if <parameter>id</parameter> is currently the name of a sampler object.\r
42 If <parameter>id</parameter> is zero, or is a non-zero value that is not currently the\r
43 name of a sampler object, or if an error occurs, <function>glIsSampler</function> returns <constant>GL_FALSE</constant>.\r
44 </para>\r
45 <para>\r
46 A name returned by <citerefentry><refentrytitle>glGenSamplers</refentrytitle></citerefentry>, is the name of a sampler object.\r
47 </para>\r
48 </refsect1>\r
49 <refsect1 id="notes"><title>Notes</title>\r
50 <para>\r
51 <function>glIsSampler</function> is available only if the GL version is 3.3 or higher.\r
52 </para>\r
53 </refsect1>\r
54 <refsect1 id="seealso"><title>See Also</title>\r
55 <para>\r
56 <citerefentry><refentrytitle>glGenSamplers</refentrytitle></citerefentry>,\r
57 <citerefentry><refentrytitle>glBindSampler</refentrytitle></citerefentry>,\r
58 <citerefentry><refentrytitle>glDeleteSamplers</refentrytitle></citerefentry>\r
59 </para>\r
60 </refsect1>\r
61 <refsect1 id="Copyright"><title>Copyright</title>\r
62 <para>\r
63 Copyright <trademark class="copyright"></trademark> 2010 Khronos Group. \r
64 This material may be distributed subject to the terms and conditions set forth in \r
65 the Open Publication License, v 1.0, 8 June 1999.\r
66 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r
67 </para>\r
68 </refsect1>\r
69</refentry>\r