54843c4a40c870e06457e67fefe0d45e6fde91df
[clinton/guile-figl.git] / upstream-man-pages / manglsl / EndStreamPrimitive.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="EndStreamPrimitive">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>2011</year>
9 <holder>Khronos Group</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>EndStreamPrimitive</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>EndStreamPrimitive</refname>
17 <refpurpose>complete the current output primitive on a specified stream</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>Declaration</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>void <function>EndStreamPrimitive</function></funcdef>
23 <paramdef>int <parameter>stream</parameter></paramdef>
24 </funcprototype>
25 </funcsynopsis>
26 </refsynopsisdiv>
27 <refsect1 id="parameters"><title>Parameters</title>
28 <variablelist>
29 <varlistentry>
30 <term><parameter>stream</parameter></term>
31 <listitem>
32 <para>
33 Specifies the stream upon which the current primitive will be ended.
34 </para>
35 </listitem>
36 </varlistentry>
37 </variablelist>
38 </refsect1>
39 <refsect1 id="description"><title>Description</title>
40 <para>
41 <emphasis>Available only in the Geometry Shader</emphasis>, <function>EndStreamPrimitive</function> completes the
42 current output primitive on stream <parameter>stream</parameter> and starts a new one. The argument to <parameter>stream</parameter>
43 must be a constant integral expression. No vertex is emitted.
44 </para>
45 </refsect1>
46 <refsect1 id="versions"><title>Version Support</title>
47 <informaltable frame="topbot">
48 #VARTABLECOLS#
49 <thead>
50 #FUNCTABLEHEADER#
51 <row>
52 <entry>EndStreamPrimitive</entry>#newin40#
53 </row>
54 </thead>
55 </tgroup>
56 </informaltable>
57 </refsect1>
58 <refsect1 id="seealso"><title>See Also</title>
59 <para>
60 <citerefentry><refentrytitle>EmitVertex</refentrytitle></citerefentry>,
61 <citerefentry><refentrytitle>EmitStreamVertex</refentrytitle></citerefentry>,
62 <citerefentry><refentrytitle>EndPrimitive</refentrytitle></citerefentry>
63 </para>
64 </refsect1>
65 <refsect1 id="Copyright"><title>Copyright</title>
66 <para>
67 Copyright <trademark class="copyright"></trademark> 2011 Khronos Group.
68 This material may be distributed subject to the terms and conditions set forth in
69 the Open Publication License, v 1.0, 8 June 1999.
70 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
71 </para>
72 </refsect1>
73 </refentry>