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::GraphicsDevice</title> 51 </head> 52 <body> 53 <h1>nw::gfx::GraphicsDevice Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class GraphicsDevice</pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>The class for setting rendering content in the GPU.</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 <th class="category" colspan="3">Lookup Table related</th> 68 </tr> 69 <tr> 70 <td width="100"> </td> 71 <th> 72 <a href="../../../nw/gfx/GraphicsDevice/LutTarget.html">LutTarget</a> 73 </th> 74 <td>These are the definitions for targets set for <CODE>LookupTable</CODE>.</td> 75 </tr> </table> 76 </div> 77 </a> <a name="function" id="function"> 78 <h2>Member Functions</h2> 79 <div class="section"> 80 <table class="members"> 81 <tr> 82 <th class="category" colspan="3">Lookup Table related</th> 83 </tr> 84 <tr> 85 <td width="100"> 86 <span class="static_style" title="static">S</span> </td> 87 <th> 88 <a href="../../../nw/gfx/GraphicsDevice/SetLutIsAbs.html">SetLutIsAbs</a> 89 </th> 90 <td>Specifies whether LUT input is absolute value.</td> 91 </tr> 92 <tr> 93 <td width="100"> 94 <span class="static_style" title="static">S</span> </td> 95 <th> 96 <a href="../../../nw/gfx/GraphicsDevice/SetLutInput.html">SetLutInput</a> 97 </th> 98 <td>Specifies the LUT input value.</td> 99 </tr> 100 <tr> 101 <td width="100"> 102 <span class="static_style" title="static">S</span> </td> 103 <th> 104 <a href="../../../nw/gfx/GraphicsDevice/SetLutScale.html">SetLutScale</a> 105 </th> 106 <td>Specifies the LUT scale value.</td> 107 </tr> 108 <tr> 109 <td width="100"> 110 <span class="static_style" title="static">S</span> </td> 111 <th> 112 <a href="../../../nw/gfx/GraphicsDevice/ActivateLutParameters.html">ActivateLutParameters</a> 113 </th> 114 <td>Command output of LUT parameters.</td> 115 </tr> 116 <tr> 117 <td width="100"> 118 <span class="static_style" title="static">S</span> </td> 119 <th> 120 <a href="../../../nw/gfx/GraphicsDevice/ResetLutParameters.html">ResetLutParameters</a> 121 </th> 122 <td>Resets the states of the LUT parameters.</td> 123 </tr> 124 <tr> 125 <td width="100"> 126 <span class="static_style" title="static">S</span> </td> 127 <th> 128 <a href="../../../nw/gfx/GraphicsDevice/ActivateLookupTable.html">ActivateLookupTable</a> 129 </th> 130 <td>Sets a lookup table in the lookup table cache.</td> 131 </tr> 132 <tr> 133 <td width="100"> 134 <span class="static_style" title="static">S</span> </td> 135 <th> 136 <a href="../../../nw/gfx/GraphicsDevice/InvalidateLookupTable.html">InvalidateLookupTable</a> 137 </th> 138 <td>Deletes a lookup table that has been set in lookup table cache.</td> 139 </tr> 140 <tr> 141 <td width="100"> 142 <span class="static_style" title="static">S</span> </td> 143 <th> 144 <a href="../../../nw/gfx/GraphicsDevice/InvalidateAllLookupTables.html">InvalidateAllLookupTables</a> 145 </th> 146 <td>Invalidates all lookup tables.</td> 147 </tr> 148 <tr> 149 <th class="category" colspan="3">Rasterization related</th> 150 </tr> 151 <tr> 152 <td width="100"> 153 <span class="static_style" title="static">S</span> </td> 154 <th> 155 <a href="../../../nw/gfx/GraphicsDevice/SetPolygonOffsetEnabled.html">SetPolygonOffsetEnabled</a> 156 </th> 157 <td>Sets the flag for whether to enable polygon offsets or not.</td> 158 </tr> 159 <tr> 160 <td width="100"> 161 <span class="static_style" title="static">S</span> </td> 162 <th> 163 <a href="../../../nw/gfx/GraphicsDevice/SetPolygonOffsetUnit.html">SetPolygonOffsetUnit</a> 164 </th> 165 <td>Sets the unit element of the polygon offset.</td> 166 </tr> 167 <tr> 168 <td width="100"> 169 <span class="static_style" title="static">S</span> </td> 170 <th> 171 <a href="../../../nw/gfx/GraphicsDevice/ActivatePolygonOffset.html">ActivatePolygonOffset</a> 172 </th> 173 <td>Issues command for polygon offset.</td> 174 </tr> 175 <tr> 176 <th class="category" colspan="3">Blender related</th> 177 </tr> 178 <tr> 179 <td width="100"> 180 <span class="static_style" title="static">S</span> </td> 181 <th> 182 <a href="../../../nw/gfx/GraphicsDevice/SetBlendEnabled.html">SetBlendEnabled</a> 183 </th> 184 <td>Enables and disables blending computations.</td> 185 </tr> 186 <tr> 187 <th class="category" colspan="3">Fragment Operations related</th> 188 </tr> 189 <tr> 190 <td width="100"> 191 <span class="static_style" title="static">S</span> </td> 192 <th> 193 <a href="../../../nw/gfx/GraphicsDevice/SetFragmentOperationMode.html">SetFragmentOperationMode</a> 194 </th> 195 <td>Sets the fragment operation mode.</td> 196 </tr> 197 <tr> 198 <td width="100"> 199 <span class="static_style" title="static">S</span> </td> 200 <th> 201 <a href="../../../nw/gfx/GraphicsDevice/ActivateFragmentOperationMode.html">ActivateFragmentOperationMode</a> 202 </th> 203 <td>Sets the fragment operation mode.</td> 204 </tr> 205 <tr> 206 <td width="100"> 207 <span class="static_style" title="static">S</span> </td> 208 <th> 209 <a href="../../../nw/gfx/GraphicsDevice/SetDepthTestEnabled.html">SetDepthTestEnabled</a> 210 </th> 211 <td>Enables and disables depth buffering.</td> 212 </tr> 213 <tr> 214 <td width="100"> 215 <span class="static_style" title="static">S</span> </td> 216 <th> 217 <a href="../../../nw/gfx/GraphicsDevice/SetStencilTestEnabled.html">SetStencilTestEnabled</a> 218 </th> 219 <td>Enables and disables the stencil test.</td> 220 </tr> 221 <tr> 222 <td width="100"> 223 <span class="static_style" title="static">S</span> </td> 224 <th> 225 <a href="../../../nw/gfx/GraphicsDevice/SetDepthRange.html">SetDepthRange</a> 226 </th> 227 <td>Sets the depth range.</td> 228 </tr> 229 <tr> 230 <td width="100"> 231 <span class="static_style" title="static">S</span> </td> 232 <th> 233 <a href="../../../nw/gfx/GraphicsDevice/SetWScale.html">SetWScale</a> 234 </th> 235 <td>Configures the <CODE>WScale </CODE>settings.</td> 236 </tr> 237 <tr> 238 <td width="100"> 239 <span class="static_style" title="static">S</span> </td> 240 <th> 241 <a href="../../../nw/gfx/GraphicsDevice/SetDepthFormat.html">SetDepthFormat</a> 242 </th> 243 <td>Sets the depth format.</td> 244 </tr> 245 <tr> 246 <th class="category" colspan="3">Mask related</th> 247 </tr> 248 <tr> 249 <td width="100"> 250 <span class="static_style" title="static">S</span> </td> 251 <th> 252 <a href="../../../nw/gfx/GraphicsDevice/SetColorMask.html">SetColorMask</a> 253 </th> 254 <td>Sets the color mask.</td> 255 </tr> 256 <tr> 257 <td width="100"> 258 <span class="static_style" title="static">S</span> </td> 259 <th> 260 <a href="../../../nw/gfx/GraphicsDevice/SetDepthMaskEnabled.html">SetDepthMaskEnabled</a> 261 </th> 262 <td>Sets the depth mask.</td> 263 </tr> 264 <tr> 265 <td width="100"> 266 <span class="static_style" title="static">S</span> </td> 267 <th> 268 <a href="../../../nw/gfx/GraphicsDevice/SetStencilMask.html">SetStencilMask</a> 269 </th> 270 <td>Sets the stencil mask.</td> 271 </tr> 272 <tr> 273 <td width="100"> 274 <span class="static_style" title="static">S</span> </td> 275 <th> 276 <a href="../../../nw/gfx/GraphicsDevice/ActivateFrameBuffer.html">ActivateFrameBuffer</a> 277 </th> 278 <td>Issues the command to activate the framebuffer.</td> 279 </tr> 280 <tr> 281 <td width="100"> 282 <span class="static_style" title="static">S</span> </td> 283 <th> 284 <a href="../../../nw/gfx/GraphicsDevice/ActivateMask.html">ActivateMask</a> 285 </th> 286 <td>Issues the command to activate mask.</td> 287 </tr> 288 <tr> 289 <th class="category" colspan="3">Light-Related</th> 290 </tr> 291 <tr> 292 <td width="100"> 293 <span class="static_style" title="static">S</span> </td> 294 <th> 295 <a href="../../../nw/gfx/GraphicsDevice/ResetFragmentLightEnabled.html">ResetFragmentLightEnabled</a> 296 </th> 297 <td>Resets the enable flag of the light.</td> 298 </tr> 299 <tr> 300 <td width="100"> 301 <span class="static_style" title="static">S</span> </td> 302 <th> 303 <a href="../../../nw/gfx/GraphicsDevice/GetFragmentLightPositionW.html">GetFragmentLightPositionW</a> 304 </th> 305 <td>Obtains the value of position W.</td> 306 </tr> 307 <tr> 308 <td width="100"> 309 <span class="static_style" title="static">S</span> </td> 310 <th> 311 <a href="../../../nw/gfx/GraphicsDevice/SetFragmentLightPositionW.html">SetFragmentLightPositionW</a> 312 </th> 313 <td>Sets the value of position W.</td> 314 </tr> 315 <tr> 316 <td width="100"> 317 <span class="static_style" title="static">S</span> </td> 318 <th> 319 <a href="../../../nw/gfx/GraphicsDevice/SetFragmentLightShadowed.html">SetFragmentLightShadowed</a> 320 </th> 321 <td>Enables shadow attenuation.</td> 322 </tr> 323 <tr> 324 <td width="100"> 325 <span class="static_style" title="static">S</span> </td> 326 <th> 327 <a href="../../../nw/gfx/GraphicsDevice/SetFragmentLightSpotEnabled.html">SetFragmentLightSpotEnabled</a> 328 </th> 329 <td>Enables spotlights.</td> 330 </tr> 331 <tr> 332 <td width="100"> 333 <span class="static_style" title="static">S</span> </td> 334 <th> 335 <a href="../../../nw/gfx/GraphicsDevice/SetFragmentLightDistanceAttnEnabled.html">SetFragmentLightDistanceAttnEnabled</a> 336 </th> 337 <td>Enables distance attenuation.</td> 338 </tr> 339 <tr> 340 <td width="100"> 341 <span class="static_style" title="static">S</span> </td> 342 <th> 343 <a href="../../../nw/gfx/GraphicsDevice/ActivateFragmentLightDistanceAttnTable.html">ActivateFragmentLightDistanceAttnTable</a> 344 </th> 345 <td>Sets the distance attenuation table.</td> 346 </tr> 347 <tr> 348 <td width="100"> 349 <span class="static_style" title="static">S</span> </td> 350 <th> 351 <a href="../../../nw/gfx/GraphicsDevice/ActivateFragmentLightSpotTable.html">ActivateFragmentLightSpotTable</a> 352 </th> 353 <td>Sets the spot table.</td> 354 </tr> 355 <tr> 356 <td width="100"> 357 <span class="static_style" title="static">S</span> </td> 358 <th> 359 <a href="../../../nw/gfx/GraphicsDevice/ActivateFragmentLightDistanceAttnScaleBias.html">ActivateFragmentLightDistanceAttnScaleBias</a> 360 </th> 361 <td>Issues the scale and bias commands for distance attenuation.</td> 362 </tr> 363 <tr> 364 <td width="100"> 365 <span class="static_style" title="static">S</span> </td> 366 <th> 367 <a href="../../../nw/gfx/GraphicsDevice/ActivateFragmentLightPosition.html">ActivateFragmentLightPosition</a> 368 </th> 369 <td>Issues a command for fragment light.</td> 370 </tr> 371 <tr> 372 <td width="100"> 373 <span class="static_style" title="static">S</span> </td> 374 <th> 375 <a href="../../../nw/gfx/GraphicsDevice/ActivateFragmentLightEnabled.html">ActivateFragmentLightEnabled</a> 376 </th> 377 <td>Issues a command to set fragment light to enabled.</td> 378 </tr> 379 <tr> 380 <th class="category" colspan="3">Other</th> 381 </tr> 382 <tr> 383 <td width="100"> 384 <span class="static_style" title="static">S</span> </td> 385 <th> 386 <a href="../../../nw/gfx/GraphicsDevice/ActivateViewport.html">ActivateViewport</a> 387 </th> 388 <td>Sets the size of window for the rendering target surface.</td> 389 </tr> 390 <tr> 391 <td width="100"> 392 <span class="static_style" title="static">S</span> </td> 393 <th> 394 <a href="../../../nw/gfx/GraphicsDevice/SetRenderBufferSize.html">SetRenderBufferSize</a> 395 </th> 396 <td>Sets the rendering buffer size.</td> 397 </tr> 398 <tr> 399 <td width="100"> 400 <span class="static_style" title="static">S</span> </td> 401 <th> 402 <a href="../../../nw/gfx/GraphicsDevice/ActivateScissor.html">ActivateScissor</a> 403 </th> 404 <td>Issues scissoring rectangle information.</td> 405 </tr> 406 <tr> 407 <td width="100"> 408 <span class="static_style" title="static">S</span> </td> 409 <th> 410 <a href="../../../nw/gfx/GraphicsDevice/Report.html">Report</a> 411 </th> 412 <td>Displays the status of <CODE><a href="../../../nw/gfx/GraphicsDevice/Overview.html">GraphicsDevice</a></CODE>.</td> 413 </tr> </table> 414 </div> 415 </a> 416 <hr><p>CONFIDENTIAL</p></body> 417</html>