| 1 |
<!DOCTYPE refentry [ <!ENTITY % mathent SYSTEM "math.ent"> %mathent; ]> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="gl_TessCoord"> |
| 6 |
<info> |
| 7 |
<copyright> |
| 8 |
<year>2011-2014</year> |
| 9 |
<holder>Khronos Group</holder> |
| 10 |
</copyright> |
| 11 |
</info> |
| 12 |
<refmeta> |
| 13 |
<refentrytitle>gl_TessCoord</refentrytitle> |
| 14 |
<manvolnum>3G</manvolnum> |
| 15 |
</refmeta> |
| 16 |
<refnamediv> |
| 17 |
<refname>gl_TessCoord</refname> |
| 18 |
<refpurpose>contains the coordinate of the vertex within the current patch</refpurpose> |
| 19 |
</refnamediv> |
| 20 |
<refsynopsisdiv> |
| 21 |
<title>Declaration</title> |
| 22 |
<fieldsynopsis> |
| 23 |
<modifier>in</modifier> |
| 24 |
<type>vec3</type> |
| 25 |
<varname>gl_TessCoord</varname> |
| 26 |
</fieldsynopsis> |
| 27 |
</refsynopsisdiv> |
| 28 |
<refsect1 xml:id="description"><title>Description</title> |
| 29 |
<para> |
| 30 |
Available only in the tessellation cevaluation language, <varname>gl_TessCoord</varname> |
| 31 |
specifies the three component (u, v, w) vector identifying the position of the vertex being |
| 32 |
processed by the shader relative to the primitive being tessellated. |
| 33 |
</para> |
| 34 |
</refsect1> |
| 35 |
<refsect1 xml:id="versions"><title>Version Support</title> |
| 36 |
<informaltable> |
| 37 |
<tgroup cols="13" align="left"> |
| 38 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="funchead.xml" xpointer="xpointer(/*/*)"/> |
| 39 |
<tbody> |
| 40 |
<row> |
| 41 |
<entry>gl_TessCoord</entry> |
| 42 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="version.xml" xpointer="xpointer(/*/*[@role='40']/*)"/> |
| 43 |
</row> |
| 44 |
</tbody> |
| 45 |
</tgroup> |
| 46 |
</informaltable> |
| 47 |
</refsect1> |
| 48 |
<refsect1 xml:id="seealso"><title>See Also</title> |
| 49 |
<para> |
| 50 |
<citerefentry><refentrytitle>gl_TessLevelOuter</refentrytitle></citerefentry>, |
| 51 |
<citerefentry><refentrytitle>gl_TessLevelInner</refentrytitle></citerefentry>, |
| 52 |
<citerefentry><refentrytitle>gl_PatchVerticesIn</refentrytitle></citerefentry> |
| 53 |
</para> |
| 54 |
</refsect1> |
| 55 |
<refsect1 xml:id="Copyright"><title>Copyright</title> |
| 56 |
<para> |
| 57 |
Copyright <trademark class="copyright"/> 2011-2014 Khronos Group. |
| 58 |
This material may be distributed subject to the terms and conditions set forth in |
| 59 |
the Open Publication License, v 1.0, 8 June 1999. |
| 60 |
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://opencontent.org/openpub/">http://opencontent.org/openpub/</link>. |
| 61 |
</para> |
| 62 |
</refsect1> |
| 63 |
</refentry> |