5 #ifndef __I_IRRLICHT_DEVICE_H_INCLUDED__ 6 #define __I_IRRLICHT_DEVICE_H_INCLUDED__ 30 class IGUIEnvironment;
72 virtual bool run() = 0;
77 virtual void yield() = 0;
84 virtual void sleep(
u32 timeMs,
bool pauseTimer=
false) = 0;
108 virtual ILogger* getLogger() = 0;
133 virtual ITimer* getTimer() = 0;
149 virtual IRandomizer* createDefaultRandomizer()
const =0;
153 virtual void setWindowCaption(
const wchar_t* text) = 0;
171 virtual bool isWindowActive()
const = 0;
175 virtual bool isWindowFocused()
const = 0;
179 virtual bool isWindowMinimized()
const = 0;
183 virtual bool isFullscreen()
const = 0;
191 virtual void closeDevice() = 0;
197 virtual const c8* getVersion()
const = 0;
216 virtual bool postEventFromUser(
const SEvent& event) = 0;
228 virtual void setResizable(
bool resize=
false) = 0;
231 virtual void minimizeWindow() =0;
234 virtual void maximizeWindow() =0;
237 virtual void restoreWindow() =0;
250 virtual bool setGammaRamp(
f32 red,
f32 green,
f32 blue,
251 f32 relativebrightness,
f32 relativecontrast) =0;
254 virtual bool getGammaRamp(
f32 &red,
f32 &green,
f32 &blue,
255 f32 &brightness,
f32 &contrast) =0;
267 virtual void clearSystemMessages() = 0;
284 #ifdef _IRR_COMPILE_WITH_SOFTWARE_ 290 #ifdef _IRR_COMPILE_WITH_BURNINGSVIDEO_ 296 #ifdef _IRR_COMPILE_WITH_DIRECT3D_8_ 302 #ifdef _IRR_COMPILE_WITH_DIRECT3D_9_ 308 #ifdef _IRR_COMPILE_WITH_OPENGL_
The FileSystem manages files and archives and provides access to them.
static bool isDriverSupported(video::E_DRIVER_TYPE driver)
Check if a driver type is supported by the engine.
E_DEVICE_TYPE
An enum for the different device types supported by the Irrlicht Engine.
SEvents hold information about an event. See irr::IEventReceiver for details on event handling...
Interface for generating random numbers.
A list of all available video modes.
float f32
32 bit floating point variable.
char c8
8 bit character variable.
Direct3D 9 device, only available on Win32 platforms.
The Irrlicht device. You can create it with createDevice() or createDeviceEx().
ECOLOR_FORMAT
An enum for the color format of textures used by the Irrlicht Engine.
OpenGL device, available on most platforms.
Everything in the Irrlicht Engine can be found in this namespace.
GUI Environment. Used as factory and manager of all other GUI elements.
The Irrlicht Engine Software renderer.
Direct3D8 device, only available on Win32 platforms.
Interface of an object which can receive events.
E_DRIVER_TYPE
An enum for all types of drivers the Irrlicht Engine supports.
Null driver, useful for applications to run the engine without visualisation.
unsigned int u32
32 bit unsigned variable.
Interface for logging messages, warnings and errors.
Interface for getting and manipulating the virtual time.
Interface to manipulate the mouse cursor.
Interface to driver which is able to perform 2d and 3d graphics functions.
The Operating system operator provides operation system specific methods and informations.
The Burning's Software Renderer, an alternative software renderer.
The Scene Manager manages scene nodes, mesh recources, cameras and all the other stuff.
Self reallocating template array (like stl vector) with additional features.
Base class of most objects of the Irrlicht Engine.