]> git.lizzy.rs Git - irrlicht.git/blob - include/EDriverTypes.h
040975739de17a1ee71981cd46227dd248f9e7a5
[irrlicht.git] / include / EDriverTypes.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __E_DRIVER_TYPES_H_INCLUDED__\r
6 #define __E_DRIVER_TYPES_H_INCLUDED__\r
7 \r
8 #include "irrTypes.h"\r
9 \r
10 namespace irr\r
11 {\r
12 namespace video\r
13 {\r
14 \r
15         //! An enum for all types of drivers the Irrlicht Engine supports.\r
16         enum E_DRIVER_TYPE\r
17         {\r
18                 //! Null driver, useful for applications to run the engine without visualization.\r
19                 /** The null device is able to load textures, but does not\r
20                 render and display any graphics. */\r
21                 EDT_NULL,\r
22 \r
23                 //! OpenGL device, available on most platforms.\r
24                 /** Performs hardware accelerated rendering of 3D and 2D\r
25                 primitives. */\r
26                 EDT_OPENGL,\r
27 \r
28                 //! OpenGL-ES 1.x driver, for embedded and mobile systems\r
29                 EDT_OGLES1,\r
30 \r
31                 //! OpenGL-ES 2.x driver, for embedded and mobile systems\r
32                 /** Supports shaders etc. */\r
33                 EDT_OGLES2,\r
34 \r
35                 //! WebGL1 friendly subset of OpenGL-ES 2.x driver for Emscripten\r
36                 EDT_WEBGL1,\r
37 \r
38                 EDT_OPENGL3,\r
39 \r
40                 //! No driver, just for counting the elements\r
41                 EDT_COUNT\r
42         };\r
43 \r
44 } // end namespace video\r
45 } // end namespace irr\r
46 \r
47 \r
48 #endif\r