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::ResFragmentLighting</title> 51 </head> 52 <body> 53 <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>::ResFragmentLighting</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class ResFragmentLighting : public <a href="../../../../nw/ut/ResCommon/Overview.html">nw::ut::ResCommon< ResFragmentLightingData ></a></pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>Binary resource class that represents fragment lighting.</p> 61 </div> 62 <a name="enum" id="enum"> 63 <h2>Enumerated Types</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <td width="100"> </td> 68 <th> 69 <a href="../../../../nw/gfx/res/ResFragmentLighting/LutType.html"><CODE>LutType</CODE></a> 70 </th> 71 <td> 72 </td> 73 </tr> 74 <tr> 75 <td width="100"> </td> 76 <th> 77 <a href="../../../../nw/gfx/res/ResFragmentLighting/ConfigDetail.html"><CODE>ConfigDetail</CODE></a> 78 </th> 79 <td> 80 </td> 81 </tr> 82 <tr> 83 <td width="100"> </td> 84 <th> 85 <a href="../../../../nw/gfx/res/ResFragmentLighting/Config.html"><CODE>Config</CODE></a> 86 </th> 87 <td>Layer config.</td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92 <a href="../../../../nw/gfx/res/ResFragmentLighting/FresnelConfig.html"><CODE>FresnelConfig</CODE></a> 93 </th> 94 <td>Colors to which Fresnel is applied.</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99 <a href="../../../../nw/gfx/res/ResFragmentLighting/BumpMode.html"><CODE>BumpMode</CODE></a> 100 </th> 101 <td>Method of using bump mapping.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106 <a href="../../../../nw/gfx/res/ResFragmentLighting/BumpTexture.html"><CODE>BumpTexture</CODE></a> 107 </th> 108 <td>Texture used for bump.</td> 109 </tr> </table> 110 </div> 111 </a> <a name="function" id="function"> 112 <h2>Member Functions</h2> 113 <div class="section"> 114 <table class="members"> 115 <tr> 116 <td width="100"> </td> 117 <th> 118 <a href="../../../../nw/gfx/res/ResFragmentLighting/ResFragmentLighting.html"><CODE>ResFragmentLighting</CODE></a> 119 </th> 120 <td>Constructor.</td> 121 </tr> 122 <tr> 123 <td width="100"> </td> 124 <th> 125 <a href="../../../../nw/gfx/res/ResFragmentLighting/ref.html"><CODE>ref</CODE></a> 126 </th> 127 <td> 128 </td> 129 </tr> 130 <tr> 131 <td width="100"> </td> 132 <th> 133 <a href="../../../../nw/gfx/res/ResFragmentLighting/operator==.html"><CODE>operator ==</CODE></a> 134 </th> 135 <td> 136 </td> 137 </tr> 138 <tr> 139 <td width="100"> </td> 140 <th> 141 <a href="../../../../nw/gfx/res/ResFragmentLighting/operator!=.html"><CODE>operator!=</CODE></a> 142 </th> 143 <td> 144 </td> 145 </tr> 146 <tr> 147 <td width="100"> </td> 148 <th> 149 <a href="../../../../nw/gfx/res/ResFragmentLighting/GetFlags.html"><CODE>GetFlags</CODE></a> 150 </th> 151 <td>Gets the flag value.</td> 152 </tr> 153 <tr> 154 <td width="100"> </td> 155 <th> 156 <a href="../../../../nw/gfx/res/ResFragmentLighting/SetFlags.html"><CODE>SetFlags</CODE></a> 157 </th> 158 <td>Sets flag value. Unset flags are disabled.</td> 159 </tr> 160 <tr> 161 <td width="100"> </td> 162 <th> 163 <a href="../../../../nw/gfx/res/ResFragmentLighting/EnableFlags.html"><CODE>EnableFlags</CODE></a> 164 </th> 165 <td>Enables the flag value that has been set. Unset flags are not changed.</td> 166 </tr> 167 <tr> 168 <td width="100"> </td> 169 <th> 170 <a href="../../../../nw/gfx/res/ResFragmentLighting/DisableFlags.html"><CODE>DisableFlags</CODE></a> 171 </th> 172 <td>Disables the flag value that has been set. Unset flags are not changed.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177 <a href="../../../../nw/gfx/res/ResFragmentLighting/GetLayerConfig.html">GetLayerConfig</a> 178 </th> 179 <td>Gets the layer config.</td> 180 </tr> 181 <tr> 182 <td width="100"> </td> 183 <th> 184 <a href="../../../../nw/gfx/res/ResFragmentLighting/SetLayerConfig.html">SetLayerConfig</a> 185 </th> 186 <td>Sets the layer config.</td> 187 </tr> 188 <tr> 189 <td width="100"> </td> 190 <th> 191 <a href="../../../../nw/gfx/res/ResFragmentLighting/GetFresnelConfig.html">GetFresnelConfig</a> 192 </th> 193 <td>Gets the Fresnel factor.</td> 194 </tr> 195 <tr> 196 <td width="100"> </td> 197 <th> 198 <a href="../../../../nw/gfx/res/ResFragmentLighting/SetFresnelConfig.html">FresnelConfig,</a> 199 </th> 200 <td>Sets the Fresnel factor.</td> 201 </tr> 202 <tr> 203 <td width="100"> </td> 204 <th> 205 <a href="../../../../nw/gfx/res/ResFragmentLighting/GetBumpTextureIndex.html">GetBumpTextureIndex</a> 206 </th> 207 <td>Gets the texture unit number for executing bump mapping.</td> 208 </tr> 209 <tr> 210 <td width="100"> </td> 211 <th> 212 <a href="../../../../nw/gfx/res/ResFragmentLighting/SetBumpTextureIndex.html">SetBumpTextureIndex</a> 213 </th> 214 <td>Sets the texture unit number for executing bump mapping.</td> 215 </tr> 216 <tr> 217 <td width="100"> </td> 218 <th> 219 <a href="../../../../nw/gfx/res/ResFragmentLighting/GetBumpMode.html">GetBumpMode</a> 220 </th> 221 <td>Gets the bump mapping mode.</td> 222 </tr> 223 <tr> 224 <td width="100"> </td> 225 <th> 226 <a href="../../../../nw/gfx/res/ResFragmentLighting/SetBumpMode.html">SetBumpMode</a> 227 </th> 228 <td>Sets the bump mapping mode.</td> 229 </tr> 230 <tr> 231 <td width="100"> </td> 232 <th> 233 <a href="../../../../nw/gfx/res/ResFragmentLighting/IsBumpRenormalize.html">IsBumpRenormalize</a> 234 </th> 235 <td>Gets the flag to enable recalculation of the z component of the bump vector.</td> 236 </tr> 237 <tr> 238 <td width="100"> </td> 239 <th> 240 <a href="../../../../nw/gfx/res/ResFragmentLighting/SetBumpRenormalize.html">SetBumpRenormalize</a> 241 </th> 242 <td>Sets the flag to enable recalculation of the z component of the bump vector.</td> 243 </tr> 244 <tr> 245 <td width="100"> </td> 246 <th> 247 <a href="../../../../nw/gfx/res/ResFragmentLighting/IsReflectionEnabled.html">IsReflectionEnabled</a> 248 </th> 249 <td>Returns whether or not the reflection factor.</td> 250 </tr> 251 <tr> 252 <td width="100"> </td> 253 <th> 254 <a href="../../../../nw/ut/ResCommon/ptr.html">ptr</a> 255 </th> 256 <td>Returns a pointer to a binary resource structure. (Derived from <CODE><a href="../../../../nw/ut/ResCommon/Overview.html">ResCommon</a></CODE>)</td> 257 </tr> 258 <tr> 259 <td width="100"> </td> 260 <th> 261 <a href="../../../../nw/ut/ResCommonBase/IsValid.html"><CODE>IsValid</CODE></a> 262 </th> 263 <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> 264 </tr> 265 <tr> 266 <td width="100"> 267 <span class="static_style" title="static">S</span> </td> 268 <th> 269 <a href="../../../../nw/gfx/res/ResFragmentLighting/GetClassName.html"><CODE>GetClassName</CODE></a> 270 </th> 271 <td> 272 </td> 273 </tr> 274 <tr> 275 <td width="100"> 276 <span class="static_style" title="static">S</span> </td> 277 <th> 278 <a href="../../../../nw/gfx/res/ResFragmentLighting/ToConfigDetail.html"><CODE>ToConfigDetail</CODE></a> 279 </th> 280 <td>Gets the flag for lookup table assignment from <CODE>LayerConfig</CODE>.</td> 281 </tr> </table> 282 </div> 283 </a> 284 <h2>Class Hierarchy</h2> 285 <div class="section"> 286 <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::ResFragmentLighting</b> 287 </p> 288 </div> 289 <hr><p>CONFIDENTIAL</p></body> 290</html>