aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/ECullingTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/ECullingTypes.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/ECullingTypes.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/ECullingTypes.h b/src/others/irrlicht-1.8.1/include/ECullingTypes.h
new file mode 100644
index 0000000..4a562a4
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/include/ECullingTypes.h
@@ -0,0 +1,41 @@
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
5#ifndef __E_CULLING_TYPES_H_INCLUDED__
6#define __E_CULLING_TYPES_H_INCLUDED__
7
8#include "irrTypes.h"
9
10namespace irr
11{
12namespace scene
13{
14
15 //! An enumeration for all types of automatic culling for built-in scene nodes
16 enum E_CULLING_TYPE
17 {
18 EAC_OFF = 0,
19 EAC_BOX = 1,
20 EAC_FRUSTUM_BOX = 2,
21 EAC_FRUSTUM_SPHERE = 4,
22 EAC_OCC_QUERY = 8
23 };
24
25 //! Names for culling type
26 const c8* const AutomaticCullingNames[] =
27 {
28 "false",
29 "box", // camera box against node box
30 "frustum_box", // camera frustum against node box
31 "frustum_sphere", // camera frustum against node sphere
32 "occ_query", // occlusion query
33 0
34 };
35
36} // end namespace scene
37} // end namespace irr
38
39
40#endif // __E_CULLING_TYPES_H_INCLUDED__
41