1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::gd::CTR::CombinerStage</title>
49  </head>
50  <body>
51<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::CombinerStage</CODE> Class</h1>
52<h2>Syntax</h2>
53    <div class="section">
54<pre class="definition">class CombinerStage</pre>
55    </div>
56<h2>Description</h2>
57    <div class="section">
58<p>The texture combiner pipeline stage.</p><p><anchor id="classnn_1_1gd_1_1_c_t_r_1_1_combiner_stage_1CombinerStage" />The texture combiner calculates the ultimate fragment color based on a variety of input.</p><!-- write here --></div>
59    <a name="enum" id="enum">
60<h2>Enumerated Types</h2>
61      <div class="section">
62        <table class="members">
63          <tr>
64            <td width="100"> </td>
65            <th>
66<a href="../../../../nn/gd/CTR/CombinerStage/UnitId.html"><CODE>UnitId</CODE></a>
67            </th>
68<td>The texture combiner unit numbers.</td>
69          </tr>
70          <tr>
71            <td width="100"> </td>
72            <th>
73<a href="../../../../nn/gd/CTR/CombinerStage/Source.html"><CODE>Source</CODE></a>
74            </th>
75<td>The enum values for <CODE>SrcRgb</CODE> and <CODE>SrcAlpha</CODE>. The default value for texture combiner unit <CODE>0</CODE> is <CODE>SOURCE_CONSTANT</CODE>. The default value for the other units is <CODE>SOURCE_PREVIOUS</CODE>.</td>
76          </tr>
77          <tr>
78            <td width="100"> </td>
79            <th>
80<a href="../../../../nn/gd/CTR/CombinerStage/OperandRgb.html"><CODE>OperandRgb</CODE></a>
81            </th>
82<td>The enum values for <CODE>OperandRgb</CODE>. The default value is <CODE>OPERAND_RGB_SRC_COLOR</CODE>.</td>
83          </tr>
84          <tr>
85            <td width="100"> </td>
86            <th>
87<a href="../../../../nn/gd/CTR/CombinerStage/OperandAlpha.html"><CODE>OperandAlpha</CODE></a>
88            </th>
89<td>The enum values for <CODE>OperandAlpha</CODE>. The default value is <CODE>OPERAND_ALPHA_SRC_ALPHA</CODE>.</td>
90          </tr>
91          <tr>
92            <td width="100"> </td>
93            <th>
94<a href="../../../../nn/gd/CTR/CombinerStage/CombineRgb.html"><CODE>CombineRgb</CODE></a>
95            </th>
96<td>The enum values for <CODE>CombineRgb</CODE>. The default value is <CODE>COMBINE_RGB_REPLACE</CODE>.</td>
97          </tr>
98          <tr>
99            <td width="100"> </td>
100            <th>
101<a href="../../../../nn/gd/CTR/CombinerStage/CombineAlpha.html"><CODE>CombineAlpha</CODE></a>
102            </th>
103<td>The enum values for <CODE>CombineAlpha</CODE>. The default value is <CODE>COMBINE_ALPHA_REPLACE</CODE>.</td>
104          </tr>
105          <tr>
106            <td width="100"> </td>
107            <th>
108<a href="../../../../nn/gd/CTR/CombinerStage/Scale.html"><CODE>Scale</CODE></a>
109            </th>
110<td>This enum values for <CODE>Scale</CODE>. The default value is <CODE>SCALE_1</CODE>.</td>
111          </tr>
112          <tr>
113            <td width="100"> </td>
114            <th>
115<a href="../../../../nn/gd/CTR/CombinerStage/BufferInput.html"><CODE>BufferInput</CODE></a>
116            </th>
117<td>The enum values for <CODE>BufferInput</CODE>. The default value is <CODE>INPUT_PREVIOUS_BUFFER</CODE>.</td>
118          </tr> </table>
119      </div>
120    </a> <a name="constant" id="constant">
121<h2>Member Constants</h2>
122      <div class="section">
123        <table class="members">
124          <tr>
125            <td width="100">
126<span class="static_style" title="static">S</span>
127            </td>
128            <th>
129<span class="argument"><a href="../../../../nn/gd/CTR/CombinerStage/COUNT_TEXTURE_COMBINER_UNITS.html"><CODE>COUNT_TEXTURE_COMBINER_UNITS</CODE></a></span>
130            </th>
131<td width="100"><CODE>const u32</CODE></td>
132<td>The number of texture combiner units.</td>
133          </tr> </table>
134      </div>
135    </a> <a name="function" id="function">
136<h2>Member Functions</h2>
137      <div class="section">
138        <table class="members">
139          <tr>
140            <td width="100">
141<span class="static_style" title="static">S</span> </td>
142            <th>
143<a href="../../../../nn/gd/CTR/CombinerStage/CreateTextureCombinerState.html"><CODE>CreateTextureCombinerState</CODE></a>
144            </th>
145<td>Creates a texture combiner state object.</td>
146          </tr>
147          <tr>
148            <td width="100">
149<span class="static_style" title="static">S</span> </td>
150            <th>
151<a href="../../../../nn/gd/CTR/CombinerStage/ReleaseTextureCombinerState.html"><CODE>ReleaseTextureCombinerState</CODE></a>
152            </th>
153<td>Releases a texture combiner state object.</td>
154          </tr>
155          <tr>
156            <td width="100">
157<span class="static_style" title="static">S</span> </td>
158            <th>
159<a href="../../../../nn/gd/CTR/CombinerStage/SetTextureCombinerState.html"><CODE>SetTextureCombinerState</CODE></a>
160            </th>
161<td>Sets a texture combiner state object to <CODE>OutputStage</CODE>. </td>
162          </tr>
163          <tr>
164            <td width="100">
165<span class="static_style" title="static">S</span> </td>
166            <th>
167<a href="../../../../nn/gd/CTR/CombinerStage/SetTextureCombinerUnitConstantColor.html"><CODE>SetTextureCombinerUnitConstantColor</CODE></a>
168            </th>
169<td>Sets a constant color to the specified texture combiner unit. This function is an immediate function. (The immediate function directly generates commands and inserts them into the command buffer.)</td>
170          </tr> </table>
171      </div>
172    </a>
173<h2>Revision History</h2>
174    <div class="section">
175      <dl class="history">
176        <dt>2011/02/15</dt>
177<dd>Initial version.<br />
178        </dd>
179      </dl>
180    </div>
181  <hr><p>CONFIDENTIAL</p></body>
182</html>
183