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