EDriverTypes.h 969 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 2.x driver, for embedded and mobile systems
  22. /** Supports shaders etc. */
  23. EDT_OGLES2,
  24. //! WebGL1 friendly subset of OpenGL-ES 2.x driver for Emscripten
  25. EDT_WEBGL1,
  26. EDT_OPENGL3,
  27. //! No driver, just for counting the elements
  28. EDT_COUNT
  29. };
  30. } // end namespace video
  31. } // end namespace irr