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 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::gd::CTR::CombinerStage</title> 51 </head> 52 <body> 53<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> 54<h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class CombinerStage</pre> 57 </div> 58<h2>Description</h2> 59 <div class="section"> 60<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> 61 <a name="enum" id="enum"> 62<h2>Enumerated Types</h2> 63 <div class="section"> 64 <table class="members"> 65 <tr> 66 <td width="100"> </td> 67 <th> 68<a href="../../../../nn/gd/CTR/CombinerStage/UnitId.html"><CODE>UnitId</CODE></a> 69 </th> 70<td>The texture combiner unit numbers.</td> 71 </tr> 72 <tr> 73 <td width="100"> </td> 74 <th> 75<a href="../../../../nn/gd/CTR/CombinerStage/Source.html"><CODE>Source</CODE></a> 76 </th> 77<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> 78 </tr> 79 <tr> 80 <td width="100"> </td> 81 <th> 82<a href="../../../../nn/gd/CTR/CombinerStage/OperandRgb.html"><CODE>OperandRgb</CODE></a> 83 </th> 84<td>The enum values for <CODE>OperandRgb</CODE>. The default value is <CODE>OPERAND_RGB_SRC_COLOR</CODE>.</td> 85 </tr> 86 <tr> 87 <td width="100"> </td> 88 <th> 89<a href="../../../../nn/gd/CTR/CombinerStage/OperandAlpha.html"><CODE>OperandAlpha</CODE></a> 90 </th> 91<td>The enum values for <CODE>OperandAlpha</CODE>. The default value is <CODE>OPERAND_ALPHA_SRC_ALPHA</CODE>.</td> 92 </tr> 93 <tr> 94 <td width="100"> </td> 95 <th> 96<a href="../../../../nn/gd/CTR/CombinerStage/CombineRgb.html"><CODE>CombineRgb</CODE></a> 97 </th> 98<td>The enum values for <CODE>CombineRgb</CODE>. The default value is <CODE>COMBINE_RGB_REPLACE</CODE>.</td> 99 </tr> 100 <tr> 101 <td width="100"> </td> 102 <th> 103<a href="../../../../nn/gd/CTR/CombinerStage/CombineAlpha.html"><CODE>CombineAlpha</CODE></a> 104 </th> 105<td>The enum values for <CODE>CombineAlpha</CODE>. The default value is <CODE>COMBINE_ALPHA_REPLACE</CODE>.</td> 106 </tr> 107 <tr> 108 <td width="100"> </td> 109 <th> 110<a href="../../../../nn/gd/CTR/CombinerStage/Scale.html"><CODE>Scale</CODE></a> 111 </th> 112<td>This enum values for <CODE>Scale</CODE>. The default value is <CODE>SCALE_1</CODE>.</td> 113 </tr> 114 <tr> 115 <td width="100"> </td> 116 <th> 117<a href="../../../../nn/gd/CTR/CombinerStage/BufferInput.html"><CODE>BufferInput</CODE></a> 118 </th> 119<td>The enum values for <CODE>BufferInput</CODE>. The default value is <CODE>INPUT_PREVIOUS_BUFFER</CODE>.</td> 120 </tr> </table> 121 </div> 122 </a> <a name="constant" id="constant"> 123<h2>Member Constants</h2> 124 <div class="section"> 125 <table class="members"> 126 <tr> 127 <td width="100"> 128<span class="static_style" title="static">S</span> 129 </td> 130 <th> 131<span class="argument"><a href="../../../../nn/gd/CTR/CombinerStage/COUNT_TEXTURE_COMBINER_UNITS.html"><CODE>COUNT_TEXTURE_COMBINER_UNITS</CODE></a></span> 132 </th> 133<td width="100">const <a href="../../../../nn_types/u32.html">u32</a></td> 134<td>The number of texture combiner units.</td> 135 </tr> </table> 136 </div> 137 </a> <a name="function" id="function"> 138<h2>Member Functions</h2> 139 <div class="section"> 140 <table class="members"> 141 <tr> 142 <td width="100"> 143<span class="static_style" title="static">S</span> </td> 144 <th> 145<a href="../../../../nn/gd/CTR/CombinerStage/CreateTextureCombinerState.html"><CODE>CreateTextureCombinerState</CODE></a> 146 </th> 147<td>Creates a texture combiner state object.</td> 148 </tr> 149 <tr> 150 <td width="100"> 151<span class="static_style" title="static">S</span> </td> 152 <th> 153<a href="../../../../nn/gd/CTR/CombinerStage/ReleaseTextureCombinerState.html"><CODE>ReleaseTextureCombinerState</CODE></a> 154 </th> 155<td>Releases a texture combiner state object.</td> 156 </tr> 157 <tr> 158 <td width="100"> 159<span class="static_style" title="static">S</span> </td> 160 <th> 161<a href="../../../../nn/gd/CTR/CombinerStage/SetTextureCombinerState.html"><CODE>SetTextureCombinerState</CODE></a> 162 </th> 163<td>Sets a texture combiner state object to <CODE>OutputStage</CODE>. </td> 164 </tr> 165 <tr> 166 <td width="100"> 167<span class="static_style" title="static">S</span> </td> 168 <th> 169<a href="../../../../nn/gd/CTR/CombinerStage/SetTextureCombinerUnitConstantColor.html"><CODE>SetTextureCombinerUnitConstantColor</CODE></a> 170 </th> 171<td>Sets a constant color to the specified texture combiner unit. To use this constant color, you must define the combiner state source RGB and source alpha values in CombinerStage::SOURCE_CONSTANT. This function is an immediate function. (The immediate function directly generates commands and inserts them into the command buffer.)</td> 172 </tr> </table> 173 </div> 174 </a> 175<h2>Revision History</h2> 176 <div class="section"> 177 <dl class="history"> 178 <dt>2011/02/15</dt> 179<dd>Initial version.<br /> 180 </dd> 181 </dl> 182 </div> 183 <hr><p>CONFIDENTIAL</p></body> 184</html>