Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release > by-pkgid > 58828b263d8f56d90ac336dea07a4586 > files > 338

irrlicht-doc-1.6.1-1mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Irrlicht Engine: irr::IrrlichtDevice Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table class="irrlicht" >
  <tr valign="middle"> 
    <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> 
      | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> 
      | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> 
      | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical 
      List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> 
      Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> 
      | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> 
      Namespace&nbsp;Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class 
      members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File 
      members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td>
  </tr>
</table>
<!-- Generated by Doxygen 1.5.6 -->
  <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="classirr_1_1_irrlicht_device.html">IrrlichtDevice</a>
  </div>
<div class="contents">
<h1>irr::IrrlichtDevice Class Reference</h1><!-- doxytag: class="irr::IrrlichtDevice" --><!-- doxytag: inherits="irr::IReferenceCounted" -->The Irrlicht device. You can create it with <a class="el" href="namespaceirr.html#baf4d8719cc26b0d30813abf85e47c76" title="Creates an Irrlicht device. The Irrlicht device is the root object for using the...">createDevice()</a> or <a class="el" href="namespaceirr.html#c83a30d674204dcb94d70f849e9b4a62" title="Creates an Irrlicht device with the option to specify advanced parameters.">createDeviceEx()</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="_irrlicht_device_8h-source.html">IrrlichtDevice.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for irr::IrrlichtDevice:</div>
<div class="dynsection">

<p><center><img src="classirr_1_1_irrlicht_device.png" usemap="#irr::IrrlichtDevice_map" border="0" alt=""></center>
<map name="irr::IrrlichtDevice_map">
<area href="classirr_1_1_i_reference_counted.html" alt="irr::IReferenceCounted" shape="rect" coords="0,0,140,24">
</map>
</div>

<p>
<a href="classirr_1_1_irrlicht_device-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#f06f8d2c4fdffd1f879e46685bcbc6e3">activateJoysticks</a> (<a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="structirr_1_1_s_joystick_info.html">SJoystickInfo</a> &gt; &amp;joystickInfo)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Activate any joysticks, and generate events for them.  <a href="#f06f8d2c4fdffd1f879e46685bcbc6e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#08c97937e0f60f98d443b397a7c60e18">closeDevice</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notifies the device that it should close itself.  <a href="#08c97937e0f60f98d443b397a7c60e18"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed">video::ECOLOR_FORMAT</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#9dccd3d7af7cfbabee46214a89bd6650">getColorFormat</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current color format of the window.  <a href="#9dccd3d7af7cfbabee46214a89bd6650"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1gui_1_1_i_cursor_control.html">gui::ICursorControl</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#500a3b7bf69487ff7e2075dd0b0db529">getCursorControl</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the cursor control.  <a href="#500a3b7bf69487ff7e2075dd0b0db529"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#26227e20e46915942d067532c61df42b">getEventReceiver</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the current event receiver.  <a href="#26227e20e46915942d067532c61df42b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1io_1_1_i_file_system.html">io::IFileSystem</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#3d8d2dee2f57aa7e6c0d14592de3e6ed">getFileSystem</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the virtual file system.  <a href="#3d8d2dee2f57aa7e6c0d14592de3e6ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#30c4e1716271600a88e0ca07ca030f9b">getGammaRamp</a> (<a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;red, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;green, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;blue, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;brightness, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;contrast)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current Gamma Value for the Display.  <a href="#30c4e1716271600a88e0ca07ca030f9b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">gui::IGUIEnvironment</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#f7491b8c5ef4f71360f30fbad90ae35c">getGUIEnvironment</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the 2d user interface environment.  <a href="#f7491b8c5ef4f71360f30fbad90ae35c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1_i_logger.html">ILogger</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#dec0b0b6b71b5066dd2c7039f1f4d85b">getLogger</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the message logger.  <a href="#dec0b0b6b71b5066dd2c7039f1f4d85b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1_i_o_s_operator.html">IOSOperator</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#3833250e8b0d7a94cd34b1e1809033ac">getOSOperator</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the operation system operator object.  <a href="#3833250e8b0d7a94cd34b1e1809033ac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">scene::ISceneManager</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#891b503ff4d5041296d88f23f97d7b3d">getSceneManager</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager.  <a href="#891b503ff4d5041296d88f23f97d7b3d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1_i_timer.html">ITimer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#96c30fb7f644e1d1dabff563bde26460">getTimer</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the engine's timer.  <a href="#96c30fb7f644e1d1dabff563bde26460"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="namespaceirr.html#c25d94cf2e1037c7ca18ee79b3bd4505">E_DEVICE_TYPE</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#2a2ec439b1f153169003c4d3e986a7d7">getType</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the type of the device.  <a href="#2a2ec439b1f153169003c4d3e986a7d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#4eb5bc1b15f552ce2c37d792231392f7">getVersion</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the version of the engine.  <a href="#4eb5bc1b15f552ce2c37d792231392f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#da90707ba5c645d47e000e4e0f87c4c4">getVideoDriver</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver for drawing 3d and 2d geometry.  <a href="#da90707ba5c645d47e000e4e0f87c4c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classirr_1_1video_1_1_i_video_mode_list.html">video::IVideoModeList</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#8872867a5ad728a4673679e9e8f469e7">getVideoModeList</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a list with all <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> modes available.  <a href="#8872867a5ad728a4673679e9e8f469e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#409df5e9b9b90635bd3c2db31978a5c1">isFullscreen</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if the Irrlicht window is running in fullscreen mode.  <a href="#409df5e9b9b90635bd3c2db31978a5c1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#bd3c88336b739da2694883d5ffd25a70">isWindowActive</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns if the window is active.  <a href="#bd3c88336b739da2694883d5ffd25a70"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#960069dc52b4f1303d18945dcbad7f3a">isWindowFocused</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if the Irrlicht window has focus.  <a href="#960069dc52b4f1303d18945dcbad7f3a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#69e96b9c49c65391e406377a92e795b1">isWindowMinimized</a> () const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Checks if the Irrlicht window is minimized.  <a href="#69e96b9c49c65391e406377a92e795b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#24cb8ac97c16114ff7df1f0ec604a219">maximizeWindow</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Maximizes the window if possible.  <a href="#24cb8ac97c16114ff7df1f0ec604a219"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#23e31ff31f564d5e715edc901e519311">minimizeWindow</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Minimizes the window if possible.  <a href="#23e31ff31f564d5e715edc901e519311"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#bf859e39f017b0403c6ed331e48e01df">postEventFromUser</a> (const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &amp;event)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a user created event to the engine.  <a href="#bf859e39f017b0403c6ed331e48e01df"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#4a92974b424cc612198505e31fe125d3">restoreWindow</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Restore the window to normal size if possible.  <a href="#4a92974b424cc612198505e31fe125d3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#0489f8151dc43f6f41503ffb5a160b35">run</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Runs the device.  <a href="#0489f8151dc43f6f41503ffb5a160b35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#bf71a5ed6bb6b287e769f699010cedf0">setEventReceiver</a> (<a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a> *receiver)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a new user event receiver which will receive events from the engine.  <a href="#bf71a5ed6bb6b287e769f699010cedf0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#aa6cec87ca0a18ec369ea12f7fbd490c">setGammaRamp</a> (<a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> red, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> green, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> blue, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> relativebrightness, <a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> relativecontrast)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the current Gamma Value for the Display.  <a href="#aa6cec87ca0a18ec369ea12f7fbd490c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#22ab84f23050dbef122f16a33aa9b91d">setInputReceivingSceneManager</a> (<a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">scene::ISceneManager</a> *sceneManager)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the input receiving <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager.  <a href="#22ab84f23050dbef122f16a33aa9b91d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#4911502bd085d2d87474ff12959bc341">setResizable</a> (bool resize=false)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets if the window should be resizable in windowed mode.  <a href="#4911502bd085d2d87474ff12959bc341"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#3d7c98d520bf18ce1973c6f1439a7c0f">setWindowCaption</a> (const wchar_t *text)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the caption of the window.  <a href="#3d7c98d520bf18ce1973c6f1439a7c0f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#89a3ecebc0e7c5ae08617b78a6e8a9f7">sleep</a> (<a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a> timeMs, bool pauseTimer=false)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pause execution and let other processes to run for a specified amount of time.  <a href="#89a3ecebc0e7c5ae08617b78a6e8a9f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#731727774fad9fc4c6c1c85277ca36dc">yield</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Cause the device to temporarily pause execution and let other processes run.  <a href="#731727774fad9fc4c6c1c85277ca36dc"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1_irrlicht_device.html#5a74995aec731b26c6a9cb5bea6842fe">isDriverSupported</a> (<a class="el" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d0">video::E_DRIVER_TYPE</a> driver)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if a driver type is supported by the engine.  <a href="#5a74995aec731b26c6a9cb5bea6842fe"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The Irrlicht device. You can create it with <a class="el" href="namespaceirr.html#baf4d8719cc26b0d30813abf85e47c76" title="Creates an Irrlicht device. The Irrlicht device is the root object for using the...">createDevice()</a> or <a class="el" href="namespaceirr.html#c83a30d674204dcb94d70f849e9b4a62" title="Creates an Irrlicht device with the option to specify advanced parameters.">createDeviceEx()</a>. 
<p>
This is the most important class of the Irrlicht Engine. You can access everything in the engine if you have a pointer to an instance of this class. There should be only one instance of this class at any time. 
<p>Definition at line <a class="el" href="_irrlicht_device_8h-source.html#l00042">42</a> of file <a class="el" href="_irrlicht_device_8h-source.html">IrrlichtDevice.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f06f8d2c4fdffd1f879e46685bcbc6e3"></a><!-- doxytag: member="irr::IrrlichtDevice::activateJoysticks" ref="f06f8d2c4fdffd1f879e46685bcbc6e3" args="(core::array&lt; SJoystickInfo &gt; &amp;joystickInfo)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::activateJoysticks           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="structirr_1_1_s_joystick_info.html">SJoystickInfo</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>joystickInfo</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Activate any joysticks, and generate events for them. 
<p>
Irrlicht contains support for joysticks, but does not generate joystick events by default, as this would consume joystick info that 3rd party libraries might rely on. Call this method to activate joystick support in Irrlicht and to receive irr::SJoystickEvent events. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>joystickInfo</em>&nbsp;</td><td>On return, this will contain an array of each joystick that was found and activated. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if joysticks are supported on this device and _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ is defined, false if joysticks are not supported or support is compiled out. </dd></dl>

</div>
</div><p>
<a class="anchor" name="08c97937e0f60f98d443b397a7c60e18"></a><!-- doxytag: member="irr::IrrlichtDevice::closeDevice" ref="08c97937e0f60f98d443b397a7c60e18" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::closeDevice           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Notifies the device that it should close itself. 
<p>
<a class="el" href="classirr_1_1_irrlicht_device.html#0489f8151dc43f6f41503ffb5a160b35" title="Runs the device.">IrrlichtDevice::run()</a> will always return false after <a class="el" href="classirr_1_1_irrlicht_device.html#08c97937e0f60f98d443b397a7c60e18" title="Notifies the device that it should close itself.">closeDevice()</a> was called. 
</div>
</div><p>
<a class="anchor" name="9dccd3d7af7cfbabee46214a89bd6650"></a><!-- doxytag: member="irr::IrrlichtDevice::getColorFormat" ref="9dccd3d7af7cfbabee46214a89bd6650" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed">video::ECOLOR_FORMAT</a> irr::IrrlichtDevice::getColorFormat           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the current color format of the window. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Color format of the window. </dd></dl>

</div>
</div><p>
<a class="anchor" name="500a3b7bf69487ff7e2075dd0b0db529"></a><!-- doxytag: member="irr::IrrlichtDevice::getCursorControl" ref="500a3b7bf69487ff7e2075dd0b0db529" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_cursor_control.html">gui::ICursorControl</a>* irr::IrrlichtDevice::getCursorControl           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the cursor control. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the mouse cursor control interface. </dd></dl>

</div>
</div><p>
<a class="anchor" name="26227e20e46915942d067532c61df42b"></a><!-- doxytag: member="irr::IrrlichtDevice::getEventReceiver" ref="26227e20e46915942d067532c61df42b" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a>* irr::IrrlichtDevice::getEventReceiver           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the current event receiver. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the current event receiver. Returns 0 if there is none. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3d8d2dee2f57aa7e6c0d14592de3e6ed"></a><!-- doxytag: member="irr::IrrlichtDevice::getFileSystem" ref="3d8d2dee2f57aa7e6c0d14592de3e6ed" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1io_1_1_i_file_system.html">io::IFileSystem</a>* irr::IrrlichtDevice::getFileSystem           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the virtual file system. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the file system. </dd></dl>

</div>
</div><p>
<a class="anchor" name="30c4e1716271600a88e0ca07ca030f9b"></a><!-- doxytag: member="irr::IrrlichtDevice::getGammaRamp" ref="30c4e1716271600a88e0ca07ca030f9b" args="(f32 &amp;red, f32 &amp;green, f32 &amp;blue, f32 &amp;brightness, f32 &amp;contrast)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::getGammaRamp           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>blue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>brightness</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>contrast</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the current Gamma Value for the Display. 
<p>

</div>
</div><p>
<a class="anchor" name="f7491b8c5ef4f71360f30fbad90ae35c"></a><!-- doxytag: member="irr::IrrlichtDevice::getGUIEnvironment" ref="f7491b8c5ef4f71360f30fbad90ae35c" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">gui::IGUIEnvironment</a>* irr::IrrlichtDevice::getGUIEnvironment           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the 2d user interface environment. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the <a class="el" href="namespaceirr_1_1gui.html" title="The gui namespace contains useful classes for easy creation of a graphical user interface...">gui</a> environment. </dd></dl>

</div>
</div><p>
<a class="anchor" name="dec0b0b6b71b5066dd2c7039f1f4d85b"></a><!-- doxytag: member="irr::IrrlichtDevice::getLogger" ref="dec0b0b6b71b5066dd2c7039f1f4d85b" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1_i_logger.html">ILogger</a>* irr::IrrlichtDevice::getLogger           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the message logger. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the logger. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3833250e8b0d7a94cd34b1e1809033ac"></a><!-- doxytag: member="irr::IrrlichtDevice::getOSOperator" ref="3833250e8b0d7a94cd34b1e1809033ac" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1_i_o_s_operator.html">IOSOperator</a>* irr::IrrlichtDevice::getOSOperator           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the operation system operator object. 
<p>
The OS operator provides methods for getting system specific informations and doing system specific operations, such as exchanging data with the clipboard or reading the operation system version. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the OS operator. </dd></dl>

</div>
</div><p>
<a class="anchor" name="891b503ff4d5041296d88f23f97d7b3d"></a><!-- doxytag: member="irr::IrrlichtDevice::getSceneManager" ref="891b503ff4d5041296d88f23f97d7b3d" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">scene::ISceneManager</a>* irr::IrrlichtDevice::getSceneManager           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager. </dd></dl>

</div>
</div><p>
<a class="anchor" name="96c30fb7f644e1d1dabff563bde26460"></a><!-- doxytag: member="irr::IrrlichtDevice::getTimer" ref="96c30fb7f644e1d1dabff563bde26460" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1_i_timer.html">ITimer</a>* irr::IrrlichtDevice::getTimer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the engine's timer. 
<p>
The system time can be retrieved by it as well as the virtual time, which also can be manipulated. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the <a class="el" href="classirr_1_1_i_timer.html" title="Interface for getting and manipulating the virtual time.">ITimer</a> object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2a2ec439b1f153169003c4d3e986a7d7"></a><!-- doxytag: member="irr::IrrlichtDevice::getType" ref="2a2ec439b1f153169003c4d3e986a7d7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#c25d94cf2e1037c7ca18ee79b3bd4505">E_DEVICE_TYPE</a> irr::IrrlichtDevice::getType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the type of the device. 
<p>
This allows the user to check which windowing system is currently being used. 
</div>
</div><p>
<a class="anchor" name="4eb5bc1b15f552ce2c37d792231392f7"></a><!-- doxytag: member="irr::IrrlichtDevice::getVersion" ref="4eb5bc1b15f552ce2c37d792231392f7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410">c8</a>* irr::IrrlichtDevice::getVersion           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the version of the engine. 
<p>
The returned string will look like this: "1.2.3" or this: "1.2". <dl class="return" compact><dt><b>Returns:</b></dt><dd>String which contains the version. </dd></dl>

</div>
</div><p>
<a class="anchor" name="da90707ba5c645d47e000e4e0f87c4c4"></a><!-- doxytag: member="irr::IrrlichtDevice::getVideoDriver" ref="da90707ba5c645d47e000e4e0f87c4c4" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a>* irr::IrrlichtDevice::getVideoDriver           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver for drawing 3d and 2d geometry. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> driver. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8872867a5ad728a4673679e9e8f469e7"></a><!-- doxytag: member="irr::IrrlichtDevice::getVideoModeList" ref="8872867a5ad728a4673679e9e8f469e7" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_video_mode_list.html">video::IVideoModeList</a>* irr::IrrlichtDevice::getVideoModeList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets a list with all <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> modes available. 
<p>
If you are confused now, because you think you have to create an Irrlicht Device with a <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> mode before being able to get the <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> mode list, let me tell you that there is no need to start up an Irrlicht Device with EDT_DIRECT3D8, EDT_OPENGL or EDT_SOFTWARE: For this (and for lots of other reasons) the null driver, EDT_NULL exists. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to a list with all <a class="el" href="namespaceirr_1_1video.html" title="The video namespace contains classes for accessing the video driver. All 2d and 3d...">video</a> modes supported by the gfx adapter. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5a74995aec731b26c6a9cb5bea6842fe"></a><!-- doxytag: member="irr::IrrlichtDevice::isDriverSupported" ref="5a74995aec731b26c6a9cb5bea6842fe" args="(video::E_DRIVER_TYPE driver)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool irr::IrrlichtDevice::isDriverSupported           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d0">video::E_DRIVER_TYPE</a>&nbsp;</td>
          <td class="paramname"> <em>driver</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check if a driver type is supported by the engine. 
<p>
Even if true is returned the driver may not be available for a configuration requested when creating the device. 
<p>Definition at line <a class="el" href="_irrlicht_device_8h-source.html#l00248">248</a> of file <a class="el" href="_irrlicht_device_8h-source.html">IrrlichtDevice.h</a>.</p>

<p>References <a class="el" href="_e_driver_types_8h-source.html#l00038">irr::video::EDT_BURNINGSVIDEO</a>, <a class="el" href="_e_driver_types_8h-source.html#l00043">irr::video::EDT_DIRECT3D8</a>, <a class="el" href="_e_driver_types_8h-source.html#l00048">irr::video::EDT_DIRECT3D9</a>, <a class="el" href="_e_driver_types_8h-source.html#l00019">irr::video::EDT_NULL</a>, <a class="el" href="_e_driver_types_8h-source.html#l00053">irr::video::EDT_OPENGL</a>, and <a class="el" href="_e_driver_types_8h-source.html#l00026">irr::video::EDT_SOFTWARE</a>.</p>

</div>
</div><p>
<a class="anchor" name="409df5e9b9b90635bd3c2db31978a5c1"></a><!-- doxytag: member="irr::IrrlichtDevice::isFullscreen" ref="409df5e9b9b90635bd3c2db31978a5c1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::isFullscreen           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks if the Irrlicht window is running in fullscreen mode. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if window is fullscreen. </dd></dl>

</div>
</div><p>
<a class="anchor" name="bd3c88336b739da2694883d5ffd25a70"></a><!-- doxytag: member="irr::IrrlichtDevice::isWindowActive" ref="bd3c88336b739da2694883d5ffd25a70" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::isWindowActive           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns if the window is active. 
<p>
If the window is inactive, nothing needs to be drawn. So if you don't want to draw anything when the window is inactive, create your drawing loop this way: <div class="fragment"><pre class="fragment">                <span class="keywordflow">while</span>(device-&gt;run())
                {
                        <span class="keywordflow">if</span> (device-&gt;isWindowActive())
                        {
                                <span class="comment">// draw everything here</span>
                        }
                        <span class="keywordflow">else</span>
                                device-&gt;yield();
                }
</pre></div> <dl class="return" compact><dt><b>Returns:</b></dt><dd>True if window is active. </dd></dl>

</div>
</div><p>
<a class="anchor" name="960069dc52b4f1303d18945dcbad7f3a"></a><!-- doxytag: member="irr::IrrlichtDevice::isWindowFocused" ref="960069dc52b4f1303d18945dcbad7f3a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::isWindowFocused           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks if the Irrlicht window has focus. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if window has focus. </dd></dl>

</div>
</div><p>
<a class="anchor" name="69e96b9c49c65391e406377a92e795b1"></a><!-- doxytag: member="irr::IrrlichtDevice::isWindowMinimized" ref="69e96b9c49c65391e406377a92e795b1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::isWindowMinimized           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks if the Irrlicht window is minimized. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if window is minimized. </dd></dl>

</div>
</div><p>
<a class="anchor" name="24cb8ac97c16114ff7df1f0ec604a219"></a><!-- doxytag: member="irr::IrrlichtDevice::maximizeWindow" ref="24cb8ac97c16114ff7df1f0ec604a219" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::maximizeWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Maximizes the window if possible. 
<p>

</div>
</div><p>
<a class="anchor" name="23e31ff31f564d5e715edc901e519311"></a><!-- doxytag: member="irr::IrrlichtDevice::minimizeWindow" ref="23e31ff31f564d5e715edc901e519311" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::minimizeWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Minimizes the window if possible. 
<p>

</div>
</div><p>
<a class="anchor" name="bf859e39f017b0403c6ed331e48e01df"></a><!-- doxytag: member="irr::IrrlichtDevice::postEventFromUser" ref="bf859e39f017b0403c6ed331e48e01df" args="(const SEvent &amp;event)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::postEventFromUser           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sends a user created event to the engine. 
<p>
Is is usually not necessary to use this. However, if you are using an own input library for example for doing joystick input, you can use this to post key or mouse input events to the engine. Internally, this method only delegates the events further to the <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager and the GUI environment. 
</div>
</div><p>
<a class="anchor" name="4a92974b424cc612198505e31fe125d3"></a><!-- doxytag: member="irr::IrrlichtDevice::restoreWindow" ref="4a92974b424cc612198505e31fe125d3" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::restoreWindow           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Restore the window to normal size if possible. 
<p>

</div>
</div><p>
<a class="anchor" name="0489f8151dc43f6f41503ffb5a160b35"></a><!-- doxytag: member="irr::IrrlichtDevice::run" ref="0489f8151dc43f6f41503ffb5a160b35" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::run           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Runs the device. 
<p>
Also increments the virtual timer by calling <a class="el" href="classirr_1_1_i_timer.html#50ee793711cace4410e1f9c9e1ce20c6" title="Advances the virtual time.">ITimer::tick()</a>;. You can prevent this by calling <a class="el" href="classirr_1_1_i_timer.html#649e7294fafc6e6de00f9a4dc6894c16" title="Stops the virtual timer.">ITimer::stop()</a>; before and <a class="el" href="classirr_1_1_i_timer.html#9467dc5a72de3869712715d0473c9697" title="Starts the virtual timer.">ITimer::start()</a> after calling <a class="el" href="classirr_1_1_irrlicht_device.html#0489f8151dc43f6f41503ffb5a160b35" title="Runs the device.">IrrlichtDevice::run()</a>. Returns false if device wants to be deleted. Use it in this way: <div class="fragment"><pre class="fragment">                <span class="keywordflow">while</span>(device-&gt;run())
                {
                        <span class="comment">// draw everything here</span>
                }
</pre></div> If you want the device to do nothing if the window is inactive (recommended), use the slightly enhanced code shown at <a class="el" href="classirr_1_1_irrlicht_device.html#bd3c88336b739da2694883d5ffd25a70" title="Returns if the window is active.">isWindowActive()</a>.<p>
Note if you are running Irrlicht inside an external, custom created window: Calling Device-&gt;<a class="el" href="classirr_1_1_irrlicht_device.html#0489f8151dc43f6f41503ffb5a160b35" title="Runs the device.">run()</a> will cause Irrlicht to dispatch windows messages internally. If you are running Irrlicht in your own custom window, you can also simply use your own message loop using GetMessage, DispatchMessage and whatever and simply don't use this method. But note that Irrlicht will not be able to fetch user input then. See <a class="el" href="structirr_1_1_s_irrlicht_creation_parameters.html#f287810d910a23f8f7db98cef87b6eae" title="Window Id.">irr::SIrrlichtCreationParameters::WindowId</a> for more informations and example code. 
</div>
</div><p>
<a class="anchor" name="bf71a5ed6bb6b287e769f699010cedf0"></a><!-- doxytag: member="irr::IrrlichtDevice::setEventReceiver" ref="bf71a5ed6bb6b287e769f699010cedf0" args="(IEventReceiver *receiver)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::setEventReceiver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a> *&nbsp;</td>
          <td class="paramname"> <em>receiver</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets a new user event receiver which will receive events from the engine. 
<p>
Return true in <a class="el" href="classirr_1_1_i_event_receiver.html#571f744ceffc3b4fe8a81f529163eb97" title="Called if an event happened.">IEventReceiver::OnEvent</a> to prevent the event from continuing along the chain of event receivers. The path that an event takes through the system depends on its type. See <a class="el" href="namespaceirr.html#c9eed96e06e85ce3c86fcbbbe9e48a0c" title="Enumeration for all event types there are.">irr::EEVENT_TYPE</a> for details. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>receiver</em>&nbsp;</td><td>New receiver to be used. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="aa6cec87ca0a18ec369ea12f7fbd490c"></a><!-- doxytag: member="irr::IrrlichtDevice::setGammaRamp" ref="aa6cec87ca0a18ec369ea12f7fbd490c" args="(f32 red, f32 green, f32 blue, f32 relativebrightness, f32 relativecontrast)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool irr::IrrlichtDevice::setGammaRamp           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&nbsp;</td>
          <td class="paramname"> <em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&nbsp;</td>
          <td class="paramname"> <em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&nbsp;</td>
          <td class="paramname"> <em>blue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&nbsp;</td>
          <td class="paramname"> <em>relativebrightness</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07">f32</a>&nbsp;</td>
          <td class="paramname"> <em>relativecontrast</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the current Gamma Value for the Display. 
<p>

</div>
</div><p>
<a class="anchor" name="22ab84f23050dbef122f16a33aa9b91d"></a><!-- doxytag: member="irr::IrrlichtDevice::setInputReceivingSceneManager" ref="22ab84f23050dbef122f16a33aa9b91d" args="(scene::ISceneManager *sceneManager)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::setInputReceivingSceneManager           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_scene_manager.html">scene::ISceneManager</a> *&nbsp;</td>
          <td class="paramname"> <em>sceneManager</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the input receiving <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager. 
<p>
If set to null, the main <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager (returned by GetSceneManager()) will receive the input <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sceneManager</em>&nbsp;</td><td>New <a class="el" href="namespaceirr_1_1scene.html" title="All scene management can be found in this namespace: Mesh loading, special scene...">scene</a> manager to be used. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="4911502bd085d2d87474ff12959bc341"></a><!-- doxytag: member="irr::IrrlichtDevice::setResizable" ref="4911502bd085d2d87474ff12959bc341" args="(bool resize=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::setResizable           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>resize</em> = <code>false</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets if the window should be resizable in windowed mode. 
<p>
The default is false. This method only works in windowed mode. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>resize</em>&nbsp;</td><td>Flag whether the window should be resizable. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="3d7c98d520bf18ce1973c6f1439a7c0f"></a><!-- doxytag: member="irr::IrrlichtDevice::setWindowCaption" ref="3d7c98d520bf18ce1973c6f1439a7c0f" args="(const wchar_t *text)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::setWindowCaption           </td>
          <td>(</td>
          <td class="paramtype">const wchar_t *&nbsp;</td>
          <td class="paramname"> <em>text</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the caption of the window. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text,:</em>&nbsp;</td><td>New text of the window caption. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="89a3ecebc0e7c5ae08617b78a6e8a9f7"></a><!-- doxytag: member="irr::IrrlichtDevice::sleep" ref="89a3ecebc0e7c5ae08617b78a6e8a9f7" args="(u32 timeMs, bool pauseTimer=false)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::sleep           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#0416a53257075833e7002efd0a18e804">u32</a>&nbsp;</td>
          <td class="paramname"> <em>timeMs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>pauseTimer</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pause execution and let other processes to run for a specified amount of time. 
<p>
It may not wait the full given time, as sleep may be interrupted <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>timeMs,:</em>&nbsp;</td><td>Time to sleep for in milisecs. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pauseTimer,:</em>&nbsp;</td><td>If true, pauses the device timer while sleeping </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="731727774fad9fc4c6c1c85277ca36dc"></a><!-- doxytag: member="irr::IrrlichtDevice::yield" ref="731727774fad9fc4c6c1c85277ca36dc" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::IrrlichtDevice::yield           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Cause the device to temporarily pause execution and let other processes run. 
<p>
This should bring down processor usage without major performance loss for Irrlicht 
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_irrlicht_device_8h-source.html">IrrlichtDevice.h</a></ul>
</div>
<hr size="1">
<address style="align: right;">
<small> </small>
</address>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr> 
    <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td>
    <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
        Engine</a> Documentation &copy; 2003-2009 by Nikolaus Gebhardt. Generated 
        on Sun Jan 10 09:24:09 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> 
        (1.5.6)</font></em></small></div></td>
  </tr>
</table>
<address style="align: right;">
</address>
</body>
</html>