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::CommandListSwapper</title>
51  </head>
52  <body>
53    <h1><CODE>nw::demo::CommandListSwapper</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class CommandListSwapper</pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>Class for managing the command list and its buffering.</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/CommandListSwapper/Description/Overview.html">nw::demo::CommandListSwapper::Description</a>
69            </th>
70            <td>Command list swapper settings.</td>
71          </tr> </table>
72      </div>
73    </a> <a name="function" id="function">
74      <h2>Member Functions</h2>
75      <div class="section">
76        <table class="members">
77          <tr>
78            <th class="category" colspan="3">Creation and Destruction</th>
79          </tr>
80          <tr>
81            <td width="100">
82              <span class="static_style" title="static">S</span> </td>
83            <th>
84              <a href="../../../nw/demo/CommandListSwapper/Create.html">Create</a>
85            </th>
86            <td>Creates a command list swapper.</td>
87          </tr>
88          <tr>
89            <td width="100">  </td>
90            <th>
91              <a href="../../../nw/demo/CommandListSwapper/Destroy.html"><CODE>Destroy</CODE></a>
92            </th>
93            <td>Destroys a command list swapper.</td>
94          </tr>
95          <tr>
96            <th class="category" colspan="3">Operation</th>
97          </tr>
98          <tr>
99            <td width="100">  </td>
100            <th>
101              <a href="../../../nw/demo/CommandListSwapper/Bind.html"><CODE>Bind</CODE></a>
102            </th>
103            <td>Binds a command list.</td>
104          </tr>
105          <tr>
106            <td width="100">  </td>
107            <th>
108              <a href="../../../nw/demo/CommandListSwapper/Run.html">Run</a>
109            </th>
110            <td>Runs a bound command list.</td>
111          </tr>
112          <tr>
113            <td width="100">  </td>
114            <th>
115              <a href="../../../nw/demo/CommandListSwapper/RunAsync.html">RunAsync</a>
116            </th>
117            <td>Asynchronously runs a bound command list.</td>
118          </tr>
119          <tr>
120            <td width="100">  </td>
121            <th>
122              <a href="../../../nw/demo/CommandListSwapper/WaitDone.html">WaitDone</a>
123            </th>
124            <td>Waits for completion of a command list executed asynchronously.</td>
125          </tr>
126          <tr>
127            <td width="100">  </td>
128            <th>
129              <a href="../../../nw/demo/CommandListSwapper/Swap.html"><CODE>Swap</CODE></a>
130            </th>
131            <td>Swaps command lists.</td>
132          </tr>
133          <tr>
134            <th class="category" colspan="3">GPU Profiling</th>
135          </tr>
136          <tr>
137            <td width="100">  </td>
138            <th>
139              <a href="../../../nw/demo/CommandListSwapper/ResetGpuProfiling.html">ResetGpuProfiling</a>
140            </th>
141            <td>Resets the GPU profiler.</td>
142          </tr>
143          <tr>
144            <td width="100">  </td>
145            <th>
146              <a href="../../../nw/demo/CommandListSwapper/AddGpuProfilingStartPoint.html">AddGpuProfilingStartPoint</a>
147            </th>
148            <td>Adds a command list GPU profile entry and sets the start point.</td>
149          </tr>
150          <tr>
151            <td width="100">  </td>
152            <th>
153              <a href="../../../nw/demo/CommandListSwapper/SetGpuProfilingEndPoint.html">SetGpuProfilingEndPoint</a>
154            </th>
155            <td>Sets the end point for the GPU profile entry.</td>
156          </tr>
157          <tr>
158            <td width="100">  </td>
159            <th>
160              <a href="../../../nw/demo/CommandListSwapper/GetGpuProfilingCostTime.html">GetGpuProfilingCostTime</a>
161            </th>
162            <td>Gets the measured execution time of the GPU profile entry.</td>
163          </tr>
164          <tr>
165            <td width="100">  </td>
166            <th>
167              <a href="../../../nw/demo/CommandListSwapper/GetGpuProfilingTotalCostTime.html">GetGpuProfilingTotalCostTime</a>
168            </th>
169            <td>Gets the total execution rime for the GPU profile entries.</td>
170          </tr>
171          <tr>
172            <th class="category" colspan="3">Set/Get</th>
173          </tr>
174          <tr>
175            <td width="100">  </td>
176            <th>
177              <a href="../../../nw/demo/CommandListSwapper/GetCommandListId.html">GetCommandListId</a>
178            </th>
179            <td>Gets the command list ID.</td>
180          </tr>
181          <tr>
182            <td width="100">  </td>
183            <th>
184              <a href="../../../nw/demo/CommandListSwapper/GetListCount.html">GetListCount</a>
185            </th>
186            <td>Gets the number of command lists.</td>
187          </tr>
188          <tr>
189            <td width="100">  </td>
190            <th>
191              <a href="../../../nw/demo/CommandListSwapper/GetCommandBufferSize.html">GetCommandBufferSize</a>
192            </th>
193            <td>Gets the size (in bytes) of data accumulated in the 3D command buffer.</td>
194          </tr>
195          <tr>
196            <td width="100">  </td>
197            <th>
198              <a href="../../../nw/demo/CommandListSwapper/GetReusableCommandBufferSize.html">GetReusableCommandBufferSize</a>
199            </th>
200            <td>Gets the size of the 3D command buffer for a command list that has been saved for re-use.</td>
201          </tr>
202          <tr>
203            <th class="category" colspan="3">Reuse of Commands</th>
204          </tr>
205          <tr>
206            <td width="100">  </td>
207            <th>
208              <a href="../../../nw/demo/CommandListSwapper/StartCommandSave.html">StartCommandSave</a>
209            </th>
210            <td>Starts the saving of commands for reuse.</td>
211          </tr>
212          <tr>
213            <td width="100">  </td>
214            <th>
215              <a href="../../../nw/demo/CommandListSwapper/EndCommandSave.html">EndCommandSave</a>
216            </th>
217            <td>Ends the saving of commands for reuse.</td>
218          </tr>
219          <tr>
220            <td width="100">  </td>
221            <th>
222              <a href="../../../nw/demo/CommandListSwapper/ReuseCommand.html">ReuseCommand</a>
223            </th>
224            <td>Reuses saved command.</td>
225          </tr> </table>
226      </div>
227    </a>
228  <hr><p>CONFIDENTIAL</p></body>
229</html>