r.Shadow.Virtual.Cache.ForceInvalidateDirectional
r.Shadow.Virtual.Cache.ForceInvalidateDirectional
#Overview
name: r.Shadow.Virtual.Cache.ForceInvalidateDirectional
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Forces the clipmap to always invalidate, useful to emulate a moving sun to avoid misrepresenting cache performance.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/VirtualShadowMaps/VirtualShadowMapCacheManager.cpp:64
Scope: file
Source code excerpt:
int32 GForceInvalidateDirectionalVSM = 0;
static FAutoConsoleVariableRef CVarForceInvalidateDirectionalVSM(
TEXT("r.Shadow.Virtual.Cache.ForceInvalidateDirectional"),
GForceInvalidateDirectionalVSM,
TEXT("Forces the clipmap to always invalidate, useful to emulate a moving sun to avoid misrepresenting cache performance."),
ECVF_RenderThreadSafe);
// We give a little leeway here as occasionally the scene frame number is incremented multiple times between frames
int32 GVSMMaxPageAgeSinceLastRequest = 3;