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

46 lines
1.1 KiB
C++
Raw Normal View History

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
// child of Scene
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-11-10 16:19:51 +00:00
Mask_Water = (1<<6), // choose Water or SimpleWater depending on detail required
Mask_SimpleWater = (1<<7),
Mask_Terrain = (1<<8),
Mask_FirstPerson = (1<<9),
// child of Sky
2015-11-10 16:19:51 +00:00
Mask_Sun = (1<<10),
Mask_WeatherParticles = (1<<11),
// child of Water
// top level masks
Mask_Scene = (1<<12),
Mask_GUI = (1<<13),
2015-05-26 14:40:44 +00:00
// Set on a Geode
Mask_ParticleSystem = (1<<14),
2015-05-26 14:40:44 +00:00
// Set on cameras within the main scene graph
2015-11-10 16:19:51 +00:00
Mask_RenderToTexture = (1<<15),
2015-05-26 14:40:44 +00:00
2015-11-10 16:19:51 +00:00
// Set on a camera's cull mask to enable the LightManager
Mask_Lighting = (1<<16)
2015-04-18 23:57:52 +00:00
};
}
#endif