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