UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCachedShadowMapData Class Reference

#include <ScenePrivate.h>

Public Member Functions

void InvalidateCachedShadow ()
 
 FCachedShadowMapData (const FWholeSceneProjectedShadowInitializer &InInitializer, float InLastUsedTime)
 

Public Attributes

FWholeSceneProjectedShadowInitializer Initializer
 
FShadowMapRenderTargetsRefCounted ShadowMap
 
float LastUsedTime
 
bool bCachedShadowMapHasPrimitives
 
bool bCachedShadowMapHasNaniteGeometry
 
TBitArray StaticShadowSubjectPersistentPrimitiveIdMap
 
FIntPoint ShadowBufferResolution
 
FVector PreShadowTranslation
 
float MaxSubjectZ
 
float MinSubjectZ
 
int32 LastFrameExtraStaticShadowSubjects
 

Constructor & Destructor Documentation

◆ FCachedShadowMapData()

FCachedShadowMapData::FCachedShadowMapData ( const FWholeSceneProjectedShadowInitializer InInitializer,
float  InLastUsedTime 
)
inline

Member Function Documentation

◆ InvalidateCachedShadow()

void FCachedShadowMapData::InvalidateCachedShadow ( )
inline

Member Data Documentation

◆ bCachedShadowMapHasNaniteGeometry

bool FCachedShadowMapData::bCachedShadowMapHasNaniteGeometry

◆ bCachedShadowMapHasPrimitives

bool FCachedShadowMapData::bCachedShadowMapHasPrimitives

◆ Initializer

FWholeSceneProjectedShadowInitializer FCachedShadowMapData::Initializer

◆ LastFrameExtraStaticShadowSubjects

int32 FCachedShadowMapData::LastFrameExtraStaticShadowSubjects

The extra static meshes cast shadow in last frame, if it exceeds the r.Shadow.MaxCSMScrollingStaticShadowSubjects, the cached csm should be rebuilt.

◆ LastUsedTime

float FCachedShadowMapData::LastUsedTime

◆ MaxSubjectZ

float FCachedShadowMapData::MaxSubjectZ

◆ MinSubjectZ

float FCachedShadowMapData::MinSubjectZ

◆ PreShadowTranslation

FVector FCachedShadowMapData::PreShadowTranslation

◆ ShadowBufferResolution

FIntPoint FCachedShadowMapData::ShadowBufferResolution

◆ ShadowMap

FShadowMapRenderTargetsRefCounted FCachedShadowMapData::ShadowMap

◆ StaticShadowSubjectPersistentPrimitiveIdMap

TBitArray FCachedShadowMapData::StaticShadowSubjectPersistentPrimitiveIdMap

The static meshes cast shadow on this cached csm


The documentation for this class was generated from the following file: