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