2
0

EDeviceTypes.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #pragma once
  5. namespace irr
  6. {
  7. //! An enum for the different device types supported by the Irrlicht Engine.
  8. enum E_DEVICE_TYPE
  9. {
  10. //! A device native to Microsoft Windows
  11. /** This device uses the Win32 API and works in all versions of Windows. */
  12. EIDT_WIN32,
  13. //! A device native to Unix style operating systems.
  14. /** This device uses the X11 windowing system and works in Linux, Solaris, FreeBSD, OSX and
  15. other operating systems which support X11. */
  16. EIDT_X11,
  17. //! A device native to Mac OSX
  18. /** This device uses Apple's Cocoa API and works in Mac OSX 10.2 and above. */
  19. EIDT_OSX,
  20. //! A device which uses Simple DirectMedia Layer
  21. /** The SDL device works under all platforms supported by SDL but first must be compiled
  22. in by setting the USE_SDL2 CMake option to ON */
  23. EIDT_SDL,
  24. //! This selection allows Irrlicht to choose the best device from the ones available.
  25. /** If this selection is chosen then Irrlicht will try to use the IrrlichtDevice native
  26. to your operating system. If this is unavailable then the X11, SDL and then console device
  27. will be tried. This ensures that Irrlicht will run even if your platform is unsupported,
  28. although it may not be able to render anything. */
  29. EIDT_BEST,
  30. //! A device for Android platforms
  31. /** Best used with embedded devices and mobile systems.
  32. Does not need X11 or other graphical subsystems.
  33. May support hw-acceleration via OpenGL-ES */
  34. EIDT_ANDROID,
  35. };
  36. } // end namespace irr