2015-04-18 23:57:52 +00:00
|
|
|
#ifndef OPENMW_MWRENDER_VISMASK_H
|
|
|
|
#define OPENMW_MWRENDER_VISMASK_H
|
|
|
|
|
|
|
|
namespace MWRender
|
|
|
|
{
|
|
|
|
|
|
|
|
/// Node masks used for controlling visibility of game objects.
|
|
|
|
enum VisMask
|
|
|
|
{
|
|
|
|
Mask_UpdateVisitor = 0x1, // reserved for separating UpdateVisitors from CullVisitors
|
|
|
|
|
2015-04-30 21:21:25 +00:00
|
|
|
// child of Scene
|
2015-05-24 01:36:34 +00:00
|
|
|
Mask_Effect = (1<<1),
|
|
|
|
Mask_Debug = (1<<2),
|
|
|
|
Mask_Actor = (1<<3),
|
|
|
|
Mask_Player = (1<<4),
|
2015-05-26 14:40:44 +00:00
|
|
|
Mask_Sky = (1<<5),
|
2015-10-29 00:17:23 +00:00
|
|
|
Mask_Sun = (1<<6),
|
|
|
|
Mask_Water = (1<<7),
|
|
|
|
Mask_SimpleWater = (1<<8),
|
|
|
|
Mask_Terrain = (1<<9),
|
|
|
|
Mask_FirstPerson = (1<<10),
|
2015-04-30 21:21:25 +00:00
|
|
|
|
|
|
|
// top level masks
|
2015-10-29 00:17:23 +00:00
|
|
|
Mask_Scene = (1<<11),
|
|
|
|
Mask_GUI = (1<<12),
|
2015-05-26 14:40:44 +00:00
|
|
|
|
2015-06-17 13:13:41 +00:00
|
|
|
// Set on a Geode
|
2015-10-29 00:17:23 +00:00
|
|
|
Mask_ParticleSystem = (1<<13),
|
2015-06-17 13:13:41 +00:00
|
|
|
|
2015-05-26 14:40:44 +00:00
|
|
|
// Set on cameras within the main scene graph
|
2015-10-29 00:17:23 +00:00
|
|
|
Mask_RenderToTexture = (1<<14)
|
2015-05-26 14:40:44 +00:00
|
|
|
|
|
|
|
// reserved: (1<<16) for SceneUtil::Mask_Lit
|
2015-04-18 23:57:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|