Sophie

Sophie

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

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: IrrlichtDevice.h Source File</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 -->
<h1>IrrlichtDevice.h</h1><a href="_irrlicht_device_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2009 Nikolaus Gebhardt</span>
<a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span>
<a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_IRRLICHT_DEVICE_H_INCLUDED__</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_IRRLICHT_DEVICE_H_INCLUDED__</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="_i_reference_counted_8h.html">IReferenceCounted.h</a>"</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="dimension2d_8h.html">dimension2d.h</a>"</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="_i_video_driver_8h.html">IVideoDriver.h</a>"</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include "<a class="code" href="_e_driver_types_8h.html">EDriverTypes.h</a>"</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="_e_device_types_8h.html">EDeviceTypes.h</a>"</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="_i_event_receiver_8h.html">IEventReceiver.h</a>"</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="_i_cursor_control_8h.html">ICursorControl.h</a>"</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="_i_video_mode_list_8h.html">IVideoModeList.h</a>"</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="_i_timer_8h.html">ITimer.h</a>"</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="_i_o_s_operator_8h.html">IOSOperator.h</a>"</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">namespace </span>irr
<a name="l00020"></a>00020 {
<a name="l00021"></a>00021         <span class="keyword">class </span>ILogger;
<a name="l00022"></a>00022         <span class="keyword">class </span>IEventReceiver;
<a name="l00023"></a>00023 
<a name="l00024"></a>00024         <span class="keyword">namespace </span>io {
<a name="l00025"></a>00025                 <span class="keyword">class </span>IFileSystem;
<a name="l00026"></a>00026         } <span class="comment">// end namespace io</span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028         <span class="keyword">namespace </span>gui {
<a name="l00029"></a>00029                 <span class="keyword">class </span>IGUIEnvironment;
<a name="l00030"></a>00030         } <span class="comment">// end namespace gui</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032         <span class="keyword">namespace </span>scene {
<a name="l00033"></a>00033                 <span class="keyword">class </span>ISceneManager;
<a name="l00034"></a>00034         } <span class="comment">// end namespace scene</span>
<a name="l00035"></a>00035 
<a name="l00037"></a>00037 
<a name="l00042"></a><a class="code" href="classirr_1_1_irrlicht_device.html">00042</a>         <span class="keyword">class </span><a class="code" href="classirr_1_1_irrlicht_device.html" title="The Irrlicht device. You can create it with createDevice() or createDeviceEx().">IrrlichtDevice</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a>
<a name="l00043"></a>00043         {
<a name="l00044"></a>00044         <span class="keyword">public</span>:
<a name="l00045"></a>00045 
<a name="l00047"></a>00047 
<a name="l00071"></a>00071                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#0489f8151dc43f6f41503ffb5a160b35" title="Runs the device.">run</a>() = 0;
<a name="l00072"></a>00072 
<a name="l00074"></a>00074 
<a name="l00076"></a>00076                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#731727774fad9fc4c6c1c85277ca36dc" title="Cause the device to temporarily pause execution and let other processes run.">yield</a>() = 0;
<a name="l00077"></a>00077 
<a name="l00079"></a>00079 
<a name="l00083"></a>00083                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#89a3ecebc0e7c5ae08617b78a6e8a9f7" title="Pause execution and let other processes to run for a specified amount of time.">sleep</a>(<a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> timeMs, <span class="keywordtype">bool</span> pauseTimer=<span class="keyword">false</span>) = 0;
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00087"></a>00087                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1video_1_1_i_video_driver.html" title="Interface to driver which is able to perform 2d and 3d graphics functions.">video::IVideoDriver</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#da90707ba5c645d47e000e4e0f87c4c4" title="Provides access to the video driver for drawing 3d and 2d geometry.">getVideoDriver</a>() = 0;
<a name="l00088"></a>00088 
<a name="l00090"></a>00090 
<a name="l00091"></a>00091                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1io_1_1_i_file_system.html" title="The FileSystem manages files and archives and provides access to them.">io::IFileSystem</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#3d8d2dee2f57aa7e6c0d14592de3e6ed" title="Provides access to the virtual file system.">getFileSystem</a>() = 0;
<a name="l00092"></a>00092 
<a name="l00094"></a>00094 
<a name="l00095"></a>00095                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_environment.html" title="GUI Environment. Used as factory and manager of all other GUI elements.">gui::IGUIEnvironment</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#f7491b8c5ef4f71360f30fbad90ae35c" title="Provides access to the 2d user interface environment.">getGUIEnvironment</a>() = 0;
<a name="l00096"></a>00096 
<a name="l00098"></a>00098 
<a name="l00099"></a>00099                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_manager.html" title="The Scene Manager manages scene nodes, mesh recources, cameras and all the other...">scene::ISceneManager</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#891b503ff4d5041296d88f23f97d7b3d" title="Provides access to the scene manager.">getSceneManager</a>() = 0;
<a name="l00100"></a>00100 
<a name="l00102"></a>00102 
<a name="l00103"></a>00103                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1gui_1_1_i_cursor_control.html" title="Interface to manipulate the mouse cursor.">gui::ICursorControl</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#500a3b7bf69487ff7e2075dd0b0db529" title="Provides access to the cursor control.">getCursorControl</a>() = 0;
<a name="l00104"></a>00104 
<a name="l00106"></a>00106 
<a name="l00107"></a>00107                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_logger.html" title="Interface for logging messages, warnings and errors.">ILogger</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#dec0b0b6b71b5066dd2c7039f1f4d85b" title="Provides access to the message logger.">getLogger</a>() = 0;
<a name="l00108"></a>00108 
<a name="l00110"></a>00110 
<a name="l00118"></a>00118                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1video_1_1_i_video_mode_list.html" title="A list of all available video modes.">video::IVideoModeList</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#8872867a5ad728a4673679e9e8f469e7" title="Gets a list with all video modes available.">getVideoModeList</a>() = 0;
<a name="l00119"></a>00119 
<a name="l00121"></a>00121 
<a name="l00126"></a>00126                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_o_s_operator.html" title="The Operating system operator provides operation system specific methods and informations...">IOSOperator</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#3833250e8b0d7a94cd34b1e1809033ac" title="Provides access to the operation system operator object.">getOSOperator</a>() = 0;
<a name="l00127"></a>00127 
<a name="l00129"></a>00129 
<a name="l00132"></a>00132                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_timer.html" title="Interface for getting and manipulating the virtual time.">ITimer</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#96c30fb7f644e1d1dabff563bde26460" title="Provides access to the engine&amp;#39;s timer.">getTimer</a>() = 0;
<a name="l00133"></a>00133 
<a name="l00135"></a>00135 
<a name="l00136"></a>00136                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#3d7c98d520bf18ce1973c6f1439a7c0f" title="Sets the caption of the window.">setWindowCaption</a>(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* text) = 0;
<a name="l00137"></a>00137 
<a name="l00139"></a>00139 
<a name="l00154"></a>00154                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#bd3c88336b739da2694883d5ffd25a70" title="Returns if the window is active.">isWindowActive</a>() <span class="keyword">const</span> = 0;
<a name="l00155"></a>00155 
<a name="l00157"></a>00157 
<a name="l00158"></a>00158                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#960069dc52b4f1303d18945dcbad7f3a" title="Checks if the Irrlicht window has focus.">isWindowFocused</a>() <span class="keyword">const</span> = 0;
<a name="l00159"></a>00159 
<a name="l00161"></a>00161 
<a name="l00162"></a>00162                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#69e96b9c49c65391e406377a92e795b1" title="Checks if the Irrlicht window is minimized.">isWindowMinimized</a>() <span class="keyword">const</span> = 0;
<a name="l00163"></a>00163 
<a name="l00165"></a>00165 
<a name="l00166"></a>00166                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#409df5e9b9b90635bd3c2db31978a5c1" title="Checks if the Irrlicht window is running in fullscreen mode.">isFullscreen</a>() <span class="keyword">const</span> = 0;
<a name="l00167"></a>00167 
<a name="l00169"></a>00169 
<a name="l00170"></a>00170                 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1video.html#1d5e487888c32b1674a8f75116d829ed" title="An enum for the color format of textures used by the Irrlicht Engine.">video::ECOLOR_FORMAT</a> <a class="code" href="classirr_1_1_irrlicht_device.html#9dccd3d7af7cfbabee46214a89bd6650" title="Get the current color format of the window.">getColorFormat</a>() <span class="keyword">const</span> = 0;
<a name="l00171"></a>00171 
<a name="l00173"></a>00173 
<a name="l00174"></a>00174                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#08c97937e0f60f98d443b397a7c60e18" title="Notifies the device that it should close itself.">closeDevice</a>() = 0;
<a name="l00175"></a>00175 
<a name="l00177"></a>00177 
<a name="l00180"></a>00180                 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="namespaceirr.html#9395eaea339bcb546b319e9c96bf7410" title="8 bit character variable.">c8</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#4eb5bc1b15f552ce2c37d792231392f7" title="Get the version of the engine.">getVersion</a>() <span class="keyword">const</span> = 0;
<a name="l00181"></a>00181 
<a name="l00183"></a>00183 
<a name="l00187"></a>00187                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#bf71a5ed6bb6b287e769f699010cedf0" title="Sets a new user event receiver which will receive events from the engine.">setEventReceiver</a>(<a class="code" href="classirr_1_1_i_event_receiver.html" title="Interface of an object which can receive events.">IEventReceiver</a>* receiver) = 0;
<a name="l00188"></a>00188 
<a name="l00190"></a>00190 
<a name="l00191"></a>00191                 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_event_receiver.html" title="Interface of an object which can receive events.">IEventReceiver</a>* <a class="code" href="classirr_1_1_irrlicht_device.html#26227e20e46915942d067532c61df42b" title="Provides access to the current event receiver.">getEventReceiver</a>() = 0;
<a name="l00192"></a>00192 
<a name="l00194"></a>00194 
<a name="l00199"></a>00199                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#bf859e39f017b0403c6ed331e48e01df" title="Sends a user created event to the engine.">postEventFromUser</a>(<span class="keyword">const</span> <a class="code" href="structirr_1_1_s_event.html" title="SEvents hold information about an event. See irr::IEventReceiver for details on event...">SEvent</a>&amp; event) = 0;
<a name="l00200"></a>00200 
<a name="l00202"></a>00202 
<a name="l00205"></a>00205                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#22ab84f23050dbef122f16a33aa9b91d" title="Sets the input receiving scene manager.">setInputReceivingSceneManager</a>(<a class="code" href="classirr_1_1scene_1_1_i_scene_manager.html" title="The Scene Manager manages scene nodes, mesh recources, cameras and all the other...">scene::ISceneManager</a>* sceneManager) = 0;
<a name="l00206"></a>00206 
<a name="l00208"></a>00208 
<a name="l00211"></a>00211                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#4911502bd085d2d87474ff12959bc341" title="Sets if the window should be resizable in windowed mode.">setResizable</a>(<span class="keywordtype">bool</span> resize=<span class="keyword">false</span>) = 0;
<a name="l00212"></a>00212 
<a name="l00214"></a>00214                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#23e31ff31f564d5e715edc901e519311" title="Minimizes the window if possible.">minimizeWindow</a>() =0;
<a name="l00215"></a>00215 
<a name="l00217"></a>00217                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#24cb8ac97c16114ff7df1f0ec604a219" title="Maximizes the window if possible.">maximizeWindow</a>() =0;
<a name="l00218"></a>00218 
<a name="l00220"></a>00220                 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1_irrlicht_device.html#4a92974b424cc612198505e31fe125d3" title="Restore the window to normal size if possible.">restoreWindow</a>() =0;
<a name="l00221"></a>00221 
<a name="l00223"></a>00223 
<a name="l00230"></a>00230                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#f06f8d2c4fdffd1f879e46685bcbc6e3" title="Activate any joysticks, and generate events for them.">activateJoysticks</a>(<a class="code" href="classirr_1_1core_1_1array.html" title="Self reallocating template array (like stl vector) with additional features.">core::array&lt;SJoystickInfo&gt;</a>&amp; joystickInfo) =0;
<a name="l00231"></a>00231 
<a name="l00233"></a>00233                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#aa6cec87ca0a18ec369ea12f7fbd490c" title="Set the current Gamma Value for the Display.">setGammaRamp</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> red, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> green, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> blue,
<a name="l00234"></a>00234                                         <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> relativebrightness, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> relativecontrast) =0;
<a name="l00235"></a>00235 
<a name="l00237"></a>00237                 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#30c4e1716271600a88e0ca07ca030f9b" title="Get the current Gamma Value for the Display.">getGammaRamp</a>(<a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> &amp;red, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> &amp;green, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> &amp;blue,
<a name="l00238"></a>00238                                         <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> &amp;brightness, <a class="code" href="namespaceirr.html#0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> &amp;contrast) =0;
<a name="l00239"></a>00239 
<a name="l00241"></a>00241 
<a name="l00243"></a>00243                 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#c25d94cf2e1037c7ca18ee79b3bd4505" title="An enum for the different device types supported by the Irrlicht Engine.">E_DEVICE_TYPE</a> <a class="code" href="classirr_1_1_irrlicht_device.html#2a2ec439b1f153169003c4d3e986a7d7" title="Get the type of the device.">getType</a>() <span class="keyword">const</span> = 0;
<a name="l00244"></a>00244 
<a name="l00246"></a>00246 
<a name="l00248"></a><a class="code" href="classirr_1_1_irrlicht_device.html#5a74995aec731b26c6a9cb5bea6842fe">00248</a>                 <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1_irrlicht_device.html#5a74995aec731b26c6a9cb5bea6842fe" title="Check if a driver type is supported by the engine.">isDriverSupported</a>(<a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d0" title="An enum for all types of drivers the Irrlicht Engine supports.">video::E_DRIVER_TYPE</a> driver)
<a name="l00249"></a>00249                 {
<a name="l00250"></a>00250                         <span class="keywordflow">switch</span> (driver)
<a name="l00251"></a>00251                         {
<a name="l00252"></a>00252                                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d0cfdbd476cbfd4d05e72f9adffcc42210" title="Null driver, useful for applications to run the engine without visualisation.">video::EDT_NULL</a>:
<a name="l00253"></a>00253                                         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00254"></a>00254                                 <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d01598cd235a1a6bd052e2011b559e8995" title="The Irrlicht Engine Software renderer.">video::EDT_SOFTWARE</a>:
<a name="l00255"></a>00255 <span class="preprocessor">#ifdef _IRR_COMPILE_WITH_SOFTWARE_</span>
<a name="l00256"></a>00256 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00257"></a>00257 <span class="preprocessor">#else</span>
<a name="l00258"></a>00258 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00259"></a>00259 <span class="preprocessor">#endif</span>
<a name="l00260"></a>00260 <span class="preprocessor"></span>                                <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d0e85481da26159b967191ccc6de1e4a05" title="The Burning&amp;#39;s Software Renderer, an alternative software renderer.">video::EDT_BURNINGSVIDEO</a>:
<a name="l00261"></a>00261 <span class="preprocessor">#ifdef _IRR_COMPILE_WITH_BURNINGSVIDEO_</span>
<a name="l00262"></a>00262 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00263"></a>00263 <span class="preprocessor">#else</span>
<a name="l00264"></a>00264 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00265"></a>00265 <span class="preprocessor">#endif</span>
<a name="l00266"></a>00266 <span class="preprocessor"></span>                                <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d08cc3807f6f28404f3424ad7e31b3142f" title="Direct3D8 device, only available on Win32 platforms.">video::EDT_DIRECT3D8</a>:
<a name="l00267"></a>00267 <span class="preprocessor">#ifdef _IRR_COMPILE_WITH_DIRECT3D_8_</span>
<a name="l00268"></a>00268 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00269"></a>00269 <span class="preprocessor">#else</span>
<a name="l00270"></a>00270 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00271"></a>00271 <span class="preprocessor">#endif</span>
<a name="l00272"></a>00272 <span class="preprocessor"></span>                                <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d04691ca314f9018f508dcf2c57dcaacec" title="Direct3D 9 device, only available on Win32 platforms.">video::EDT_DIRECT3D9</a>:
<a name="l00273"></a>00273 <span class="preprocessor">#ifdef _IRR_COMPILE_WITH_DIRECT3D_9_</span>
<a name="l00274"></a>00274 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00275"></a>00275 <span class="preprocessor">#else</span>
<a name="l00276"></a>00276 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00277"></a>00277 <span class="preprocessor">#endif</span>
<a name="l00278"></a>00278 <span class="preprocessor"></span>                                <span class="keywordflow">case</span> <a class="code" href="namespaceirr_1_1video.html#e35a6de6d436c76107ad157fe42356d02715182a79f1cb8e2826fd68a8150a53" title="OpenGL device, available on most platforms.">video::EDT_OPENGL</a>:
<a name="l00279"></a>00279 <span class="preprocessor">#ifdef _IRR_COMPILE_WITH_OPENGL_</span>
<a name="l00280"></a>00280 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00281"></a>00281 <span class="preprocessor">#else</span>
<a name="l00282"></a>00282 <span class="preprocessor"></span>                                        <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00283"></a>00283 <span class="preprocessor">#endif</span>
<a name="l00284"></a>00284 <span class="preprocessor"></span>                                <span class="keywordflow">default</span>:
<a name="l00285"></a>00285                                         <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00286"></a>00286                         }
<a name="l00287"></a>00287                 }
<a name="l00288"></a>00288         };
<a name="l00289"></a>00289 
<a name="l00290"></a>00290 } <span class="comment">// end namespace irr</span>
<a name="l00291"></a>00291 
<a name="l00292"></a>00292 <span class="preprocessor">#endif</span>
<a name="l00293"></a>00293 <span class="preprocessor"></span>
</pre></div></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:04 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>