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">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>gl_PatchVerticesIn
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>gl_PatchVerticesIn
</refname>
17 <refpurpose>contains the number of vertices in the current patch
</refpurpose>
19 <refsynopsisdiv><title>Declaration
</title>
21 <function>in int gl_PatchVerticesIn;
</function>
24 <refsect1 id=
"description"><title>Description
</title>
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.
32 <refsect1 id=
"versions"><title>Version Support
</title>
33 <informaltable frame=
"topbot">
38 <entry>gl_PatchVerticesIn
</entry>#newin40#
44 <refsect1 id=
"seealso"><title>See Also
</title>
46 <citerefentry><refentrytitle>gl_TessLevelOuter
</refentrytitle></citerefentry>,
47 <citerefentry><refentrytitle>gl_TessLevelInner
</refentrytitle></citerefentry>,
48 <citerefentry><refentrytitle>gl_TessCoord
</refentrytitle></citerefentry>
51 <refsect1 id=
"Copyright"><title>Copyright
</title>
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>.