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::CombinerDescription</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>::CombinerDescription</CODE> Class</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">class CombinerDescription</pre> 55 </div> 56<h2>Description</h2> 57 <div class="section"> 58<p>The <CODE>CombinerDescription</CODE> class creates a <CODE>CombinerState</CODE>.</p><!-- write here --></div> 59 <a name="struct" id="struct"> 60<h2>Structures</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <th> 65<a href="../../../../nn/gd/CTR/CombinerDescription/BufferInput/Overview.html"><CODE>nn::gd::CTR::CombinerDescription::BufferInput</CODE></a> 66 </th> 67<td>Selects sources to input to the combiner buffer. You can specify color and alpha separately.</td> 68 </tr> </table> 69 </div> 70 </a> <a name="variable" id="variable"> 71<h2>Member Variables</h2> 72 <div class="section"> 73 <table class="members"> 74 <tr> 75 <td width="100"> </td> 76 <th> 77<span class="argument"><CODE>m_CombinerUnit</CODE></span> 78 </th> 79<td width="100"><a href="../../../../nn/gd/CTR/CombinerUnitDescription/Overview.html">CombinerUnitDescription</a></td> 80<td>The individual units are set using the <CODE><a href="../../../../nn/gd/CTR/CombinerUnitDescription/Overview.html">CombinerUnitDescription</a></CODE> structure. There are 6 texture combiner units.</td> 81 </tr> 82 <tr> 83 <td width="100"> </td> 84 <th> 85<span class="argument"><CODE>m_BufferColor</CODE></span> 86 </th> 87<td width="100">u8</td> 88<td>Specifies the buffer color for texture combiner unit <CODE>0</CODE>. (Texture combiner buffer <CODE>0</CODE>.) Four arrays are set in the order R, G, B, and alpha.</td> 89 </tr> 90 <tr> 91 <td width="100"> </td> 92 <th> 93<span class="argument"><CODE>m_CombinerInUse</CODE></span> 94 </th> 95<td width="100">u32</td> 96<td>Specifies as a bitmask the texture combiner unit that is being used.</td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101<span class="argument"><CODE>m_BufferInput</CODE></span> 102 </th> 103<td width="100">struct <a href="../../../../nn/gd/CTR/CombinerDescription/BufferInput/Overview.html">BufferInput</a></td> 104<td>Selects sources to input to the combiner buffer. You can specify color and alpha separately. If <CODE>INPUT_PREVIOUS_UNIT</CODE> has been specified, the combiner's output from the previous stage is referenced. If <CODE>INPUT_PREVIOUS_BUFFER</CODE> has been specified, the combiner buffer's output from the previous stage is referenced. </td> 105 </tr> </table> 106 </div> 107 </a> <a name="function" id="function"> 108<h2>Member Functions</h2> 109 <div class="section"> 110 <table class="members"> 111 <tr> 112 <td width="100"> </td> 113 <th> 114<a href="../../../../nn/gd/CTR/CombinerDescription/SetSourceRGB.html"><CODE>SetSourceRGB</CODE></a> 115 </th> 116<td>Sets the input values for the RGB color of the three texture combiner sources.</td> 117 </tr> 118 <tr> 119 <td width="100"> </td> 120 <th> 121<a href="../../../../nn/gd/CTR/CombinerDescription/SetOperandRGB.html"><CODE>SetOperandRGB</CODE></a> 122 </th> 123<td>Sets the input values for the color operands of the three texture combiner sources.</td> 124 </tr> 125 <tr> 126 <td width="100"> </td> 127 <th> 128<a href="../../../../nn/gd/CTR/CombinerDescription/SetSourceAlpha.html"><CODE>SetSourceAlpha</CODE></a> 129 </th> 130<td>Sets the input values for the alpha of the three texture combiner sources.</td> 131 </tr> 132 <tr> 133 <td width="100"> </td> 134 <th> 135<a href="../../../../nn/gd/CTR/CombinerDescription/SetOperandAlpha.html"><CODE>SetOperandAlpha</CODE></a> 136 </th> 137<td>Sets the input values for the alpha operands of the three texture combiner sources.</td> 138 </tr> 139 <tr> 140 <td width="100"> </td> 141 <th> 142<a href="../../../../nn/gd/CTR/CombinerDescription/SetCombineRGB.html"><CODE>SetCombineRGB</CODE></a> 143 </th> 144<td>Sets the function that will combine three RGB input sources.</td> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149<a href="../../../../nn/gd/CTR/CombinerDescription/SetCombineAlpha.html"><CODE>SetCombineAlpha</CODE></a> 150 </th> 151<td>Sets the function that will combine three alpha input sources.</td> 152 </tr> 153 <tr> 154 <td width="100"> </td> 155 <th> 156<a href="../../../../nn/gd/CTR/CombinerDescription/SetScaleRGB.html"><CODE>SetScaleRGB</CODE></a> 157 </th> 158<td>Sets a scale value for the texture combiner's output color.</td> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163<a href="../../../../nn/gd/CTR/CombinerDescription/SetScaleAlpha.html"><CODE>SetScaleAlpha</CODE></a> 164 </th> 165<td>Sets a scale value for the texture combiner's output alpha.</td> 166 </tr> 167 <tr> 168 <td width="100"> </td> 169 <th> 170<a href="../../../../nn/gd/CTR/CombinerDescription/SetBufferColor.html"><CODE>SetBufferColor</CODE></a> 171 </th> 172<td>Sets a combiner buffer color as the output of the first combiner buffer.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177<a href="../../../../nn/gd/CTR/CombinerDescription/SetCombinerInUse.html"><CODE>SetCombinerInUse</CODE></a> 178 </th> 179<td>Sets the usage flag for the texture combiner unit being used.</td> 180 </tr> 181 <tr> 182 <td width="100"> </td> 183 <th> 184<a href="../../../../nn/gd/CTR/CombinerDescription/CombinerDescription.html"><CODE>CombinerDescription</CODE></a> 185 </th> 186<td>The constructor. Calls <CODE><a href="../../../../nn/gd/CTR/CombinerDescription/ToDefault.html">ToDefault</a></CODE> and sets default values.</td> 187 </tr> 188 <tr> 189 <td width="100"> </td> 190 <th> 191<a href="../../../../nn/gd/CTR/CombinerDescription/ToDefault.html"><CODE>ToDefault</CODE></a> 192 </th> 193<td>Sets the default value for <CODE><a href="../../../../nn/gd/CTR/CombinerDescription/Overview.html">CombinerDescription</a></CODE>.</td> 194 </tr> </table> 195 </div> 196 </a> 197<h2>See Also</h2> 198 <div class="section"> 199<p class="reference">For details, see <CODE>CombinerStageCreateTextureCombinerState</CODE>.<br /> </p> 200 </div> 201<h2>Revision History</h2> 202 <div class="section"> 203 <dl class="history"> 204 <dt>2011/02/15</dt> 205<dd>Initial version.<br /> 206 </dd> 207 </dl> 208 </div> 209 <hr><p>CONFIDENTIAL</p></body> 210</html> 211