Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ShadowMapManager Class Reference

Shadow map manager. More...

#include <ShadowMapManager.hpp>

Classes

struct  CascadeTransforms
 Cascade transforms. More...
 
struct  DistributeCascadeInfo
 Shadow cascade distribution info. More...
 
struct  InitInfo
 Shadow map manager initialization info. More...
 

Public Member Functions

void Initialize (IRenderDevice *pDevice, IRenderStateCache *pStateCache, const InitInfo &initInfo)
 Initializes the shadow map manager.
 
ITextureViewGetSRV ()
 Returns the shadow map SRV.
 
ITextureViewGetCascadeDSV (Uint32 Cascade)
 Returns the shadow map DSV for the specified cascade.
 
ITextureViewGetFilterableSRV ()
 Returns the filterable shadow map SRV.
 
void DistributeCascades (const DistributeCascadeInfo &Info, ShadowMapAttribs &shadowMapAttribs)
 Distributes shadow cascades.
 
void ConvertToFilterable (IDeviceContext *pCtx, const ShadowMapAttribs &ShadowAttribs)
 Converts the shadow map to filterable format.
 
const CascadeTransformsGetCascadeTransform (Uint32 Cascade) const
 Returns the cascade transforms for the specified cascade.
 

Detailed Description

Shadow map manager.