RavEngine
Loading...
Searching...
No Matches
Layer.hpp
1#pragma once
2#include <limits>
3
4namespace RavEngine{
5 using renderlayer_t = uint32_t;
6 constexpr renderlayer_t ALL_LAYERS = std::numeric_limits<decltype(ALL_LAYERS)>::max();
7
8 using perobject_t = uint16_t;
9 constexpr perobject_t FrustumCullingBit = 1;
10 constexpr perobject_t OcclusionCullingBit = 1 << 1;
11 constexpr perobject_t CastsShadowsBit = 1 << 2;
12 constexpr perobject_t RecievesShadowsBit = 1 << 3;
13 constexpr perobject_t ALL_ATTRIBUTES = std::numeric_limits<decltype(ALL_ATTRIBUTES)>::max();
14
15
17 float ssaoStrength = 1;
18 bool SSAOEnabled = true;
19 bool SSGIEnabled = false;
20 };
21}
uint32 uint32_t
Definition fwd.hpp:131
uint16 uint16_t
Definition fwd.hpp:117
Definition Animation.hpp:6