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::ResTextureMapper</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>::ResTextureMapper</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class ResTextureMapper : public <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon< ResTextureMapperData ></a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Binary resource class that manages texture and sampler settings and represents texture mappings for meshes.</p> 59 </div> 60 <a name="function" id="function"> 61 <h2>Member Functions</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <td width="100"> </td> 66 <th> 67 <a href="../../../../nw/gfx/res/ResTextureMapper/ResTextureMapper.html">ResTextureMapper</a> 68 </th> 69 <td>Constructor.</td> 70 </tr> 71 <tr> 72 <td width="100"> </td> 73 <th> 74 <a href="../../../../nw/gfx/res/ResTextureMapper/ref.html"><CODE>ref</CODE></a> 75 </th> 76 <td> 77 </td> 78 </tr> 79 <tr> 80 <td width="100"> </td> 81 <th> 82 <a href="../../../../nw/gfx/res/ResTextureMapper/operator==.html"><CODE>operator==</CODE></a> 83 </th> 84 <td> 85 </td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90 <a href="../../../../nw/gfx/res/ResTextureMapper/operator!=.html"><CODE>operator!=</CODE></a> 91 </th> 92 <td> 93 </td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <a href="../../../../nw/gfx/res/ResTextureMapper/SetTexture.html"><CODE>SetTexture</CODE></a> 99 </th> 100 <td>Sets a texture to a texture mapper. After setting the texture, it will generate a command.</td> 101 </tr> 102 <tr> 103 <td width="100"> </td> 104 <th> 105 <a href="../../../../nw/gfx/res/ResTextureMapper/GetTexture.html"><CODE>GetTexture</CODE></a> 106 </th> 107 <td>Gets a texture from a texture mapper.</td> 108 </tr> 109 <tr> 110 <td width="100"> </td> 111 <th> 112 <a href="../../../../nw/gfx/res/ResTextureMapper/Setup.html">Setup</a> 113 </th> 114 <td>Initializes a resource.</td> 115 </tr> 116 <tr> 117 <td width="100"> </td> 118 <th> 119 <a href="../../../../nw/gfx/res/ResTextureMapper/Cleanup.html"><CODE>Cleanup</CODE></a> 120 </th> 121 <td>Cleans up a resource.</td> 122 </tr> 123 <tr> 124 <td width="100"> </td> 125 <th> 126 <a href="../../../../nw/gfx/res/ResTextureMapper/CloneDynamic.html"><CODE>CloneDynamic</CODE></a> 127 </th> 128 <td>Clones a texture mapper from a resource.</td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133 <a href="../../../../nw/gfx/res/ResTextureMapper/GetMemorySizeForClone.html">GetMemorySizeForClone</a> 134 </th> 135 <td>Gets the memory size required at time of cloning.</td> 136 </tr> 137 <tr> 138 <td width="100"> </td> 139 <th> 140 <a href="../../../../nw/gfx/res/ResTextureMapper/DestroyDynamic.html"><CODE>DestroyDynamic</CODE></a> 141 </th> 142 <td>Destroys a <a href="../../../nw/gfx/ResTextureMapper/Overview.html"><CODE>ResTextureMapper</CODE></a> resource.</td> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147 <a href="../../../../nw/gfx/res/ResTextureMapper/GetTypeInfo.html"><CODE>GetTypeInfo</CODE></a> 148 </th> 149 <td>Gets the type information for the resource.</td> 150 </tr> 151 <tr> 152 <td width="100"> </td> 153 <th> 154 <a href="../../../../nw/ut/ResCommon/ptr.html">ptr</a> 155 </th> 156 <td>Returns a pointer to a binary resource structure. (Derived from <CODE><a href="../../../../nw/ut/ResCommon/Overview.html">ResCommon</a></CODE>)</td> 157 </tr> 158 <tr> 159 <td width="100"> </td> 160 <th> 161 <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a> 162 </th> 163 <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> 164 </tr> 165 <tr> 166 <td width="100"> 167 <span class="static_style" title="static">S</span> </td> 168 <th> 169 <a href="../../../../nw/gfx/res/ResTextureMapper/GetClassName.html"><CODE>GetClassName</CODE></a> 170 </th> 171 <td> 172 </td> 173 </tr> </table> 174 </div> 175 </a> 176 <h2>Class Hierarchy</h2> 177 <div class="section"> 178 <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 /> <b>nw::gfx::res::ResTextureMapper</b> 179 </p> 180 </div> 181 <hr><p>CONFIDENTIAL</p></body> 182</html> 183