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

Shadow map manager. More...

#include <ShadowMapManager.hpp>

Classes

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

Public Member Functions

void Initialize (IRenderDevice *pDevice, IRenderStateCache *pStateCache, const InitInfo &initInfo)
 Initializes the shadow map manager.
ITextureView * GetSRV ()
 Returns the shadow map SRV.
ITextureView * GetCascadeDSV (Uint32 Cascade)
 Returns the shadow map DSV for the specified cascade.
ITextureView * GetFilterableSRV ()
 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 CascadeTransforms & GetCascadeTransform (Uint32 Cascade) const
 Returns the cascade transforms for the specified cascade.

Detailed Description

Shadow map manager.