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