rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / manglsl / gl_TessLevelOuter.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="gl_TessLevelOuter">\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_TessLevelOuter</refentrytitle>\r
13 <manvolnum>3G</manvolnum>\r
14 </refmeta>\r
15 <refnamediv>\r
16 <refname>gl_TessLevelOuter</refname>\r
17 <refpurpose>contains the outer tessellation levels for the current patch</refpurpose>\r
18 </refnamediv>\r
19 <refsynopsisdiv><title>Declaration</title>\r
20 <funcsynopsis>\r
21 <function>patch out float gl_TessLevelOuter[4];</function> (tessellation control language)<sbr/>\r
22 <function>patch in float gl_TessLevelInner[4];</function> (tessellation evaluation languge)\r
23 </funcsynopsis>\r
24 </refsynopsisdiv>\r
25 <refsect1 id="description"><title>Description</title>\r
26 <para>\r
27 Available only in the tessellation control and evaluation languages, <function>gl_TessLevelOuter</function>\r
28 is used to assign values to the corresponding outer tesellation levels of the current patch. The values written\r
29 into <function>gl_TessLevelOuter</function> by the tessellation control shader are used by the tessellation\r
30 primitive generator to control primitive tessellation and may be read by the subsequent tessellation evaluation shader.\r
31 </para>\r
32 <para>\r
33 As inputs to the tessellation evaluation shader, <function>gl_TessLevelOuter</function> contains the values\r
34 written by the tessellation control shader, if present. If no tessellation control shader is present, it\r
35 contains the default tessellation level.\r
36 </para>\r
37 </refsect1>\r
38 <refsect1 id="versions"><title>Version Support</title>\r
39 <informaltable frame="topbot">\r
40 <tgroup cols="3" align="left">\r
41 <colspec colwidth="1.1*" />\r
42 <colspec colwidth="1*" align="center" />\r
43 <colspec colwidth="1*" align="center" />\r
44 <colspec colwidth="1*" align="center" />\r
45 <colspec colwidth="1*" align="center" />\r
46 <colspec colwidth="1*" align="center" />\r
47 <colspec colwidth="1*" align="center" />\r
48 <colspec colwidth="1*" align="center" />\r
49 <colspec colwidth="1*" align="center" />\r
50 <thead>\r
51 <row>\r
52 <entry rowsep="1" align="left"><emphasis role="bold">\r
53 Variable\r
54 </emphasis></entry>\r
55 <entry rowsep="1" align="left"><emphasis role="bold">\r
56 Version 1.10\r
57 </emphasis></entry>\r
58 <entry rowsep="1" align="left"><emphasis role="bold">\r
59 Version 1.20\r
60 </emphasis></entry>\r
61 <entry rowsep="1" align="left"><emphasis role="bold">\r
62 Version 1.30\r
63 </emphasis></entry>\r
64 <entry rowsep="1" align="left"><emphasis role="bold">\r
65 Version 1.40\r
66 </emphasis></entry>\r
67 <entry rowsep="1" align="left"><emphasis role="bold">\r
68 Version 1.50\r
69 </emphasis></entry>\r
70 <entry rowsep="1" align="left"><emphasis role="bold">\r
71 Version 3.30\r
72 </emphasis></entry>\r
73 <entry rowsep="1" align="left"><emphasis role="bold">\r
74 Version 4.00\r
75 </emphasis></entry>\r
76 <entry rowsep="1" align="left"><emphasis role="bold">\r
77 Version 4.10\r
78 </emphasis></entry>\r
79 </row>\r
80 <row>\r
81 <entry>\r
82 gl_TessLevelOuter\r
83 </entry>\r
84 <entry>\r
85 <emphasis>-</emphasis> <!-- 1.10, OpenGL 2.0 -->\r
86 </entry>\r
87 <entry>\r
88 <emphasis>-</emphasis> <!-- 1.20, OpenGL 2.1 -->\r
89 </entry>\r
90 <entry>\r
91 <emphasis>-</emphasis> <!-- 1.30, OpenGL 3.0 -->\r
92 </entry>\r
93 <entry>\r
94 <emphasis>-</emphasis> <!-- 1.40, OpenGL 3.1 -->\r
95 </entry>\r
96 <entry>\r
97 <emphasis>-</emphasis> <!-- 1.50, OpenGL 3.2 -->\r
98 </entry>\r
99 <entry>\r
100 <emphasis>-</emphasis> <!-- 3.30, OpenGL 3.3 -->\r
101 </entry>\r
102 <entry>\r
103 <emphasis>Y</emphasis> <!-- 4.00, OpenGL 4.0 -->\r
104 </entry>\r
105 <entry>\r
106 <emphasis>Y</emphasis> <!-- 4.10, OpenGL 4.1 -->\r
107 </entry>\r
108 </row>\r
109 </thead>\r
110 </tgroup>\r
111 </informaltable>\r
112 </refsect1>\r
113 <refsect1 id="seealso"><title>See Also</title>\r
114 <para>\r
115 <citerefentry><refentrytitle>gl_TessLevelInner</refentrytitle></citerefentry>,\r
116 <citerefentry><refentrytitle>gl_TessCoord</refentrytitle></citerefentry>\r
117 </para>\r
118 </refsect1>\r
119 <refsect1 id="Copyright"><title>Copyright</title>\r
120 <para>\r
121 Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. \r
122 This material may be distributed subject to the terms and conditions set forth in \r
123 the Open Publication License, v 1.0, 8 June 1999.\r
124 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r
125 </para>\r
126 </refsect1>\r
127</refentry>\r