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