diff options
author | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-01-03 19:05:16 +0000 |
---|---|---|
committer | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-01-03 19:05:16 +0000 |
commit | 2ae2a551a6290f46734307bbfdafea4b1a2cf2ba (patch) | |
tree | ba2f0b468640e44899fed3df2d4cc58795f4a003 /include/EDeviceTypes.h | |
download | irrlicht-2ae2a551a6290f46734307bbfdafea4b1a2cf2ba.tar.xz |
Merging r5975 through r6036 from trunk to ogl-es branch.
GLES drivers adapted, but only did make compile-tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6038 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'include/EDeviceTypes.h')
-rw-r--r-- | include/EDeviceTypes.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/include/EDeviceTypes.h b/include/EDeviceTypes.h new file mode 100644 index 0000000..6b67c1a --- /dev/null +++ b/include/EDeviceTypes.h @@ -0,0 +1,70 @@ +// Copyright (C) 2002-2012 Nikolaus Gebhardt
+// This file is part of the "Irrlicht Engine".
+// For conditions of distribution and use, see copyright notice in irrlicht.h
+
+#ifndef __E_DEVICE_TYPES_H_INCLUDED__
+#define __E_DEVICE_TYPES_H_INCLUDED__
+
+namespace irr
+{
+
+ //! An enum for the different device types supported by the Irrlicht Engine.
+ enum E_DEVICE_TYPE
+ {
+
+ //! A device native to Microsoft Windows
+ /** This device uses the Win32 API and works in all versions of Windows. */
+ EIDT_WIN32,
+
+ //! A device native to Windows CE devices
+ /** This device works on Windows Mobile, Pocket PC and Microsoft SmartPhone devices */
+ EIDT_WINCE,
+
+ //! A device native to Unix style operating systems.
+ /** This device uses the X11 windowing system and works in Linux, Solaris, FreeBSD, OSX and
+ other operating systems which support X11. */
+ EIDT_X11,
+
+ //! A device native to Mac OSX
+ /** This device uses Apple's Cocoa API and works in Mac OSX 10.2 and above. */
+ EIDT_OSX,
+
+ //! A device native to the iOS
+ /** This device should be used with the OpenGL-ES driver. */
+ EIDT_IOS,
+
+ //! A device which uses Simple DirectMedia Layer
+ /** The SDL device works under all platforms supported by SDL but first must be compiled
+ in by defining the _IRR_COMPILE_WITH_SDL_DEVICE_ macro in IrrCompileConfig.h */
+ EIDT_SDL,
+
+ //! A device for raw framebuffer access
+ /** Best used with embedded devices and mobile systems.
+ Does not need X11 or other graphical subsystems.
+ May support hw-acceleration via OpenGL-ES for FBDirect */
+ EIDT_FRAMEBUFFER,
+
+ //! A simple text only device supported by all platforms.
+ /** This device allows applications to run from the command line without opening a window.
+ It can render the output of the software drivers to the console as ASCII. It only supports
+ mouse and keyboard in Windows operating systems. */
+ EIDT_CONSOLE,
+
+ //! This selection allows Irrlicht to choose the best device from the ones available.
+ /** If this selection is chosen then Irrlicht will try to use the IrrlichtDevice native
+ to your operating system. If this is unavailable then the X11, SDL and then console device
+ will be tried. This ensures that Irrlicht will run even if your platform is unsupported,
+ although it may not be able to render anything. */
+ EIDT_BEST,
+
+ //! A device for Android platforms
+ /** Best used with embedded devices and mobile systems.
+ Does not need X11 or other graphical subsystems.
+ May support hw-acceleration via OpenGL-ES */
+ EIDT_ANDROID,
+ };
+
+} // end namespace irr
+
+#endif // __E_DEVICE_TYPES_H_INCLUDED__
+
|