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