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::demo::RenderSystem</title>
51  </head>
52  <body>
53    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::RenderSystem</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class RenderSystem</pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>Class for the collection of rendering features.</p>
61    </div>
62    <a name="struct" id="struct">
63      <h2>Structures</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <th>
68              <a href="../../../nw/demo/RenderSystem/Description/Overview.html"><CODE>nw::demo::RenderSystem::Description</CODE></a>
69            </th>
70            <td>Render system settings.</td>
71          </tr>
72          <tr>
73            <th>
74              <a href="../../../nw/demo/RenderSystem/LoadMeterDescription/Overview.html"><CODE>nw::demo::RenderSystem::LoadMeterDescription</CODE></a>
75            </th>
76            <td>Load meter description.</td>
77          </tr> </table>
78      </div>
79    </a> <a name="function" id="function">
80      <h2>Member Functions</h2>
81      <div class="section">
82        <table class="members">
83          <tr>
84            <th class="category" colspan="3">Creation and Destruction</th>
85          </tr>
86          <tr>
87            <td width="100">
88              <span class="static_style" title="static">S</span> </td>
89            <th>
90              <a href="../../../nw/demo/RenderSystem/Create.html"><CODE>Create</CODE></a>
91            </th>
92            <td>Creates drawing-related classes.</td>
93          </tr>
94          <tr>
95            <td width="100">  </td>
96            <th>
97              <a href="../../../nw/demo/RenderSystem/LoadSkyModel.html"><CODE>LoadSkyModel</CODE></a>
98            </th>
99            <td>Constructs a model located in the most distant background.</td>
100          </tr>
101          <tr>
102            <td width="100">  </td>
103            <th>
104              <a href="../../../nw/demo/RenderSystem/Destroy.html"><CODE>Destroy</CODE></a>
105            </th>
106            <td>Destroys the render system.</td>
107          </tr>
108          <tr>
109            <th class="category" colspan="3">Set/Get</th>
110          </tr>
111          <tr>
112            <td width="100">  </td>
113            <th>
114              <a href="../../../nw/demo/RenderSystem/SetRenderTarget.html"><CODE>SetRenderTarget</CODE></a>
115            </th>
116            <td>Sets targets to be rendered.</td>
117          </tr>
118          <tr>
119            <td width="100">  </td>
120            <th>
121              <a href="../../../nw/demo/RenderSystem/GetRenderContext.html"><CODE>GetRenderContext</CODE></a>
122            </th>
123            <td>Gets the render context.</td>
124          </tr>
125          <tr>
126            <td width="100">  </td>
127            <th>
128              <a href="../../../nw/demo/RenderSystem/GetSceneEnvironment.html"><CODE>GetSceneEnvironment</CODE></a>
129            </th>
130            <td>Gets the scene environment.</td>
131          </tr>
132          <tr>
133            <td width="100">  </td>
134            <th>
135              <a href="../../../nw/demo/RenderSystem/SetRenderSortMode.html"><CODE>SetRenderSortMode</CODE></a>
136            </th>
137            <td>Sets the render sort mode.</td>
138          </tr>
139          <tr>
140            <td width="100">  </td>
141            <th>
142              <a href="../../../nw/demo/RenderSystem/GetRenderSortMode.html"><CODE>GetRenderSortMode</CODE></a>
143            </th>
144            <td>Gets the render sort mode.</td>
145          </tr>
146          <tr>
147            <td width="100">  </td>
148            <th>
149              <a href="../../../nw/demo/RenderSystem/GetRenderQueue.html"><CODE>GetRenderQueue</CODE></a>
150            </th>
151            <td>Gets the render queue.</td>
152          </tr>
153          <tr>
154            <td width="100">  </td>
155            <th>
156              <a href="../../../nw/demo/RenderSystem/GetMeshRenderer.html"><CODE>GetMeshRenderer</CODE></a>
157            </th>
158            <td>Gets the mesh renderer.</td>
159          </tr>
160          <tr>
161            <td width="100">  </td>
162            <th>
163              <a href="../../../nw/demo/RenderSystem/GetCommandListSwapper.html"><CODE>GetCommandListSwapper</CODE></a>
164            </th>
165            <td>Gets a command list swapper.</td>
166          </tr>
167          <tr>
168            <td width="100">  </td>
169            <th>
170              <a href="../../../nw/demo/RenderSystem/EnqueueRenderCommand.html"><CODE>EnqueueRenderCommand</CODE></a>
171            </th>
172            <td>Stacks render command elements in the render queue.</td>
173          </tr>
174          <tr>
175            <th class="category" colspan="3">Rendering</th>
176          </tr>
177          <tr>
178            <td width="100">  </td>
179            <th>
180              <a href="../../../nw/demo/RenderSystem/SetSceneEnvironmentSettings.html"><CODE>SetSceneEnvironmentSettings</CODE></a>
181            </th>
182            <td>Sets the scene environment to the render context.</td>
183          </tr>
184          <tr>
185            <td width="100">  </td>
186            <th>
187              <a href="../../../nw/demo/RenderSystem/SetEnvironment.html"><CODE>SetEnvironment</CODE></a>
188            </th>
189            <td>Sets the scene context environment to the render context. This function is called to set lights and fog without using <CODE>SceneEnvironmentSetting</CODE>.</td>
190          </tr>
191          <tr>
192            <td width="100">  </td>
193            <th>
194              <a href="../../../nw/demo/RenderSystem/SubmitView.html"><CODE>SubmitView</CODE></a>
195            </th>
196            <td>Adds a render element to the render queue.</td>
197          </tr>
198          <tr>
199            <td width="100">  </td>
200            <th>
201              <a href="../../../nw/demo/RenderSystem/RenderScene.html"><CODE>RenderScene</CODE></a>
202            </th>
203            <td>Renders a scene.</td>
204          </tr>
205          <tr>
206            <td width="100">  </td>
207            <th>
208              <a href="../../../nw/demo/RenderSystem/RenderStereoScene.html"><CODE>RenderStereoScene</CODE></a>
209            </th>
210            <td>Renders a scene suitable for stereo display.</td>
211          </tr>
212          <tr>
213            <td width="100">  </td>
214            <th>
215              <a href="../../../nw/demo/RenderSystem/ClearBuffer.html"><CODE>ClearBuffer</CODE></a>
216            </th>
217            <td>Erases the buffer.</td>
218          </tr>
219          <tr>
220            <td width="100">  </td>
221            <th>
222              <a href="../../../nw/demo/RenderSystem/ClearBySkyModel.html"><CODE>ClearBySkyModel</CODE></a>
223            </th>
224            <td>Renders while adjusting <CODE>Translate</CODE> and <CODE>Scale</CODE> of the most distant models based on camera parameters.</td>
225          </tr>
226          <tr>
227            <td width="100">  </td>
228            <th>
229              <a href="../../../nw/demo/RenderSystem/TransferBuffer.html"><CODE>TransferBuffer</CODE></a>
230            </th>
231            <td>Transfers the buffer.</td>
232          </tr>
233          <tr>
234            <td width="100">  </td>
235            <th>
236              <a href="../../../nw/demo/RenderSystem/WaitCommandList.html"><CODE>WaitCommandList</CODE></a>
237            </th>
238            <td>Waits for the executing command list to end.</td>
239          </tr>
240          <tr>
241            <td width="100">  </td>
242            <th>
243              <a href="../../../nw/demo/RenderSystem/RunCommandList.html"><CODE>RunCommandList</CODE></a>
244            </th>
245            <td>Runs a bound command list.</td>
246          </tr>
247          <tr>
248            <td width="100">  </td>
249            <th>
250              <a href="../../../nw/demo/RenderSystem/SwapCommandList.html"><CODE>SwapCommandList</CODE></a>
251            </th>
252            <td>Swaps command list with buffer.</td>
253          </tr>
254          <tr>
255            <td width="100">  </td>
256            <th>
257              <a href="../../../nw/demo/RenderSystem/WaitVSync.html"><CODE>WaitVSync</CODE></a>
258            </th>
259            <td>Waits for VSync.</td>
260          </tr>
261          <tr>
262            <td width="100">  </td>
263            <th>
264              <a href="../../../nw/demo/RenderSystem/SwapBuffer.html"><CODE>SwapBuffer</CODE></a>
265            </th>
266            <td>Reserves a buffer swap.</td>
267          </tr>
268          <tr>
269            <td width="100">  </td>
270            <th>
271              <a href="../../../nw/demo/RenderSystem/PresentBuffer.html"><CODE>PresentBuffer</CODE></a>
272            </th>
273            <td>Waits for VSync, shows the display buffer and executes the command list.</td>
274          </tr>
275          <tr>
276            <td width="100">  </td>
277            <th>
278              <a href="../../../nw/demo/RenderSystem/CalcStereoCamera.html"><CODE>CalcStereoCamera</CODE></a>
279            </th>
280            <td>Calculates the stereo camera.</td>
281          </tr>
282          <tr>
283            <th class="category" colspan="3">Load Meter</th>
284          </tr>
285          <tr>
286            <td width="100">  </td>
287            <th>
288              <a href="../../../nw/demo/RenderSystem/BeginLoadMeter.html"><CODE>BeginLoadMeter</CODE></a>
289            </th>
290            <td>Starts the load meter.</td>
291          </tr>
292          <tr>
293            <td width="100">  </td>
294            <th>
295              <a href="../../../nw/demo/RenderSystem/EndLoadMeter.html"><CODE>EndLoadMeter</CODE></a>
296            </th>
297            <td>Stops the load meter.</td>
298          </tr>
299          <tr>
300            <td width="100">  </td>
301            <th>
302              <a href="../../../nw/demo/RenderSystem/CalcLoadMeter.html"><CODE>CalcLoadMeter</CODE></a>
303            </th>
304            <td>Calculates load meter results.</td>
305          </tr>
306          <tr>
307            <td width="100">  </td>
308            <th>
309              <a href="../../../nw/demo/RenderSystem/SuspendLoadMeter.html"><CODE>SuspendLoadMeter</CODE></a>
310            </th>
311            <td>Pauses the load meter.</td>
312          </tr>
313          <tr>
314            <td width="100">  </td>
315            <th>
316              <a href="../../../nw/demo/RenderSystem/ResumeLoadMeter.html"><CODE>ResumeLoadMeter</CODE></a>
317            </th>
318            <td>Resumes the load meter.</td>
319          </tr>
320          <tr>
321            <td width="100">  </td>
322            <th>
323              <a href="../../../nw/demo/RenderSystem/ResetCumulativeLoadMeter.html"><CODE>ResetCumulativeLoadMeter</CODE></a>
324            </th>
325            <td>Resets the cumulative load meter.</td>
326          </tr>
327          <tr>
328            <td width="100">  </td>
329            <th>
330              <a href="../../../nw/demo/RenderSystem/GetLoadMeter.html"><CODE>GetLoadMeter</CODE></a>
331            </th>
332            <td>Gets the contents of the load meter.</td>
333          </tr>
334          <tr>
335            <td width="100">  </td>
336            <th>
337              <a href="../../../nw/demo/RenderSystem/GetCumulativeLoadMeter.html"><CODE>GetCumulativeLoadMeter</CODE></a>
338            </th>
339            <td>Gets the cumulative load.</td>
340          </tr>
341          <tr>
342            <td width="100">  </td>
343            <th>
344              <a href="../../../nw/demo/RenderSystem/AddLoadMeterCommandSize.html"><CODE>AddLoadMeterCommandSize</CODE></a>
345            </th>
346            <td>Adds the size of drawing commands displayed on the load meter.</td>
347          </tr>
348          <tr>
349            <td width="100">  </td>
350            <th>
351              <a href="../../../nw/demo/RenderSystem/GetPostRenderCallback.html"><CODE>GetPostRenderCallback</CODE></a>
352            </th>
353            <td>Gets the signal that is called between rendering and transferring. If using 3D display, this function is called after rendering the left-eye image.</td>
354          </tr>
355          <tr>
356            <td width="100">  </td>
357            <th>
358              <a href="../../../nw/demo/RenderSystem/GetPostRightRenderCallback.html"><CODE>GetPostRightRenderCallback</CODE></a>
359            </th>
360            <td>Gets the signal that is called between rendering and transferring the right-eye image.</td>
361          </tr> </table>
362      </div>
363    </a>
364  <hr><p>CONFIDENTIAL</p></body>
365</html>