]> git.lizzy.rs Git - irrlicht.git/blob - include/ECullingTypes.h
Support both OpenGL3 and GLES2 on SDL2
[irrlicht.git] / include / ECullingTypes.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_CULLING_TYPES_H_INCLUDED__\r
6 #define __E_CULLING_TYPES_H_INCLUDED__\r
7 \r
8 #include "irrTypes.h"\r
9 \r
10 namespace irr\r
11 {\r
12 namespace scene\r
13 {\r
14 \r
15         //! An enumeration for all types of automatic culling for built-in scene nodes\r
16         enum E_CULLING_TYPE\r
17         {\r
18                 EAC_OFF = 0,\r
19                 EAC_BOX = 1,\r
20                 EAC_FRUSTUM_BOX = 2,\r
21                 EAC_FRUSTUM_SPHERE = 4,\r
22                 EAC_OCC_QUERY = 8\r
23         };\r
24 \r
25         //! Names for culling type\r
26         const c8* const AutomaticCullingNames[] =\r
27         {\r
28                 "false",\r
29                 "box",                  // camera box against node box\r
30                 "frustum_box",          // camera frustum against node box\r
31                 "frustum_sphere",       // camera frustum against node sphere\r
32                 "occ_query",            // occlusion query\r
33                 0\r
34         };\r
35 \r
36 } // end namespace scene\r
37 } // end namespace irr\r
38 \r
39 \r
40 #endif // __E_CULLING_TYPES_H_INCLUDED__\r
41 \r