EDeviceTypes.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 IRR_E_DEVICE_TYPES_H_INCLUDED
  5. #define IRR_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 // IRR_E_DEVICE_TYPES_H_INCLUDED