EDriverTypes.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #include "irrTypes.h"
  6. namespace irr
  7. {
  8. namespace video
  9. {
  10. //! An enum for all types of drivers the Irrlicht Engine supports.
  11. enum E_DRIVER_TYPE
  12. {
  13. //! Null driver, useful for applications to run the engine without visualization.
  14. /** The null device is able to load textures, but does not
  15. render and display any graphics. */
  16. EDT_NULL,
  17. //! OpenGL device, available on most platforms.
  18. /** Performs hardware accelerated rendering of 3D and 2D
  19. primitives. */
  20. EDT_OPENGL,
  21. //! OpenGL-ES 1.x driver, for embedded and mobile systems
  22. EDT_OGLES1,
  23. //! OpenGL-ES 2.x driver, for embedded and mobile systems
  24. /** Supports shaders etc. */
  25. EDT_OGLES2,
  26. //! WebGL1 friendly subset of OpenGL-ES 2.x driver for Emscripten
  27. EDT_WEBGL1,
  28. EDT_OPENGL3,
  29. //! No driver, just for counting the elements
  30. EDT_COUNT
  31. };
  32. } // end namespace video
  33. } // end namespace irr