include more low-level bindings
[clinton/guile-figl.git] / upstream-man-pages / manglsl / gl_PatchVerticesIn.xml
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="gl_PatchVerticesIn">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>2011</year>
9 <holder>Khronos Group</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>gl_PatchVerticesIn</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>gl_PatchVerticesIn</refname>
17 <refpurpose>contains the number of vertices in the current patch</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>Declaration</title>
20 <funcsynopsis>
21 <function>in int gl_PatchVerticesIn;</function>
22 </funcsynopsis>
23 </refsynopsisdiv>
24 <refsect1 id="description"><title>Description</title>
25 <para>
26 Available only in the tessellation control and evaluation languages, <function>gl_PatchVerticesIn</function>
27 contains the number of vertices in the input being processed by the shader. A single tessellation control or
28 evaluation shader can read patches of differing sizes, and so th value of <function>gl_PatchVertexIn</function>
29 may differ between patches.
30 </para>
31 </refsect1>
32 <refsect1 id="versions"><title>Version Support</title>
33 <informaltable frame="topbot">
34 #VARTABLECOLS#
35 <thead>
36 #VARTABLEHEADER#
37 <row>
38 <entry>gl_PatchVerticesIn</entry>#newin40#
39 </row>
40 </thead>
41 </tgroup>
42 </informaltable>
43 </refsect1>
44 <refsect1 id="seealso"><title>See Also</title>
45 <para>
46 <citerefentry><refentrytitle>gl_TessLevelOuter</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>gl_TessLevelInner</refentrytitle></citerefentry>,
48 <citerefentry><refentrytitle>gl_TessCoord</refentrytitle></citerefentry>
49 </para>
50 </refsect1>
51 <refsect1 id="Copyright"><title>Copyright</title>
52 <para>
53 Copyright <trademark class="copyright"></trademark> 2011 Khronos Group.
54 This material may be distributed subject to the terms and conditions set forth in
55 the Open Publication License, v 1.0, 8 June 1999.
56 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
57 </para>
58 </refsect1>
59 </refentry>