r.Nanite.FastTileClear
r.Nanite.FastTileClear
#Overview
name: r.Nanite.FastTileClear
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether to enable Nanite fast tile clearing
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Renderer/Private/Nanite/NaniteShading.cpp:56
Scope: file
Source code excerpt:
static int32 GNaniteFastTileClear = 1;
static FAutoConsoleVariableRef CVarNaniteFastTileClear(
TEXT("r.Nanite.FastTileClear"),
GNaniteFastTileClear,
TEXT("Whether to enable Nanite fast tile clearing"),
ECVF_RenderThreadSafe
);
static int32 GNaniteFastTileClearSubTiles = 1;
#Loc: <Workspace>/Engine/Source/Runtime/RenderCore/Private/RenderUtils.cpp:1302
Scope (from outer to inner):
file
function bool UseNaniteFastTileClear
Source code excerpt:
bool UseNaniteFastTileClear()
{
static const IConsoleVariable* CVarNaniteFastTileClear = IConsoleManager::Get().FindConsoleVariable(TEXT("r.Nanite.FastTileClear"));
return NaniteComputeMaterialsSupported() && (CVarNaniteFastTileClear && CVarNaniteFastTileClear->GetInt() != 0);
}
bool NaniteTessellationSupported()
{
static const auto AllowTessellation = IConsoleManager::Get().FindTConsoleVariableDataInt(TEXT("r.Nanite.AllowTessellation"));