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::demo::SimpleApp</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/demo/Overview.html">demo</a>::SimpleApp</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class SimpleApp</pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>A simple application.</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            <td width="100"> </td>
66            <th>
67              <a href="../../../nw/demo/SimpleApp/Display.html">Display</a>
68            </th>
69            <td>Definition of the display to be drawn.</td>
70          </tr>
71          <tr>
72            <td width="100"> </td>
73            <th>
74              <a href="../../../nw/demo/SimpleApp/DisplaySize.html"><CODE>DisplaySize</CODE></a>
75            </th>
76            <td>Display size constants.</td>
77          </tr> </table>
78      </div>
79    </a> <a name="variable" id="variable">
80      <h2>Member Variables</h2>
81      <div class="section">
82        <table class="members">
83          <tr>
84            <td width="100"> </td>
85            <th>
86              <span class="argument">m_CurrentDisplay</span>
87            </th>
88            <td width="100"><a href="../../../nw/demo/SimpleApp/Display.html">Display</a></td>
89            <td>
90        </td>
91          </tr>
92          <tr>
93            <td width="100"> </td>
94            <th>
95              <span class="argument">m_pRenderSystem</span>
96            </th>
97            <td width="100"><CODE><a href="../../../nw/demo/RenderSystem/Overview.html">nw::demo::RenderSystem</a> *</CODE></td>
98            <td>
99        </td>
100          </tr>
101          <tr>
102            <td width="100"> </td>
103            <th>
104              <span class="argument">m_pRenderTargetUpper</span>
105            </th>
106            <td width="100"><CODE><a href="../../../nw/gfx/IRenderTarget/Overview.html">nw::gfx::IRenderTarget</a> *</CODE></td>
107            <td>
108        </td>
109          </tr>
110          <tr>
111            <td width="100"> </td>
112            <th>
113              <span class="argument">m_pRenderTargetLower</span>
114            </th>
115            <td width="100"><CODE><a href="../../../nw/gfx/IRenderTarget/Overview.html">nw::gfx::IRenderTarget</a> *</CODE></td>
116            <td>
117        </td>
118          </tr>
119          <tr>
120            <td width="100"> </td>
121            <th>
122              <span class="argument">m_DeviceAllocator</span>
123            </th>
124            <td width="100"><a href="../../../nw/demo/DemoAllocator/Overview.html">nw::demo::DemoAllocator</a></td>
125            <td>
126        </td>
127          </tr>
128          <tr>
129            <td width="100">
130              <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span>
131            </td>
132            <th>
133              <span class="argument">s_pInstance</span>
134            </th>
135            <td width="100"><CODE><a href="../../../nw/demo/SimpleApp/Overview.html">SimpleApp</a> *</CODE></td>
136            <td>Pointer to a singleton object.</td>
137          </tr> </table>
138      </div>
139    </a> <a name="function" id="function">
140      <h2>Member Functions</h2>
141      <div class="section">
142        <table class="members">
143          <tr>
144            <th class="category" colspan="3">Memory Allocation and Release</th>
145          </tr>
146          <tr>
147            <td width="100">
148              <span class="static_style" title="static">S</span> </td>
149            <th>
150              <a href="../../../nw/demo/SimpleApp/Allocate.html">Allocate</a>
151            </th>
152            <td>Allocates memory from main memory.</td>
153          </tr>
154          <tr>
155            <td width="100">
156              <span class="static_style" title="static">S</span> </td>
157            <th>
158              <a href="../../../nw/demo/SimpleApp/AllocateDeviceMemory.html">AllocateDeviceMemory</a>
159            </th>
160            <td>Allocates memory from device memory.</td>
161          </tr>
162          <tr>
163            <td width="100">
164              <span class="static_style" title="static">S</span> </td>
165            <th>
166              <a href="../../../nw/demo/SimpleApp/Free.html">Free</a>
167            </th>
168            <td>Frees memory.</td>
169          </tr>
170          <tr>
171            <td width="100">  </td>
172            <th>
173              <a href="../../../nw/demo/SimpleApp/GetAllocator.html"><CODE>GetAllocator</CODE></a>
174            </th>
175            <td>Gets a memory allocator.</td>
176          </tr>
177          <tr>
178            <td width="100">  </td>
179            <th>
180              <a href="../../../nw/demo/SimpleApp/GetDeviceAllocator.html">GetDeviceAllocator</a>
181            </th>
182            <td>Gets a device memory allocator.</td>
183          </tr>
184          <tr>
185            <th class="category" colspan="3">Rendering</th>
186          </tr>
187          <tr>
188            <td width="100">  </td>
189            <th>
190              <a href="../../../nw/demo/SimpleApp/SetRenderingTarget.html">SetRenderingTarget</a>
191            </th>
192            <td>Sets render targets.</td>
193          </tr>
194          <tr>
195            <td width="100">  </td>
196            <th>
197              <a href="../../../nw/demo/SimpleApp/GetFrameBufferObject.html">GetFrameBufferObject</a>
198            </th>
199            <td>Gets the configured frame buffer object to be rendered.</td>
200          </tr>
201          <tr>
202            <td width="100">  </td>
203            <th>
204              <a href="../../../nw/demo/SimpleApp/SwapBuffer.html"><CODE>SwapBuffer</CODE></a>
205            </th>
206            <td>Swaps the display from the render buffer to the display buffer.</td>
207          </tr>
208          <tr>
209            <th class="category" colspan="3">Other</th>
210          </tr>
211          <tr>
212            <td width="100">
213              <span class="static_style" title="static">S</span> </td>
214            <th>
215              <a href="../../../nw/demo/SimpleApp/GetInstance.html">GetInstance</a>
216            </th>
217            <td>Gets an instance.</td>
218          </tr>
219          <tr>
220            <td width="100">  </td>
221            <th>
222              <a href="../../../nw/demo/SimpleApp/Initialize.html"><CODE>Initialize</CODE></a>
223            </th>
224            <td>Performs initialization.</td>
225          </tr>
226          <tr>
227            <td width="100">  </td>
228            <th>
229              <a href="../../../nw/demo/SimpleApp/Finalize.html">Finalize</a>
230            </th>
231            <td>Performs finalization.</td>
232          </tr>
233          <tr>
234            <td width="100">
235              <span class="protected_style" title="protected">protected</span>  </td>
236            <th>
237              <a href="../../../nw/demo/SimpleApp/SimpleApp.html">SimpleApp</a>
238            </th>
239            <td>Constructor.</td>
240          </tr>
241          <tr>
242            <td width="100">
243              <span class="protected_style" title="protected">protected</span>  </td>
244            <th>
245              <a href="../../../nw/demo/SimpleApp/TransferBuffer.html"><CODE>TransferBuffer</CODE></a>
246            </th>
247            <td>Transfers the current buffer contents.</td>
248          </tr> </table>
249      </div>
250    </a>
251  <hr><p>CONFIDENTIAL</p></body>
252</html>
253