r.Nanite.MaterialSortMode
r.Nanite.MaterialSortMode
#Overview
name: r.Nanite.MaterialSortMode
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Method of sorting Nanite material draws. 0=disabled, 1=shader, 2=sortkey, 3=refcount
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/NaniteDrawList.cpp:11
Scope: file
Source code excerpt:
int32 GNaniteMaterialSortMode = 4;
static FAutoConsoleVariableRef CVarNaniteMaterialSortMode(
TEXT("r.Nanite.MaterialSortMode"),
GNaniteMaterialSortMode,
TEXT("Method of sorting Nanite material draws. 0=disabled, 1=shader, 2=sortkey, 3=refcount"),
ECVF_RenderThreadSafe
);
int32 GNaniteAllowWPODistanceDisable = 1;