EDeviceTypes.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // Copyright (C) 2002-2012 Nikolaus Gebhardt
  2. // This file is part of the "Irrlicht Engine".
  3. // For conditions of distribution and use, see copyright notice in irrlicht.h
  4. #ifndef __E_DEVICE_TYPES_H_INCLUDED__
  5. #define __E_DEVICE_TYPES_H_INCLUDED__
  6. namespace irr
  7. {
  8. //! An enum for the different device types supported by the Irrlicht Engine.
  9. enum E_DEVICE_TYPE
  10. {
  11. //! A device native to Microsoft Windows
  12. /** This device uses the Win32 API and works in all versions of Windows. */
  13. EIDT_WIN32,
  14. //! A device native to Windows CE devices
  15. /** This device works on Windows Mobile, Pocket PC and Microsoft SmartPhone devices */
  16. EIDT_WINCE,
  17. //! A device native to Unix style operating systems.
  18. /** This device uses the X11 windowing system and works in Linux, Solaris, FreeBSD, OSX and
  19. other operating systems which support X11. */
  20. EIDT_X11,
  21. //! A device native to Mac OSX
  22. /** This device uses Apple's Cocoa API and works in Mac OSX 10.2 and above. */
  23. EIDT_OSX,
  24. //! A device which uses Simple DirectMedia Layer
  25. /** The SDL device works under all platforms supported by SDL but first must be compiled
  26. in by defining the _IRR_COMPILE_WITH_SDL_DEVICE_ macro in IrrCompileConfig.h */
  27. EIDT_SDL,
  28. //! A device for raw framebuffer access
  29. /** Best used with embedded devices and mobile systems.
  30. Does not need X11 or other graphical subsystems.
  31. May support hw-acceleration via OpenGL-ES for FBDirect */
  32. EIDT_FRAMEBUFFER,
  33. //! A simple text only device supported by all platforms.
  34. /** This device allows applications to run from the command line without opening a window.
  35. It can render the output of the software drivers to the console as ASCII. It only supports
  36. mouse and keyboard in Windows operating systems. */
  37. EIDT_CONSOLE,
  38. //! This selection allows Irrlicht to choose the best device from the ones available.
  39. /** If this selection is chosen then Irrlicht will try to use the IrrlichtDevice native
  40. to your operating system. If this is unavailable then the X11, SDL and then console device
  41. will be tried. This ensures that Irrlicht will run even if your platform is unsupported,
  42. although it may not be able to render anything. */
  43. EIDT_BEST
  44. };
  45. } // end namespace irr
  46. #endif // __E_DEVICE_TYPES_H_INCLUDED__