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