![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
All the information needed for a single light's shadowmap. More...
#include <ShadowMap.h>
Classes | |
struct | ShadowLayerData |
Static Public Attributes | |
static constexpr U8 | MAX_SHADOW_FRAME_LIFETIME = 32u |
static constexpr U8 | WORLD_AO_LAYER_INDEX = (Config::Lighting::MAX_SHADOW_CASTING_DIRECTIONAL_LIGHTS * Config::Lighting::MAX_CSM_SPLITS_PER_LIGHT) |
Protected Types | |
using | LayerLifetimeMask = vector< ShadowLayerData > |
using | ShadowCameraPool = vector< Camera * > |
Static Protected Member Functions | |
static bool | commitLayerRange (Light &light) |
static bool | freeShadowMapOffsetLocked (const Light &light) |
Static Protected Attributes | |
static Mutex | s_shadowMapUsageLock |
static std::array< LayerLifetimeMask, to_base(ShadowType::COUNT)> | s_shadowMapLifetime |
static vector< std::unique_ptr< ShadowMapGenerator > > | s_shadowMapGenerators |
static std::array< RenderTargetHandle, to_base(ShadowType::COUNT)> | s_shadowMaps |
static std::array< RenderTargetHandle, to_base(ShadowType::COUNT)> | s_shadowMapCaches |
static vector< DebugView_ptr > | s_debugViews |
static Light * | s_shadowPreviewLight = nullptr |
static std::array< U16, to_base(ShadowType::COUNT)> | s_shadowPassIndex |
static std::array< ShadowCameraPool, to_base(ShadowType::COUNT)> | s_shadowCameras |
All the information needed for a single light's shadowmap.
Definition at line 88 of file ShadowMap.h.
|
protected |
Definition at line 135 of file ShadowMap.h.
|
protected |
Definition at line 145 of file ShadowMap.h.
|
static |
Definition at line 305 of file ShadowMap.cpp.
|
staticprotected |
Definition at line 356 of file ShadowMap.cpp.
|
static |
Definition at line 239 of file ShadowMap.cpp.
|
static |
Definition at line 329 of file ShadowMap.cpp.
|
staticprotected |
Definition at line 335 of file ShadowMap.cpp.
|
static |
Definition at line 468 of file ShadowMap.cpp.
|
static |
Definition at line 490 of file ShadowMap.cpp.
Definition at line 442 of file ShadowMap.cpp.
|
staticnoexcept |
Definition at line 60 of file ShadowMap.cpp.
|
static |
Definition at line 495 of file ShadowMap.cpp.
|
static |
Definition at line 504 of file ShadowMap.cpp.
|
static |
Definition at line 500 of file ShadowMap.cpp.
|
static |
Definition at line 509 of file ShadowMap.cpp.
|
staticnoexcept |
Definition at line 47 of file ShadowMap.cpp.
|
static |
Definition at line 73 of file ShadowMap.cpp.
|
static |
Definition at line 455 of file ShadowMap.cpp.
|
static |
Definition at line 273 of file ShadowMap.cpp.
|
static |
Definition at line 286 of file ShadowMap.cpp.
Definition at line 522 of file ShadowMap.cpp.
|
static |
Definition at line 514 of file ShadowMap.cpp.
|
inlinestaticnoexcept |
Definition at line 122 of file ShadowMap.h.
|
staticconstexpr |
Definition at line 90 of file ShadowMap.h.
|
staticprotected |
Definition at line 142 of file ShadowMap.h.
|
staticprotected |
Definition at line 147 of file ShadowMap.h.
|
staticprotected |
Definition at line 141 of file ShadowMap.h.
|
staticprotected |
Definition at line 138 of file ShadowMap.h.
|
staticprotected |
Definition at line 137 of file ShadowMap.h.
|
staticprotected |
Definition at line 140 of file ShadowMap.h.
|
staticprotected |
Definition at line 136 of file ShadowMap.h.
|
staticprotected |
Definition at line 146 of file ShadowMap.h.
|
staticprotected |
Definition at line 144 of file ShadowMap.h.
|
staticconstexpr |
Definition at line 91 of file ShadowMap.h.