r.Nanite.MaterialBuffers.Defrag.Force
r.Nanite.MaterialBuffers.Defrag.Force
#Overview
name: r.Nanite.MaterialBuffers.Defrag.Force
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
0: Do not force a full defrag.\n1: Force one full defrag on the next update.\n2: Force a full defrag every frame.
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/Nanite/NaniteMaterialsSceneExtension.cpp:44
Scope: file
Source code excerpt:
static int32 GNaniteMaterialBufferForceDefrag = 0;
static FAutoConsoleVariableRef CVarNaniteMaterialBufferDefragForce(
TEXT("r.Nanite.MaterialBuffers.Defrag.Force"),
GNaniteMaterialBufferForceDefrag,
TEXT("0: Do not force a full defrag.\n")
TEXT("1: Force one full defrag on the next update.\n")
TEXT("2: Force a full defrag every frame."),
ECVF_RenderThreadSafe
);