Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ShadowMapManager::InitInfo Struct Reference

Shadow map manager initialization info. More...

#include <ShadowMapManager.hpp>

Public Attributes

TEXTURE_FORMAT Format = TEX_FORMAT_UNKNOWN
 Shadow map format. This parameter must not be Diligent::TEX_FORMAT_UNKNOWN.
 
Uint32 Resolution = 0
 Shadow map resolution, must not be 0.
 
Uint32 NumCascades = 0
 Number of shadow cascades, must not be 0.
 
int ShadowMode = 0
 Shadow mode (see SHADOW_MODE_* defines in BasicStructures.fxh), must not be 0.
 
bool Is32BitFilterableFmt = false
 Whether to use 32-bit or 16-bit filterable textures.
 
ISamplerpComparisonSampler = nullptr
 Optional comparison sampler to be set in the shadow map resource view.
 
ISamplerpFilterableShadowMapSampler = nullptr
 Optional sampler to be set in the filterable shadow map representation.
 

Detailed Description

Shadow map manager initialization info.