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::TextureStage</title> 49 </head> 50 <body> 51 <h1><CODE>nn::gd::CTR::TextureStage</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class TextureStage</pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>The texture stage.</p><p><anchor id="classnn_1_1gd_1_1_c_t_r_1_1_texture_stage_1TextureStage" /> Texture unit 3 uses only procedural textures.</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/TextureStage/TextureUnitId.html"><CODE>TextureUnitId</CODE></a> 67 </th> 68 <td>The enum value for texture units.</td> 69 </tr> 70 <tr> 71 <td width="100"> </td> 72 <th> 73 <a href="../../../../nn/gd/CTR/TextureStage/SamplerWrapMode.html"><CODE>SamplerWrapMode</CODE></a> 74 </th> 75 <td>The enum value for wrap mode.</td> 76 </tr> 77 <tr> 78 <td width="100"> </td> 79 <th> 80 <a href="../../../../nn/gd/CTR/TextureStage/SamplerMinFilter.html"><CODE>SamplerMinFilter</CODE></a> 81 </th> 82 <td>The enum value for <CODE>MinFilter</CODE>.</td> 83 </tr> 84 <tr> 85 <td width="100"> </td> 86 <th> 87 <a href="../../../../nn/gd/CTR/TextureStage/SamplerMagFilter.html"><CODE>SamplerMagFilter</CODE></a> 88 </th> 89 <td>The enum value for <CODE>MagFilter</CODE>.</td> 90 </tr> 91 <tr> 92 <td width="100"> </td> 93 <th> 94 <a href="../../../../nn/gd/CTR/TextureStage/TextureCoordinateSourceUnit2.html"><CODE>TextureCoordinateSourceUnit2</CODE></a> 95 </th> 96 <td>The enum value for texture unit 2 texture coordinates.</td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101 <a href="../../../../nn/gd/CTR/TextureStage/TextureCoordinateSourceUnit3Procedural.html"><CODE>TextureCoordinateSourceUnit3Procedural</CODE></a> 102 </th> 103 <td>The enum values for texture unit 3 texture coordinates used by the procedural texture.</td> 104 </tr> </table> 105 </div> 106 </a> <a name="function" id="function"> 107 <h2>Member Functions</h2> 108 <div class="section"> 109 <table class="members"> 110 <tr> 111 <td width="100"> 112 <span class="static_style" title="static">S</span> </td> 113 <th> 114 <a href="../../../../nn/gd/CTR/TextureStage/CreateTexture2D.html"><CODE>CreateTexture2D</CODE></a> 115 </th> 116 <td>Creates a 2D texture object from <CODE>Texture2DResource</CODE>.</td> 117 </tr> 118 <tr> 119 <td width="100"> 120 <span class="static_style" title="static">S</span> </td> 121 <th> 122 <a href="../../../../nn/gd/CTR/TextureStage/GetTexture2DProperties.html"><CODE>GetTexture2DProperties</CODE></a> 123 </th> 124 <td>Gets the detailed information of a 2D texture.</td> 125 </tr> 126 <tr> 127 <td width="100"> 128 <span class="static_style" title="static">S</span> </td> 129 <th> 130 <a href="../../../../nn/gd/CTR/TextureStage/ReleaseTexture2D.html"><CODE>ReleaseTexture2D</CODE></a> 131 </th> 132 <td>Releases the 2D texture.</td> 133 </tr> 134 <tr> 135 <td width="100"> 136 <span class="static_style" title="static">S</span> </td> 137 <th> 138 <a href="../../../../nn/gd/CTR/TextureStage/CreateTextureCube.html"><CODE>CreateTextureCube</CODE></a> 139 </th> 140 <td>Creates a texture cube object from a Texture2DResource.</td> 141 </tr> 142 <tr> 143 <td width="100"> 144 <span class="static_style" title="static">S</span> </td> 145 <th> 146 <a href="../../../../nn/gd/CTR/TextureStage/GetTextureCubeProperties.html"><CODE>GetTextureCubeProperties</CODE></a> 147 </th> 148 <td>Gets detailed texture cube information.</td> 149 </tr> 150 <tr> 151 <td width="100"> 152 <span class="static_style" title="static">S</span> </td> 153 <th> 154 <a href="../../../../nn/gd/CTR/TextureStage/ReleaseTextureCube.html"><CODE>ReleaseTextureCube</CODE></a> 155 </th> 156 <td>Releases the texture cube.</td> 157 </tr> 158 <tr> 159 <td width="100"> 160 <span class="static_style" title="static">S</span> </td> 161 <th> 162 <a href="../../../../nn/gd/CTR/TextureStage/SetTexture.html"><CODE>SetTexture</CODE></a> 163 </th> 164 <td>Sets a 2D texture object for the texture unit.</td> 165 </tr> 166 <tr> 167 <td width="100"> 168 <span class="static_style" title="static">S</span> </td> 169 <th> 170 <a href="../../../../nn/gd/CTR/TextureStage/SetTextureUnit0.html"><CODE>SetTextureUnit0</CODE></a> 171 </th> 172 <td>Sets a texture cube object for texture unit 0.</td> 173 </tr> 174 <tr> 175 <td width="100"> 176 <span class="static_style" title="static">S</span> </td> 177 <th> 178 <a href="../../../../nn/gd/CTR/TextureStage/SetTextureCoordinateSourceForUnit2.html"><CODE>SetTextureCoordinateSourceForUnit2</CODE></a> 179 </th> 180 <td>Sets the texture coordinates for texture unit 2.</td> 181 </tr> 182 <tr> 183 <td width="100"> 184 <span class="static_style" title="static">S</span> </td> 185 <th> 186 <a href="../../../../nn/gd/CTR/TextureStage/SetTextureCoordinateSourceForUnit3Procedural.html"><CODE>SetTextureCoordinateSourceForUnit3Procedural</CODE></a> 187 </th> 188 <td>Sets the texture coordinates for texture unit 3. (Used for procedural textures.)</td> 189 </tr> 190 <tr> 191 <td width="100"> 192 <span class="static_style" title="static">S</span> </td> 193 <th> 194 <a href="../../../../nn/gd/CTR/TextureStage/CreateSamplerState.html"><CODE>CreateSamplerState</CODE></a> 195 </th> 196 <td>Creates a sampler state object.</td> 197 </tr> 198 <tr> 199 <td width="100"> 200 <span class="static_style" title="static">S</span> </td> 201 <th> 202 <a href="../../../../nn/gd/CTR/TextureStage/SetSamplerState.html"><CODE>SetSamplerState</CODE></a> 203 </th> 204 <td>Sets a sampler state object for the texture unit.</td> 205 </tr> 206 <tr> 207 <td width="100"> 208 <span class="static_style" title="static">S</span> </td> 209 <th> 210 <a href="../../../../nn/gd/CTR/TextureStage/ReleaseSamplerState.html"><CODE>ReleaseSamplerState</CODE></a> 211 </th> 212 <td>Releases the sampler state.</td> 213 </tr> 214 <tr> 215 <td width="100"> 216 <span class="static_style" title="static">S</span> </td> 217 <th> 218 <a href="../../../../nn/gd/CTR/TextureStage/SetPerspectiveShadow.html"><CODE>SetPerspectiveShadow</CODE></a> 219 </th> 220 <td>Makes settings for applying perspective projection when generating texture coordinates for referencing shadow textures.</td> 221 </tr> 222 <tr> 223 <td width="100"> 224 <span class="static_style" title="static">S</span> </td> 225 <th> 226 <a href="../../../../nn/gd/CTR/TextureStage/SetShadowZScaleBias.html"><CODE>SetShadowZScaleBias</CODE></a> 227 </th> 228 <td>Sets the scale and bias for a shadow depth texture.</td> 229 </tr> </table> 230 </div> 231 </a> 232 <h2>See Also</h2> 233 <div class="section"> 234 <p class="reference">The procedural texture stage.<BR> </p> 235 </div> 236 <h2>Revision History</h2> 237 <div class="section"> 238 <dl class="history"> 239 <dt>2011/02/15</dt> 240 <dd>Initial version.<br /> 241 </dd> 242 </dl> 243 </div> 244 <hr><p>CONFIDENTIAL</p></body> 245</html> 246