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>nn::gd::CTR::System</title>
51  </head>
52  <body>
53<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::System</CODE> Class</h1>
54<h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class System</pre>
57    </div>
58<h2>Description</h2>
59    <div class="section">
60<p>The system functions include features related to all 3D-rendering pipeline stages.</p><p><anchor id="classnn_1_1gd_1_1_c_t_r_1_1_system_1systemFunction" /></p><!-- write here --></div>
61    <a name="class" id="class">
62<h2>Classes</h2>
63      <div class="section">
64        <table class="members">
65          <tr>
66            <th>
67<a href="../../../../nn/gd/CTR/System/Debug/Overview.html">nn::gd::CTR::System::Debug</a>
68            </th>
69<td>This funciton is handy during debugging.</td>
70          </tr> </table>
71      </div>
72    </a> <a name="enum" id="enum">
73<h2>Enumerated Types</h2>
74      <div class="section">
75        <table class="members">
76          <tr>
77            <td width="100"> </td>
78            <th>
79<a href="../../../../nn/gd/CTR/System/Module.html"><CODE>Module</CODE></a>
80            </th>
81<td>The enum value of each GD API module.</td>
82          </tr>
83          <tr>
84            <td width="100"> </td>
85            <th>
86<a href="../../../../nn/gd/CTR/System/RecordingPacketUsage.html"><CODE>RecordingPacketUsage</CODE></a>
87            </th>
88<td>Sets the method to use when packets are saved.</td>
89          </tr> </table>
90      </div>
91    </a> <a name="function" id="function">
92<h2>Member Functions</h2>
93      <div class="section">
94        <table class="members">
95          <tr>
96            <td width="100">
97<span class="static_style" title="static">S</span> </td>
98            <th>
99<a href="../../../../nn/gd/CTR/System/SetCallbackFunctionError.html"><CODE>SetCallbackFunctionError</CODE></a>
100            </th>
101<td>Sets the callback function.</td>
102          </tr>
103          <tr>
104            <td width="100">
105<span class="static_style" title="static">S</span> </td>
106            <th>
107<a href="../../../../nn/gd/CTR/System/GetErrorStringFromResult.html"><CODE>GetErrorStringFromResult</CODE></a>
108            </th>
109<td>This function gets the error string for any <a href="../../../../nnResult/Overview.html"><CODE>nnResult</CODE></a>.</td>
110          </tr>
111          <tr>
112            <td width="100">
113<span class="static_style" title="static">S</span> </td>
114            <th>
115<a href="../../../../nn/gd/CTR/System/Initialize.html"><CODE>Initialize</CODE></a>
116            </th>
117<td>Initializes the gd API. This function must be executed before calling any other gd functions.</td>
118          </tr>
119          <tr>
120            <td width="100">
121<span class="static_style" title="static">S</span> </td>
122            <th>
123<a href="../../../../nn/gd/CTR/System/Finalize.html"><CODE>Finalize</CODE></a>
124            </th>
125<td>Initializes the gd API. After this function is called, no gd functions can be used.</td>
126          </tr>
127          <tr>
128            <td width="100">
129<span class="static_style" title="static">S</span> </td>
130            <th>
131<a href="../../../../nn/gd/CTR/System/ForceDirty.html"><CODE>ForceDirty</CODE></a>
132            </th>
133<td>Puts the command of the specified module into reconfigure status. This flag can be specified by OR'ing <a href="../../../../nn/gd/CTR/System/Module.html">System::Module</a> enum members.</td>
134          </tr>
135          <tr>
136            <td width="100">
137<span class="static_style" title="static">S</span> </td>
138            <th>
139<a href="../../../../nn/gd/CTR/System/SetDefault.html"><CODE>SetDefault</CODE></a>
140            </th>
141<td>Resets the specified module to default values. This flag can be specified by OR'ing <a href="../../../../nn/gd/CTR/System/Module.html">System::Module</a> enum members.</td>
142          </tr>
143          <tr>
144            <td width="100">
145<span class="static_style" title="static">S</span> </td>
146            <th>
147<a href="../../../../nn/gd/CTR/System/FlushDirtyModule.html">FlushDirtyModule</a>
148            </th>
149<td>Creates a redraw status module command. This flag can be specified by OR'ing <a href="../../../../nn/gd/CTR/System/Module.html">System::Module</a> enum members.</td>
150          </tr>
151          <tr>
152            <td width="100">
153<span class="static_style" title="static">S</span> </td>
154            <th>
155<a href="../../../../nn/gd/CTR/System/Draw.html"><CODE>Draw</CODE></a>
156            </th>
157<td>Renders primitives from the vertex buffer currently configured.</td>
158          </tr>
159          <tr>
160            <td width="100">
161<span class="static_style" title="static">S</span> </td>
162            <th>
163<a href="../../../../nn/gd/CTR/System/DrawIndexed.html"><CODE>DrawIndexed</CODE></a>
164            </th>
165<td>Renders an indexed primitive from the vertex buffer and index buffer currently configured.</td>
166          </tr>
167          <tr>
168            <td width="100">
169<span class="static_style" title="static">S</span> </td>
170            <th>
171<a href="../../../../nn/gd/CTR/System/DrawImmediate.html"><CODE>DrawImmediate</CODE></a>
172            </th>
173<td>Sets a render mode that does not use the vertex buffer resource in <CODE>VertexInputStage</CODE>. </td>
174          </tr>
175          <tr>
176            <td width="100">
177<span class="static_style" title="static">S</span> </td>
178            <th>
179<a href="../../../../nn/gd/CTR/System/DrawImmediateIndexed.html"><CODE>DrawImmediateIndexed</CODE></a>
180            </th>
181<td>Sets a render mode that does not use the vertex buffer resource in <CODE>VertexInputStage</CODE>. </td>
182          </tr>
183          <tr>
184            <td width="100">
185<span class="static_style" title="static">S</span> </td>
186            <th>
187<a href="../../../../nn/gd/CTR/System/Execute3DCommandList.html"><CODE>Execute3DCommandList</CODE></a>
188            </th>
189<td>Executes the 3D command buffer.</td>
190          </tr>
191          <tr>
192            <td width="100">
193<span class="static_style" title="static">S</span> </td>
194            <th>
195<a href="../../../../nn/gd/CTR/System/StartRecordingPackets.html"><CODE>StartRecordingPackets</CODE></a>
196            </th>
197<td>Starts saving the current command list object. forceDirtyModuleFlag can be specified by OR'ing <a href="../../../../nn/gd/CTR/System/Module.html">System::Module</a> enum members.</td>
198          </tr>
199          <tr>
200            <td width="100">
201<span class="static_style" title="static">S</span> </td>
202            <th>
203<a href="../../../../nn/gd/CTR/System/GetCommandBufferOffset.html"><CODE>GetCommandBufferOffset</CODE></a>
204            </th>
205<td>Gets the current offset for the command buffer for which a command list object save has started.</td>
206          </tr>
207          <tr>
208            <td width="100">
209<span class="static_style" title="static">S</span> </td>
210            <th>
211<a href="../../../../nn/gd/CTR/System/GetCommandBufferBaseAddress.html"><CODE>GetCommandBufferBaseAddress</CODE></a>
212            </th>
213<td>Gets the base address of the saved command buffer. </td>
214          </tr>
215          <tr>
216            <td width="100">
217<span class="static_style" title="static">S</span> </td>
218            <th>
219<a href="../../../../nn/gd/CTR/System/StopRecordingPackets.html"><CODE>StopRecordingPackets</CODE></a>
220            </th>
221<td>Stops saving the current command list object.</td>
222          </tr>
223          <tr>
224            <td width="100">
225<span class="static_style" title="static">S</span> </td>
226            <th>
227<a href="../../../../nn/gd/CTR/System/ReplayPackets.html"><CODE>ReplayPackets</CODE></a>
228            </th>
229<td>Re-executes the command list object specified by <CODE>packetId</CODE>. forceDirtyModuleFlag can be specified by OR'ing <a href="../../../../nn/gd/CTR/System/Module.html">System::Module</a> enum members.</td>
230          </tr>
231          <tr>
232            <td width="100">
233<span class="static_style" title="static">S</span> </td>
234            <th>
235<a href="../../../../nn/gd/CTR/System/CopyPacket.html">CopyPacket</a>
236            </th>
237<td>Copies a saved packet.</td>
238          </tr>
239          <tr>
240            <td width="100">
241<span class="static_style" title="static">S</span> </td>
242            <th>
243<a href="../../../../nn/gd/CTR/System/ReleasePackets.html"><CODE>ReleasePackets</CODE></a>
244            </th>
245<td>Releases the saved command list object.</td>
246          </tr>
247          <tr>
248            <td width="100">
249<span class="static_style" title="static">S</span> </td>
250            <th>
251<a href="../../../../nn/gd/CTR/System/AddDummyCommands.html">AddDummyCommands</a>
252            </th>
253<td>Inserts a dummy command in the command buffer.</td>
254          </tr> </table>
255      </div>
256    </a>
257<h2>Revision History</h2>
258    <div class="section">
259      <dl class="history">
260        <dt>2011/02/15</dt>
261<dd>Initial version.<br />
262        </dd>
263      </dl>
264    </div>
265  <hr><p>CONFIDENTIAL</p></body>
266</html>