EDriverTypes.h 946 B

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