1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:49:56 +00:00
openmw-tes3mp/apps/openmw/mwrender/vismask.hpp
2015-05-26 16:40:44 +02:00

31 lines
697 B
C++

#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),
Mask_Sky = (1<<5),
// top level masks
Mask_Scene = (1<<6),
Mask_GUI = (1<<7),
// Set on cameras within the main scene graph
Mask_RenderToTexture = (1<<8)
// reserved: (1<<16) for SceneUtil::Mask_Lit
};
}
#endif