aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/structirr_1_1_s_irrlicht_creation_parameters.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/structirr_1_1_s_irrlicht_creation_parameters.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/structirr_1_1_s_irrlicht_creation_parameters.html700
1 files changed, 700 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/structirr_1_1_s_irrlicht_creation_parameters.html b/src/others/irrlicht-1.8.1/doc/html/structirr_1_1_s_irrlicht_creation_parameters.html
new file mode 100644
index 0000000..ffcde4b
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/structirr_1_1_s_irrlicht_creation_parameters.html
@@ -0,0 +1,700 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>Irrlicht 3D Engine: irr::SIrrlichtCreationParameters Struct Reference</title>
6
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9<link href="navtree.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="resize.js"></script>
12<script type="text/javascript" src="navtree.js"></script>
13<script type="text/javascript">
14 $(document).ready(initResizable);
15</script>
16<link href="search/search.css" rel="stylesheet" type="text/css"/>
17<script type="text/javascript" src="search/search.js"></script>
18<script type="text/javascript">
19 $(document).ready(function() { searchBox.OnSelectItem(0); });
20</script>
21
22</head>
23<body>
24<div id="top"><!-- do not remove this div! -->
25
26
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31
32 <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
33
34
35 <td style="padding-left: 0.5em;">
36 <div id="projectname">Irrlicht 3D Engine
37
38 </div>
39
40 </td>
41
42
43
44
45 <td> <div id="MSearchBox" class="MSearchBoxInactive">
46 <span class="left">
47 <img id="MSearchSelect" src="search/mag_sel.png"
48 onmouseover="return searchBox.OnSearchSelectShow()"
49 onmouseout="return searchBox.OnSearchSelectHide()"
50 alt=""/>
51 <input type="text" id="MSearchField" value="Search" accesskey="S"
52 onfocus="searchBox.OnSearchFieldFocus(true)"
53 onblur="searchBox.OnSearchFieldFocus(false)"
54 onkeyup="searchBox.OnSearchFieldChange(event)"/>
55 </span><span class="right">
56 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
57 </span>
58 </div>
59</td>
60
61
62 </tr>
63 </tbody>
64</table>
65</div>
66
67<!-- Generated by Doxygen 1.7.5.1 -->
68<script type="text/javascript">
69var searchBox = new SearchBox("searchBox", "search",false,'Search');
70</script>
71<script type="text/javascript" src="dynsections.js"></script>
72</div>
73<div id="side-nav" class="ui-resizable side-nav-resizable">
74 <div id="nav-tree">
75 <div id="nav-tree-contents">
76 </div>
77 </div>
78 <div id="splitbar" style="-moz-user-select:none;"
79 class="ui-resizable-handle">
80 </div>
81</div>
82<script type="text/javascript">
83 initNavTree('structirr_1_1_s_irrlicht_creation_parameters.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="summary">
88<a href="#pub-methods">Public Member Functions</a> &#124;
89<a href="#pub-attribs">Public Attributes</a> </div>
90 <div class="headertitle">
91<div class="title">irr::SIrrlichtCreationParameters Struct Reference</div> </div>
92</div>
93<div class="contents">
94<!-- doxytag: class="irr::SIrrlichtCreationParameters" -->
95<p>Structure for holding Irrlicht Device creation parameters.
96 <a href="structirr_1_1_s_irrlicht_creation_parameters.html#details">More...</a></p>
97
98<p><code>#include &lt;<a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>&gt;</code></p>
99
100<p><a href="structirr_1_1_s_irrlicht_creation_parameters-members.html">List of all members.</a></p>
101<h2><a name="pub-methods"></a>
102Public Member Functions</h2>
103<ul>
104<li><a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a466e3b6d57ea40bdcacd6aae892845f1">SIrrlichtCreationParameters</a> ()
105<dl class="el"><dd class="mdescRight">Constructs a <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html" title="Structure for holding Irrlicht Device creation parameters.">SIrrlichtCreationParameters</a> structure with default values. <a href="#a466e3b6d57ea40bdcacd6aae892845f1"></a><br/></dl><li><a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a47655b6ce24945c17780f67915ff1338">SIrrlichtCreationParameters</a> (const <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a> &amp;other)
106<li><a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a> &amp; <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a224891bb4e94138d426611b48ca71750">operator=</a> (const <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a> &amp;other)
107</ul>
108<h2><a name="pub-attribs"></a>
109Public Attributes</h2>
110<ul>
111<li><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a50602e6ae0cc3d79ca7df0aa8114e75a">AntiAlias</a>
112<dl class="el"><dd class="mdescRight">Specifies if the device should use fullscreen anti aliasing. <a href="#a50602e6ae0cc3d79ca7df0aa8114e75a"></a><br/></dl><li><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a0f7480557670df2d954ae217732a8773">Bits</a>
113<dl class="el"><dd class="mdescRight">Minimum Bits per pixel of the color buffer in fullscreen mode. Ignored if windowed mode. Default: 16. <a href="#a0f7480557670df2d954ae217732a8773"></a><br/></dl><li><a class="el" href="namespaceirr.html#ac25d94cf2e1037c7ca18ee79b3bd4505">E_DEVICE_TYPE</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a76520addbdf96ee3b3f00cb7f55076e5">DeviceType</a>
114<dl class="el"><dd class="mdescRight">Type of the device. <a href="#a76520addbdf96ee3b3f00cb7f55076e5"></a><br/></dl><li><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#aa58e8699007135f9d950712f96fab730">DisplayAdapter</a>
115<dl class="el"><dd class="mdescRight">Allows to select which graphic card is used for rendering when more than one card is in the system. <a href="#aa58e8699007135f9d950712f96fab730"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a49f2c3ed6cc7a28f2fde6683ac0b3267">Doublebuffer</a>
116<dl class="el"><dd class="mdescRight">Whether the main framebuffer uses doublebuffering. <a href="#a49f2c3ed6cc7a28f2fde6683ac0b3267"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a0b05e1ad03575edb74f625180860072d">DriverMultithreaded</a>
117<dl class="el"><dd class="mdescRight">Create the driver multithreaded. <a href="#a0b05e1ad03575edb74f625180860072d"></a><br/></dl><li><a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0">video::E_DRIVER_TYPE</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a1ea2f50c3b3a8eed6602a1a86e1cdf82">DriverType</a>
118<dl class="el"><dd class="mdescRight">Type of video driver used to render graphics. <a href="#a1ea2f50c3b3a8eed6602a1a86e1cdf82"></a><br/></dl><li><a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a> * <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a600183dad7a2f6836e585d7a0d4e3e89">EventReceiver</a>
119<dl class="el"><dd class="mdescRight">A user created event receiver. <a href="#a600183dad7a2f6836e585d7a0d4e3e89"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a40c03ef099d60cec514697baf0b64214">Fullscreen</a>
120<dl class="el"><dd class="mdescRight">Should be set to true if the device should run in fullscreen. <a href="#a40c03ef099d60cec514697baf0b64214"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a4808090b31a2a0e004066bded7bfefc6">HandleSRGB</a>
121<dl class="el"><dd class="mdescRight">Flag to enable proper sRGB and linear color handling. <a href="#a4808090b31a2a0e004066bded7bfefc6"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#ac790f1359a357f705bc2a5b24a6cc55d">HighPrecisionFPU</a>
122<dl class="el"><dd class="mdescRight">Specifies if the device should use high precision FPU setting. <a href="#ac790f1359a357f705bc2a5b24a6cc55d"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#acf9aee48aa9193f025f5f855d5a147cb">IgnoreInput</a>
123<dl class="el"><dd class="mdescRight">Specifies if the device should ignore input events. <a href="#acf9aee48aa9193f025f5f855d5a147cb"></a><br/></dl><li><a class="el" href="namespaceirr.html#aa2d1cac68606a25ed24cfffccfa30a92">ELOG_LEVEL</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a2aa305ffabdd842084ddef5014b3e411">LoggingLevel</a>
124<dl class="el"><dd class="mdescRight">Specifies the logging level used in the logging interface. <a href="#a2aa305ffabdd842084ddef5014b3e411"></a><br/></dl><li>const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *const <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#af30f104af135b97d3e19fecaf2c10e45">SDK_version_do_not_use</a>
125<dl class="el"><dd class="mdescRight">Don't use or change this parameter. <a href="#af30f104af135b97d3e19fecaf2c10e45"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a8120cfeac3fbf8b12b1e5f6bd6a8ec2f">Stencilbuffer</a>
126<dl class="el"><dd class="mdescRight">Specifies if the stencil buffer should be enabled. <a href="#a8120cfeac3fbf8b12b1e5f6bd6a8ec2f"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#ae5dd722bd6c5a7001b73ef92264220a5">Stereobuffer</a>
127<dl class="el"><dd class="mdescRight">Specifies if the device should use stereo buffers. <a href="#ae5dd722bd6c5a7001b73ef92264220a5"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a5bb2ea5e72eb07a049b1b7c707f405ef">UsePerformanceTimer</a>
128<dl class="el"><dd class="mdescRight">Enables use of high performance timers on Windows platform. <a href="#a5bb2ea5e72eb07a049b1b7c707f405ef"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a33b07682f12db0d2c2c3a7bf74f64387">Vsync</a>
129<dl class="el"><dd class="mdescRight">Specifies vertical syncronisation. <a href="#a33b07682f12db0d2c2c3a7bf74f64387"></a><br/></dl><li>void * <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#af287810d910a23f8f7db98cef87b6eae">WindowId</a>
130<dl class="el"><dd class="mdescRight">Window Id. <a href="#af287810d910a23f8f7db98cef87b6eae"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt; <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> &gt; <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a1b596e201a6ebd63ca2841d46be10433">WindowSize</a>
131<dl class="el"><dd class="mdescRight">Size of the window or the video mode in fullscreen mode. Default: 800x600. <a href="#a1b596e201a6ebd63ca2841d46be10433"></a><br/></dl><li>bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#acae5b5e41cec776aa4d05a03f16c57f2">WithAlphaChannel</a>
132<dl class="el"><dd class="mdescRight">Whether the main framebuffer uses an alpha channel. <a href="#acae5b5e41cec776aa4d05a03f16c57f2"></a><br/></dl><li><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#ad34136ed6cd1532ed4e112f7ad72cbcf">ZBufferBits</a>
133<dl class="el"><dd class="mdescRight">Minimum Bits per pixel of the depth buffer. Default: 16. <a href="#ad34136ed6cd1532ed4e112f7ad72cbcf"></a><br/></dl></ul>
134<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
135<div class="textblock"><p>Structure for holding Irrlicht Device creation parameters. </p>
136<p>This structure is used in the <a class="el" href="namespaceirr.html#ac83a30d674204dcb94d70f849e9b4a62" title="Creates an Irrlicht device with the option to specify advanced parameters.">createDeviceEx()</a> function. </p>
137
138<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00019">19</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
139</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
140<a class="anchor" id="a466e3b6d57ea40bdcacd6aae892845f1"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::SIrrlichtCreationParameters" ref="a466e3b6d57ea40bdcacd6aae892845f1" args="()" -->
141<div class="memitem">
142<div class="memproto">
143 <table class="memname">
144 <tr>
145 <td class="memname">irr::SIrrlichtCreationParameters::SIrrlichtCreationParameters </td>
146 <td>(</td>
147 <td class="paramname"></td><td>)</td>
148 <td><code> [inline]</code></td>
149 </tr>
150 </table>
151</div>
152<div class="memdoc">
153
154<p>Constructs a <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html" title="Structure for holding Irrlicht Device creation parameters.">SIrrlichtCreationParameters</a> structure with default values. </p>
155
156<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00022">22</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
157
158</div>
159</div>
160<a class="anchor" id="a47655b6ce24945c17780f67915ff1338"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::SIrrlichtCreationParameters" ref="a47655b6ce24945c17780f67915ff1338" args="(const SIrrlichtCreationParameters &amp;other)" -->
161<div class="memitem">
162<div class="memproto">
163 <table class="memname">
164 <tr>
165 <td class="memname">irr::SIrrlichtCreationParameters::SIrrlichtCreationParameters </td>
166 <td>(</td>
167 <td class="paramtype">const <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a> &amp;&#160;</td>
168 <td class="paramname"><em>other</em></td><td>)</td>
169 <td><code> [inline]</code></td>
170 </tr>
171 </table>
172</div>
173<div class="memdoc">
174
175<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00052">52</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
176
177</div>
178</div>
179<hr/><h2>Member Function Documentation</h2>
180<a class="anchor" id="a224891bb4e94138d426611b48ca71750"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::operator=" ref="a224891bb4e94138d426611b48ca71750" args="(const SIrrlichtCreationParameters &amp;other)" -->
181<div class="memitem">
182<div class="memproto">
183 <table class="memname">
184 <tr>
185 <td class="memname"><a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a>&amp; irr::SIrrlichtCreationParameters::operator= </td>
186 <td>(</td>
187 <td class="paramtype">const <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a> &amp;&#160;</td>
188 <td class="paramname"><em>other</em></td><td>)</td>
189 <td><code> [inline]</code></td>
190 </tr>
191 </table>
192</div>
193<div class="memdoc">
194
195<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">56</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
196
197<p>References <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00145">AntiAlias</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00106">Bits</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00093">DeviceType</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00271">DisplayAdapter</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00179">Doublebuffer</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00277">DriverMultithreaded</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00100">DriverType</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00206">EventReceiver</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00113">Fullscreen</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00160">HandleSRGB</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00203">HighPrecisionFPU</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00186">IgnoreInput</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00267">LoggingLevel</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00121">Stencilbuffer</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00194">Stereobuffer</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00284">UsePerformanceTimer</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00127">Vsync</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00259">WindowId</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00103">WindowSize</a>, <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00171">WithAlphaChannel</a>, and <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00109">ZBufferBits</a>.</p>
198
199</div>
200</div>
201<hr/><h2>Member Data Documentation</h2>
202<a class="anchor" id="a50602e6ae0cc3d79ca7df0aa8114e75a"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::AntiAlias" ref="a50602e6ae0cc3d79ca7df0aa8114e75a" args="" -->
203<div class="memitem">
204<div class="memproto">
205 <table class="memname">
206 <tr>
207 <td class="memname"><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a50602e6ae0cc3d79ca7df0aa8114e75a">irr::SIrrlichtCreationParameters::AntiAlias</a></td>
208 </tr>
209 </table>
210</div>
211<div class="memdoc">
212
213<p>Specifies if the device should use fullscreen anti aliasing. </p>
214<p>Makes sharp/pixelated edges softer, but requires more performance. Also, 2D elements might look blurred with this switched on. The resulting rendering quality also depends on the hardware and driver you are using, your program might look different on different hardware with this. So if you are writing a game/application with AntiAlias switched on, it would be a good idea to make it possible to switch this option off again by the user. The value is the maximal antialiasing factor requested for the device. The cretion method will automatically try smaller values if no window can be created with the given value. Value one is usually the same as 0 (disabled), but might be a special value on some platforms. On D3D devices it maps to NONMASKABLE. Default value: 0 - disabled </p>
215
216<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00145">145</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
217
218<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
219
220</div>
221</div>
222<a class="anchor" id="a0f7480557670df2d954ae217732a8773"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::Bits" ref="a0f7480557670df2d954ae217732a8773" args="" -->
223<div class="memitem">
224<div class="memproto">
225 <table class="memname">
226 <tr>
227 <td class="memname"><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a0f7480557670df2d954ae217732a8773">irr::SIrrlichtCreationParameters::Bits</a></td>
228 </tr>
229 </table>
230</div>
231<div class="memdoc">
232
233<p>Minimum Bits per pixel of the color buffer in fullscreen mode. Ignored if windowed mode. Default: 16. </p>
234
235<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00106">106</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
236
237<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
238
239</div>
240</div>
241<a class="anchor" id="a76520addbdf96ee3b3f00cb7f55076e5"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::DeviceType" ref="a76520addbdf96ee3b3f00cb7f55076e5" args="" -->
242<div class="memitem">
243<div class="memproto">
244 <table class="memname">
245 <tr>
246 <td class="memname"><a class="el" href="namespaceirr.html#ac25d94cf2e1037c7ca18ee79b3bd4505">E_DEVICE_TYPE</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a76520addbdf96ee3b3f00cb7f55076e5">irr::SIrrlichtCreationParameters::DeviceType</a></td>
247 </tr>
248 </table>
249</div>
250<div class="memdoc">
251
252<p>Type of the device. </p>
253<p>This setting decides the windowing system used by the device, most device types are native to a specific operating system and so may not be available. EIDT_WIN32 is only available on Windows desktops, EIDT_WINCE is only available on Windows mobile devices, EIDT_COCOA is only available on Mac OSX, EIDT_X11 is available on Linux, Solaris, BSD and other operating systems which use X11, EIDT_SDL is available on most systems if compiled in, EIDT_CONSOLE is usually available but can only render to text, EIDT_BEST will select the best available device for your operating system. Default: EIDT_BEST. </p>
254
255<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00093">93</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
256
257<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
258
259</div>
260</div>
261<a class="anchor" id="aa58e8699007135f9d950712f96fab730"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::DisplayAdapter" ref="aa58e8699007135f9d950712f96fab730" args="" -->
262<div class="memitem">
263<div class="memproto">
264 <table class="memname">
265 <tr>
266 <td class="memname"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#aa58e8699007135f9d950712f96fab730">irr::SIrrlichtCreationParameters::DisplayAdapter</a></td>
267 </tr>
268 </table>
269</div>
270<div class="memdoc">
271
272<p>Allows to select which graphic card is used for rendering when more than one card is in the system. </p>
273<p>So far only supported on D3D </p>
274
275<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00271">271</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
276
277<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
278
279</div>
280</div>
281<a class="anchor" id="a49f2c3ed6cc7a28f2fde6683ac0b3267"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::Doublebuffer" ref="a49f2c3ed6cc7a28f2fde6683ac0b3267" args="" -->
282<div class="memitem">
283<div class="memproto">
284 <table class="memname">
285 <tr>
286 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a49f2c3ed6cc7a28f2fde6683ac0b3267">irr::SIrrlichtCreationParameters::Doublebuffer</a></td>
287 </tr>
288 </table>
289</div>
290<div class="memdoc">
291
292<p>Whether the main framebuffer uses doublebuffering. </p>
293<p>This should be usually enabled, in order to avoid render artifacts on the visible framebuffer. However, it might be useful to use only one buffer on very small devices. If no doublebuffering is available, the drivers will fall back to single buffers. Default value: true </p>
294
295<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00179">179</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
296
297<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
298
299</div>
300</div>
301<a class="anchor" id="a0b05e1ad03575edb74f625180860072d"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::DriverMultithreaded" ref="a0b05e1ad03575edb74f625180860072d" args="" -->
302<div class="memitem">
303<div class="memproto">
304 <table class="memname">
305 <tr>
306 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a0b05e1ad03575edb74f625180860072d">irr::SIrrlichtCreationParameters::DriverMultithreaded</a></td>
307 </tr>
308 </table>
309</div>
310<div class="memdoc">
311
312<p>Create the driver multithreaded. </p>
313<p>Default is false. Enabling this can slow down your application. Note that this does _not_ make Irrlicht threadsafe, but only the underlying driver-API for the graphiccard. So far only supported on D3D. </p>
314
315<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00277">277</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
316
317<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
318
319</div>
320</div>
321<a class="anchor" id="a1ea2f50c3b3a8eed6602a1a86e1cdf82"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::DriverType" ref="a1ea2f50c3b3a8eed6602a1a86e1cdf82" args="" -->
322<div class="memitem">
323<div class="memproto">
324 <table class="memname">
325 <tr>
326 <td class="memname"><a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0">video::E_DRIVER_TYPE</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a1ea2f50c3b3a8eed6602a1a86e1cdf82">irr::SIrrlichtCreationParameters::DriverType</a></td>
327 </tr>
328 </table>
329</div>
330<div class="memdoc">
331
332<p>Type of video driver used to render graphics. </p>
333<p>This can currently be <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0acfdbd476cbfd4d05e72f9adffcc42210" title="Null driver, useful for applications to run the engine without visualisation.">video::EDT_NULL</a>, <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0a1598cd235a1a6bd052e2011b559e8995" title="The Irrlicht Engine Software renderer.">video::EDT_SOFTWARE</a>, <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0ae85481da26159b967191ccc6de1e4a05" title="The Burning&#39;s Software Renderer, an alternative software renderer.">video::EDT_BURNINGSVIDEO</a>, <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0a8cc3807f6f28404f3424ad7e31b3142f" title="Direct3D8 device, only available on Win32 platforms.">video::EDT_DIRECT3D8</a>, <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0a4691ca314f9018f508dcf2c57dcaacec" title="Direct3D 9 device, only available on Win32 platforms.">video::EDT_DIRECT3D9</a>, and <a class="el" href="namespaceirr_1_1video.html#ae35a6de6d436c76107ad157fe42356d0a2715182a79f1cb8e2826fd68a8150a53" title="OpenGL device, available on most platforms.">video::EDT_OPENGL</a>. Default: Software. </p>
334
335<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00100">100</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
336
337<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
338
339</div>
340</div>
341<a class="anchor" id="a600183dad7a2f6836e585d7a0d4e3e89"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::EventReceiver" ref="a600183dad7a2f6836e585d7a0d4e3e89" args="" -->
342<div class="memitem">
343<div class="memproto">
344 <table class="memname">
345 <tr>
346 <td class="memname"><a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a>* <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a600183dad7a2f6836e585d7a0d4e3e89">irr::SIrrlichtCreationParameters::EventReceiver</a></td>
347 </tr>
348 </table>
349</div>
350<div class="memdoc">
351
352<p>A user created event receiver. </p>
353
354<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00206">206</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
355
356<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
357
358</div>
359</div>
360<a class="anchor" id="a40c03ef099d60cec514697baf0b64214"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::Fullscreen" ref="a40c03ef099d60cec514697baf0b64214" args="" -->
361<div class="memitem">
362<div class="memproto">
363 <table class="memname">
364 <tr>
365 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a40c03ef099d60cec514697baf0b64214">irr::SIrrlichtCreationParameters::Fullscreen</a></td>
366 </tr>
367 </table>
368</div>
369<div class="memdoc">
370
371<p>Should be set to true if the device should run in fullscreen. </p>
372<p>Otherwise the device runs in windowed mode. Default: false. </p>
373
374<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00113">113</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
375
376<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
377
378</div>
379</div>
380<a class="anchor" id="a4808090b31a2a0e004066bded7bfefc6"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::HandleSRGB" ref="a4808090b31a2a0e004066bded7bfefc6" args="" -->
381<div class="memitem">
382<div class="memproto">
383 <table class="memname">
384 <tr>
385 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a4808090b31a2a0e004066bded7bfefc6">irr::SIrrlichtCreationParameters::HandleSRGB</a></td>
386 </tr>
387 </table>
388</div>
389<div class="memdoc">
390
391<p>Flag to enable proper sRGB and linear color handling. </p>
392<p>In most situations, it is desireable to have the color handling in non-linear sRGB color space, and only do the intermediate color calculations in linear RGB space. If this flag is enabled, the device and driver try to assure that all color input and output are color corrected and only the internal color representation is linear. This means, that the color output is properly gamma-adjusted to provide the brighter colors for monitor display. And that blending and lighting give a more natural look, due to proper conversion from non-linear colors into linear color space for blend operations. If this flag is enabled, all texture colors (which are usually in sRGB space) are correctly displayed. However vertex colors and other explicitly set values have to be manually encoded in linear color space. Default value: false. </p>
393
394<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00160">160</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
395
396<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
397
398</div>
399</div>
400<a class="anchor" id="ac790f1359a357f705bc2a5b24a6cc55d"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::HighPrecisionFPU" ref="ac790f1359a357f705bc2a5b24a6cc55d" args="" -->
401<div class="memitem">
402<div class="memproto">
403 <table class="memname">
404 <tr>
405 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#ac790f1359a357f705bc2a5b24a6cc55d">irr::SIrrlichtCreationParameters::HighPrecisionFPU</a></td>
406 </tr>
407 </table>
408</div>
409<div class="memdoc">
410
411<p>Specifies if the device should use high precision FPU setting. </p>
412<p>This is only relevant for DirectX Devices, which switch to low FPU precision by default for performance reasons. However, this may lead to problems with the other computations of the application. In this case setting this flag to true should help</p>
413<ul>
414<li>on the expense of performance loss, though. Default value: false </li>
415</ul>
416
417<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00203">203</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
418
419<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
420
421</div>
422</div>
423<a class="anchor" id="acf9aee48aa9193f025f5f855d5a147cb"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::IgnoreInput" ref="acf9aee48aa9193f025f5f855d5a147cb" args="" -->
424<div class="memitem">
425<div class="memproto">
426 <table class="memname">
427 <tr>
428 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#acf9aee48aa9193f025f5f855d5a147cb">irr::SIrrlichtCreationParameters::IgnoreInput</a></td>
429 </tr>
430 </table>
431</div>
432<div class="memdoc">
433
434<p>Specifies if the device should ignore input events. </p>
435<p>This is only relevant when using external I/O handlers. External windows need to take care of this themselves. Currently only supported by X11. Default value: false </p>
436
437<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00186">186</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
438
439<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
440
441</div>
442</div>
443<a class="anchor" id="a2aa305ffabdd842084ddef5014b3e411"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::LoggingLevel" ref="a2aa305ffabdd842084ddef5014b3e411" args="" -->
444<div class="memitem">
445<div class="memproto">
446 <table class="memname">
447 <tr>
448 <td class="memname"><a class="el" href="namespaceirr.html#aa2d1cac68606a25ed24cfffccfa30a92">ELOG_LEVEL</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a2aa305ffabdd842084ddef5014b3e411">irr::SIrrlichtCreationParameters::LoggingLevel</a></td>
449 </tr>
450 </table>
451</div>
452<div class="memdoc">
453
454<p>Specifies the logging level used in the logging interface. </p>
455<p>The default value is ELL_INFORMATION. You can access the <a class="el" href="classirr_1_1_i_logger.html" title="Interface for logging messages, warnings and errors.">ILogger</a> interface later on from the <a class="el" href="classirr_1_1_irrlicht_device.html" title="The Irrlicht device. You can create it with createDevice() or createDeviceEx().">IrrlichtDevice</a> with getLogger() and set another level. But if you need more or less logging information already from device creation, then you have to change it here. </p>
456
457<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00267">267</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
458
459<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
460
461</div>
462</div>
463<a class="anchor" id="af30f104af135b97d3e19fecaf2c10e45"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::SDK_version_do_not_use" ref="af30f104af135b97d3e19fecaf2c10e45" args="" -->
464<div class="memitem">
465<div class="memproto">
466 <table class="memname">
467 <tr>
468 <td class="memname">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a>* const <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#af30f104af135b97d3e19fecaf2c10e45">irr::SIrrlichtCreationParameters::SDK_version_do_not_use</a></td>
469 </tr>
470 </table>
471</div>
472<div class="memdoc">
473
474<p>Don't use or change this parameter. </p>
475<p>Always set it to IRRLICHT_SDK_VERSION, which is done by default. This is needed for sdk version checks. </p>
476
477<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00289">289</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
478
479</div>
480</div>
481<a class="anchor" id="a8120cfeac3fbf8b12b1e5f6bd6a8ec2f"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::Stencilbuffer" ref="a8120cfeac3fbf8b12b1e5f6bd6a8ec2f" args="" -->
482<div class="memitem">
483<div class="memproto">
484 <table class="memname">
485 <tr>
486 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a8120cfeac3fbf8b12b1e5f6bd6a8ec2f">irr::SIrrlichtCreationParameters::Stencilbuffer</a></td>
487 </tr>
488 </table>
489</div>
490<div class="memdoc">
491
492<p>Specifies if the stencil buffer should be enabled. </p>
493<p>Set this to true, if you want the engine be able to draw stencil buffer shadows. Note that not all drivers are able to use the stencil buffer, hence it can be ignored during device creation. Without the stencil buffer no shadows will be drawn. Default: false. </p>
494
495<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00121">121</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
496
497<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
498
499</div>
500</div>
501<a class="anchor" id="ae5dd722bd6c5a7001b73ef92264220a5"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::Stereobuffer" ref="ae5dd722bd6c5a7001b73ef92264220a5" args="" -->
502<div class="memitem">
503<div class="memproto">
504 <table class="memname">
505 <tr>
506 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#ae5dd722bd6c5a7001b73ef92264220a5">irr::SIrrlichtCreationParameters::Stereobuffer</a></td>
507 </tr>
508 </table>
509</div>
510<div class="memdoc">
511
512<p>Specifies if the device should use stereo buffers. </p>
513<p>Some high-end gfx cards support two framebuffers for direct support of stereoscopic output devices. If this flag is set the device tries to create a stereo context. Currently only supported by OpenGL. Default value: false </p>
514
515<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00194">194</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
516
517<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
518
519</div>
520</div>
521<a class="anchor" id="a5bb2ea5e72eb07a049b1b7c707f405ef"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::UsePerformanceTimer" ref="a5bb2ea5e72eb07a049b1b7c707f405ef" args="" -->
522<div class="memitem">
523<div class="memproto">
524 <table class="memname">
525 <tr>
526 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a5bb2ea5e72eb07a049b1b7c707f405ef">irr::SIrrlichtCreationParameters::UsePerformanceTimer</a></td>
527 </tr>
528 </table>
529</div>
530<div class="memdoc">
531
532<p>Enables use of high performance timers on Windows platform. </p>
533<p>When performance timers are not used, standard GetTickCount() is used instead which usually has worse resolution, but also less problems with speed stepping and other techniques. </p>
534
535<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00284">284</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
536
537<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
538
539</div>
540</div>
541<a class="anchor" id="a33b07682f12db0d2c2c3a7bf74f64387"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::Vsync" ref="a33b07682f12db0d2c2c3a7bf74f64387" args="" -->
542<div class="memitem">
543<div class="memproto">
544 <table class="memname">
545 <tr>
546 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a33b07682f12db0d2c2c3a7bf74f64387">irr::SIrrlichtCreationParameters::Vsync</a></td>
547 </tr>
548 </table>
549</div>
550<div class="memdoc">
551
552<p>Specifies vertical syncronisation. </p>
553<p>If set to true, the driver will wait for the vertical retrace period, otherwise not. May be silently ignored. Default: false </p>
554
555<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00127">127</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
556
557<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
558
559</div>
560</div>
561<a class="anchor" id="af287810d910a23f8f7db98cef87b6eae"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::WindowId" ref="af287810d910a23f8f7db98cef87b6eae" args="" -->
562<div class="memitem">
563<div class="memproto">
564 <table class="memname">
565 <tr>
566 <td class="memname">void* <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#af287810d910a23f8f7db98cef87b6eae">irr::SIrrlichtCreationParameters::WindowId</a></td>
567 </tr>
568 </table>
569</div>
570<div class="memdoc">
571
572<p>Window Id. </p>
573<p>If this is set to a value other than 0, the Irrlicht Engine will be created in an already existing window. For windows, set this to the HWND of the window you want. The windowSize and FullScreen options will be ignored when using the WindowId parameter. Default this is set to 0. To make Irrlicht run inside the custom window, you still will have to draw Irrlicht on your own. You can use this loop, as usual: </p>
574<div class="fragment"><pre class="fragment"> <span class="keywordflow">while</span> (device-&gt;run())
575 {
576 driver-&gt;beginScene(<span class="keyword">true</span>, <span class="keyword">true</span>, 0);
577 smgr-&gt;drawAll();
578 driver-&gt;endScene();
579 }
580</pre></div><p> Instead of this, you can also simply use your own message loop using GetMessage, DispatchMessage and whatever. Calling <a class="el" href="classirr_1_1_irrlicht_device.html#a0489f8151dc43f6f41503ffb5a160b35" title="Runs the device.">IrrlichtDevice::run()</a> will cause Irrlicht to dispatch messages internally too. You need not call Device-&gt;run() if you want to do your own message dispatching loop, but Irrlicht will not be able to fetch user input then and you have to do it on your own using the window messages, DirectInput, or whatever. Also, you'll have to increment the Irrlicht timer. An alternative, own message dispatching loop without device-&gt;run() would look like this: </p>
581<div class="fragment"><pre class="fragment"> MSG msg;
582 <span class="keywordflow">while</span> (<span class="keyword">true</span>)
583 {
584 <span class="keywordflow">if</span> (PeekMessage(&amp;msg, NULL, 0, 0, PM_REMOVE))
585 {
586 TranslateMessage(&amp;msg);
587 DispatchMessage(&amp;msg);
588
589 <span class="keywordflow">if</span> (msg.message == WM_QUIT)
590 <span class="keywordflow">break</span>;
591 }
592
593 <span class="comment">// increase virtual timer time</span>
594 device-&gt;getTimer()-&gt;tick();
595
596 <span class="comment">// draw engine picture</span>
597 driver-&gt;beginScene(<span class="keyword">true</span>, <span class="keyword">true</span>, 0);
598 smgr-&gt;drawAll();
599 driver-&gt;endScene();
600 }
601</pre></div><p> However, there is no need to draw the picture this often. Just do it how you like. </p>
602
603<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00259">259</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
604
605<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
606
607</div>
608</div>
609<a class="anchor" id="a1b596e201a6ebd63ca2841d46be10433"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::WindowSize" ref="a1b596e201a6ebd63ca2841d46be10433" args="" -->
610<div class="memitem">
611<div class="memproto">
612 <table class="memname">
613 <tr>
614 <td class="memname"><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>&lt;<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&gt; <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#a1b596e201a6ebd63ca2841d46be10433">irr::SIrrlichtCreationParameters::WindowSize</a></td>
615 </tr>
616 </table>
617</div>
618<div class="memdoc">
619
620<p>Size of the window or the video mode in fullscreen mode. Default: 800x600. </p>
621
622<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00103">103</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
623
624<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
625
626</div>
627</div>
628<a class="anchor" id="acae5b5e41cec776aa4d05a03f16c57f2"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::WithAlphaChannel" ref="acae5b5e41cec776aa4d05a03f16c57f2" args="" -->
629<div class="memitem">
630<div class="memproto">
631 <table class="memname">
632 <tr>
633 <td class="memname">bool <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#acae5b5e41cec776aa4d05a03f16c57f2">irr::SIrrlichtCreationParameters::WithAlphaChannel</a></td>
634 </tr>
635 </table>
636</div>
637<div class="memdoc">
638
639<p>Whether the main framebuffer uses an alpha channel. </p>
640<p>In some situations it might be desireable to get a color buffer with an alpha channel, e.g. when rendering into a transparent window or overlay. If this flag is set the device tries to create a framebuffer with alpha channel. If this flag is set, only color buffers with alpha channel are considered. Otherwise, it depends on the actual hardware if the colorbuffer has an alpha channel or not. Default value: false </p>
641
642<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00171">171</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
643
644<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
645
646</div>
647</div>
648<a class="anchor" id="ad34136ed6cd1532ed4e112f7ad72cbcf"></a><!-- doxytag: member="irr::SIrrlichtCreationParameters::ZBufferBits" ref="ad34136ed6cd1532ed4e112f7ad72cbcf" args="" -->
649<div class="memitem">
650<div class="memproto">
651 <table class="memname">
652 <tr>
653 <td class="memname"><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#ad34136ed6cd1532ed4e112f7ad72cbcf">irr::SIrrlichtCreationParameters::ZBufferBits</a></td>
654 </tr>
655 </table>
656</div>
657<div class="memdoc">
658
659<p>Minimum Bits per pixel of the depth buffer. Default: 16. </p>
660
661<p>Definition at line <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00109">109</a> of file <a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a>.</p>
662
663<p>Referenced by <a class="el" href="_s_irr_creation_parameters_8h_source.html#l00056">operator=()</a>.</p>
664
665</div>
666</div>
667<hr/>The documentation for this struct was generated from the following file:<ul>
668<li><a class="el" href="_s_irr_creation_parameters_8h_source.html">SIrrCreationParameters.h</a></li>
669</ul>
670</div>
671</div>
672 <div id="nav-path" class="navpath">
673 <ul>
674 <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li>
675 <li class="navelem"><a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html">SIrrlichtCreationParameters</a> </li>
676<!-- window showing the filter options -->
677<div id="MSearchSelectWindow"
678 onmouseover="return searchBox.OnSearchSelectShow()"
679 onmouseout="return searchBox.OnSearchSelectHide()"
680 onkeydown="return searchBox.OnSearchSelectKey(event)">
681<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
682
683<!-- iframe showing the search results (closed by default) -->
684<div id="MSearchResultsWindow">
685<iframe src="javascript:void(0)" frameborder="0"
686 name="MSearchResults" id="MSearchResults">
687</iframe>
688</div>
689
690
691 <li class="footer">
692<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
693Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:43 for Irrlicht 3D Engine by
694<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
695 </ul>
696 </div>
697
698
699</body>
700</html>