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>nn::gd::CTR::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>The number of texture combiner units.</td> 134 </tr> </table> 135 </div> 136 </a> <a name="function" id="function"> 137 <h2>Member Functions</h2> 138 <div class="section"> 139 <table class="members"> 140 <tr> 141 <td width="100"> 142 <span class="static_style" title="static">S</span> </td> 143 <th> 144 <a href="../../../../nn/gd/CTR/CombinerStage/CreateTextureCombinerState.html"><CODE>CreateTextureCombinerState</CODE></a> 145 </th> 146 <td>Creates a texture combiner state object.</td> 147 </tr> 148 <tr> 149 <td width="100"> 150 <span class="static_style" title="static">S</span> </td> 151 <th> 152 <a href="../../../../nn/gd/CTR/CombinerStage/ReleaseTextureCombinerState.html"><CODE>ReleaseTextureCombinerState</CODE></a> 153 </th> 154 <td>Releases a texture combiner state object.</td> 155 </tr> 156 <tr> 157 <td width="100"> 158 <span class="static_style" title="static">S</span> </td> 159 <th> 160 <a href="../../../../nn/gd/CTR/CombinerStage/SetTextureCombinerState.html"><CODE>SetTextureCombinerState</CODE></a> 161 </th> 162 <td>Sets a texture combiner state object to <CODE>OutputStage</CODE>. </td> 163 </tr> 164 <tr> 165 <td width="100"> 166 <span class="static_style" title="static">S</span> </td> 167 <th> 168 <a href="../../../../nn/gd/CTR/CombinerStage/SetTextureCombinerUnitConstantColor.html"><CODE>SetTextureCombinerUnitConstantColor</CODE></a> 169 </th> 170 <td>Sets a constant color to the specified texture combiner unit.</td> 171 </tr> </table> 172 </div> 173 </a> 174 <h2>Revision History</h2> 175 <div class="section"> 176 <dl class="history"> 177 <dt>2011/02/15</dt> 178 <dd>Initial version.<br /> 179 </dd> 180 </dl> 181 </div> 182 <hr><p>CONFIDENTIAL</p></body> 183</html>