OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vismask.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_MWRENDER_VISMASK_H
2 #define OPENMW_MWRENDER_VISMASK_H
3 
4 namespace MWRender
5 {
6 
22  enum VisMask
23  {
24  Mask_UpdateVisitor = 0x1, // reserved for separating UpdateVisitors from CullVisitors
25 
26  // child of Scene
27  Mask_Effect = (1<<1),
28  Mask_Debug = (1<<2),
29  Mask_Actor = (1<<3),
30  Mask_Player = (1<<4),
31  Mask_Sky = (1<<5),
32  Mask_Water = (1<<6), // choose Water or SimpleWater depending on detail required
33  Mask_SimpleWater = (1<<7),
34  Mask_Terrain = (1<<8),
35  Mask_FirstPerson = (1<<9),
36 
37  // child of Sky
38  Mask_Sun = (1<<10),
40 
41  // top level masks
42  Mask_Scene = (1<<12),
43  Mask_GUI = (1<<13),
44 
45  // Set on a ParticleSystem Drawable
47 
48  // Set on cameras within the main scene graph
50 
51  // Set on a camera's cull mask to enable the LightManager
52  Mask_Lighting = (1<<16)
53  };
54 
55 }
56 
57 #endif
Definition: vismask.hpp:24
Definition: vismask.hpp:29
Definition: vismask.hpp:43
Definition: vismask.hpp:28
Definition: vismask.hpp:38
Definition: vismask.hpp:32
Definition: vismask.hpp:33
Definition: vismask.hpp:39
VisMask
Definition: vismask.hpp:22
Definition: vismask.hpp:34
Definition: vismask.hpp:46
Definition: vismask.hpp:30
Definition: vismask.hpp:27
Definition: vismask.hpp:52
Definition: vismask.hpp:35
Definition: vismask.hpp:49
Definition: vismask.hpp:31
Definition: vismask.hpp:42