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>nw::gfx::res::ResImageTexture</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::ResImageTexture</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class ResImageTexture : public <a href="../../../../nw/gfx/res/ResPixelBasedTexture/Overview.html">nw::gfx::res::ResPixelBasedTexture</a></pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>Binary resource class that represents a planar texture using image data.</p>
59    </div>
60    <a name="class" id="class">
61      <h2>Classes</h2>
62      <div class="section">
63        <table class="members">
64          <tr>
65            <th>
66              <a href="../../../../nw/gfx/res/ResImageTexture/DynamicBuilder/Overview.html"><CODE>nw::gfx::res::ResImageTexture::DynamicBuilder</CODE></a>
67            </th>
68            <td>Class for dynamically building cameras. Memory is allocated in the number of bytes equal to the specified height and width in pixels. Memory for mipmaps is also allocated when a mipmap size has been specified.</td>
69          </tr> </table>
70      </div>
71    </a> <a name="struct" id="struct">
72      <h2>Structures</h2>
73      <div class="section">
74        <table class="members">
75          <tr>
76            <th>
77              <a href="../../../../nw/gfx/res/ResImageTexture/Description/Overview.html">nw::gfx::res::ResImageTexture::Description</a>
78            </th>
79            <td>Content to configure.</td>
80          </tr> </table>
81      </div>
82    </a> <a name="enum" id="enum">
83      <h2>Enumerated Types</h2>
84      <div class="section">
85        <table class="members">
86          <tr>
87            <td width="100"> </td>
88            <th>
89              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/FormatHW.html">FormatHW</a>
90            </th>
91            <td>
92        (Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
93          </tr> </table>
94      </div>
95    </a> <a name="function" id="function">
96      <h2>Member Functions</h2>
97      <div class="section">
98        <table class="members">
99          <tr>
100            <th class="category" colspan="3">Create/Destroy</th>
101          </tr>
102          <tr>
103            <td width="100">  </td>
104            <th>
105              <a href="../../../../nw/gfx/res/ResImageTexture/DynamicDestroy.html">DynamicDestroy</a>
106            </th>
107            <td>Dynamically destroys a created texture.</td>
108          </tr>
109          <tr>
110            <th class="category" colspan="3">Other</th>
111          </tr>
112          <tr>
113            <td width="100">  </td>
114            <th>
115              <a href="../../../../nw/gfx/res/ResImageTexture/ResImageTexture.html">ResImageTexture</a>
116            </th>
117            <td>Constructor.</td>
118          </tr>
119          <tr>
120            <td width="100">  </td>
121            <th>
122              <a href="../../../../nw/gfx/res/ResImageTexture/ptr.html">ptr</a>
123            </th>
124            <td>Gets a pointer to actual data.</td>
125          </tr>
126          <tr>
127            <td width="100">  </td>
128            <th>
129              <a href="../../../../nw/gfx/res/ResImageTexture/ref.html"><CODE>ref</CODE></a>
130            </th>
131            <td>Gets the reference to the actual data.</td>
132          </tr>
133          <tr>
134            <td width="100">  </td>
135            <th>
136              <a href="../../../../nw/gfx/res/ResImageTexture/operator==.html"><CODE>operator==</CODE></a>
137            </th>
138            <td>
139        </td>
140          </tr>
141          <tr>
142            <td width="100">  </td>
143            <th>
144              <a href="../../../../nw/gfx/res/ResImageTexture/operator!=.html"><CODE>operator!=</CODE></a>
145            </th>
146            <td>
147        </td>
148          </tr>
149          <tr>
150            <td width="100">  </td>
151            <th>
152              <a href="../../../../nw/gfx/res/ResImageTexture/GetImage.html"><CODE>GetImage</CODE></a>
153            </th>
154            <td>Gets pixel data.</td>
155          </tr>
156          <tr>
157            <td width="100">  </td>
158            <th>
159              <a href="../../../../nw/gfx/res/ResImageTexture/GetLocationAddress.html">GetLocationAddress</a>
160            </th>
161            <td>Gets the address of the texture image.</td>
162          </tr>
163          <tr>
164            <td width="100">  </td>
165            <th>
166              <a href="../../../../nw/gfx/res/ResImageTexture/SetLocationAddress.html">SetLocationAddress</a>
167            </th>
168            <td>Sets the address of the texture image already deployed in memory.</td>
169          </tr>
170          <tr>
171            <td width="100">  </td>
172            <th>
173              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetHeight.html"><CODE>GetHeight</CODE></a>
174            </th>
175            <td>Gets the texture height.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
176          </tr>
177          <tr>
178            <td width="100">  </td>
179            <th>
180              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetHeight.html">SetHeight</a>
181            </th>
182            <td>Sets the texture height.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
183          </tr>
184          <tr>
185            <td width="100">  </td>
186            <th>
187              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetWidth.html"><CODE>GetWidth</CODE></a>
188            </th>
189            <td>Gets the texture width.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
190          </tr>
191          <tr>
192            <td width="100">  </td>
193            <th>
194              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetWidth.html">SetWidth</a>
195            </th>
196            <td>Sets the texture width.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
197          </tr>
198          <tr>
199            <td width="100">  </td>
200            <th>
201              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetFormatType.html">GetFormatType</a>
202            </th>
203            <td>Gets the texture format type.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
204          </tr>
205          <tr>
206            <td width="100">  </td>
207            <th>
208              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetFormatType.html">SetFormatType</a>
209            </th>
210            <td>Sets the texture format type.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
211          </tr>
212          <tr>
213            <td width="100">  </td>
214            <th>
215              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetMipmapSize.html">GetMipmapSize</a>
216            </th>
217            <td>Gets the number of mipmaps.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
218          </tr>
219          <tr>
220            <td width="100">  </td>
221            <th>
222              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetMipmapSize.html">SetMipmapSize</a>
223            </th>
224            <td>Sets the number of mipmaps.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
225          </tr>
226          <tr>
227            <td width="100">  </td>
228            <th>
229              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetTextureObject.html">GetTextureObject</a>
230            </th>
231            <td>Gets a texture object.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
232          </tr>
233          <tr>
234            <td width="100">  </td>
235            <th>
236              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetTextureObject.html">SetTextureObject</a>
237            </th>
238            <td>Sets a texture object.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
239          </tr>
240          <tr>
241            <td width="100">  </td>
242            <th>
243              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetLocationFlag.html">GetLocationFlag</a>
244            </th>
245            <td>Gets a flag representing the memory location.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
246          </tr>
247          <tr>
248            <td width="100">  </td>
249            <th>
250              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetLocationFlag.html">SetLocationFlag</a>
251            </th>
252            <td>Sets a flag representing the memory location.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
253          </tr>
254          <tr>
255            <td width="100">  </td>
256            <th>
257              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/GetFormatHW.html">GetFormatHW</a>
258            </th>
259            <td>Gets the texture format.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
260          </tr>
261          <tr>
262            <td width="100">  </td>
263            <th>
264              <a href="../../../../nw/gfx/res/ResPixelBasedTexture/SetFormatHW.html">SetFormatHW</a>
265            </th>
266            <td>Sets the texture format.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResPixelBasedTexture</CODE></a>.</td>
267          </tr>
268          <tr>
269            <td width="100">  </td>
270            <th>
271              <a href="../../../../nw/gfx/res/ResTexture/GetRevision.html"><CODE>GetRevision</CODE></a>
272            </th>
273            <td>Gets the revision.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResTexture</CODE></a>.</td>
274          </tr>
275          <tr>
276            <td width="100">  </td>
277            <th>
278              <a href="../../../../nw/gfx/res/ResTexture/Dereference.html"><CODE>Dereference</CODE></a>
279            </th>
280            <td>Obtains the texture entity, and not the reference.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResTexture</CODE></a>.</td>
281          </tr>
282          <tr>
283            <td width="100">  </td>
284            <th>
285              <a href="../../../../nw/gfx/res/ResTexture/Setup.html">Setup</a>
286            </th>
287            <td>Initializes the texture resource.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResTexture</CODE></a>.</td>
288          </tr>
289          <tr>
290            <td width="100">  </td>
291            <th>
292              <a href="../../../../nw/gfx/res/ResTexture/Cleanup.html"><CODE>Cleanup</CODE></a>
293            </th>
294            <td>Cleans up a resource.(Inherited from <a href="../../../nw/gfx/ResPixelBasedTexture/Overview.html"><CODE>ResTexture</CODE></a>.</td>
295          </tr>
296          <tr>
297            <td width="100">  </td>
298            <th>
299              <a href="../../../../nw/gfx/res/ResSceneObject/GetHeader.html"><CODE>GetHeader</CODE></a>
300            </th>
301            <td>Gets the header information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
302          </tr>
303          <tr>
304            <td width="100">  </td>
305            <th>
306              <a href="../../../../nw/gfx/res/ResSceneObject/SetHeader.html">SetHeader</a>
307            </th>
308            <td>Sets the header information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
309          </tr>
310          <tr>
311            <td width="100">  </td>
312            <th>
313              <a href="../../../../nw/gfx/res/ResSceneObject/GetName.html"><CODE>GetName</CODE></a>
314            </th>
315            <td>Gets the name of the resource.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
316          </tr>
317          <tr>
318            <td width="100">  </td>
319            <th>
320              <a href="../../../../nw/gfx/res/ResSceneObject/GetUserDataCount.html"><CODE>GetUserDataCount</CODE></a>
321            </th>
322            <td>Gets the number of instances of user data.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
323          </tr>
324          <tr>
325            <td width="100">  </td>
326            <th>
327              <a href="../../../../nw/gfx/res/ResSceneObject/GetUserData.html"><CODE>GetUserData</CODE></a>
328            </th>
329            <td>Gets user data.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
330          </tr>
331          <tr>
332            <td width="100">  </td>
333            <th>
334              <a href="../../../../nw/gfx/res/ResSceneObject/GetUserDataIndex.html"><CODE>GetUserDataIndex</CODE></a>
335            </th>
336            <td>Gets the index number of user data in the dictionary.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
337          </tr>
338          <tr>
339            <td width="100">  </td>
340            <th>
341              <a href="../../../../nw/gfx/res/ResSceneObject/GetTypeInfo.html"><CODE>GetTypeInfo</CODE></a>
342            </th>
343            <td>Gets instance type information.(Derived from <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html"><CODE>ResSceneObject</CODE></a>.)</td>
344          </tr>
345          <tr>
346            <td width="100">  </td>
347            <th>
348              <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a>
349            </th>
350            <td>Determines whether a pointer to a resource is <CODE>null</CODE>.(Derived from <CODE><a href="../../../../nw/ut/ResCommonBase/Overview.html">ResCommonBase</a></CODE>.)</td>
351          </tr>
352          <tr>
353            <td width="100">
354              <span class="static_style" title="static">S</span> </td>
355            <th>
356              <a href="../../../../nw/gfx/res/ResImageTexture/GetClassName.html"><CODE>GetClassName</CODE></a>
357            </th>
358            <td>
359        </td>
360          </tr> </table>
361      </div>
362    </a>
363    <h2>Class Hierarchy</h2>
364    <div class="section">
365      <p class="hierarchy"><a href="../../../../nw/ut/ResCommonBase/Overview.html">nw::ut::ResCommonBase</a><br />  <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon</a><br />    <a href="../../../../nw/gfx/res/ResSceneObject/Overview.html">nw::gfx::res::ResSceneObject</a><br />      <a href="../../../../nw/gfx/res/ResTexture/Overview.html">nw::gfx::res::ResTexture</a><br />        <a href="../../../../nw/gfx/res/ResPixelBasedTexture/Overview.html">nw::gfx::res::ResPixelBasedTexture</a><br />          <b>nw::gfx::res::ResImageTexture</b>
366      </p>
367    </div>
368  <hr><p>CONFIDENTIAL</p></body>
369</html>
370