1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 12:35:46 +00:00
OpenMW/apps/openmw/mwrender/vismask.hpp

37 lines
824 B
C++
Raw Normal View History

2015-04-19 01:57:52 +02: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
// child of Scene
Mask_Effect = (1<<1),
Mask_Debug = (1<<2),
Mask_Actor = (1<<3),
Mask_Player = (1<<4),
2015-05-26 16:40:44 +02:00
Mask_Sky = (1<<5),
2015-06-02 16:35:35 +02:00
Mask_Water = (1<<6),
2015-06-03 01:18:36 +02:00
Mask_Terrain = (1<<7),
// top level masks
2015-06-03 01:18:36 +02:00
Mask_Scene = (1<<8),
Mask_GUI = (1<<9),
2015-05-26 16:40:44 +02:00
// Set on a Geode
Mask_ParticleSystem = (1<<10),
2015-05-26 16:40:44 +02:00
// Set on cameras within the main scene graph
Mask_RenderToTexture = (1<<11)
2015-05-26 16:40:44 +02:00
// reserved: (1<<16) for SceneUtil::Mask_Lit
2015-04-19 01:57:52 +02:00
};
}
#endif