r.Nanite.MaterialVisibility
r.Nanite.MaterialVisibility
#Overview
name: r.Nanite.MaterialVisibility
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether to enable Nanite material visibility tests
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/NaniteVisibility.cpp:8
Scope: file
Source code excerpt:
static int32 GNaniteMaterialVisibility = 0;
static FAutoConsoleVariableRef CVarNaniteMaterialVisibility(
TEXT("r.Nanite.MaterialVisibility"),
GNaniteMaterialVisibility,
TEXT("Whether to enable Nanite material visibility tests"),
ECVF_ReadOnly
);
static int32 GNaniteMaterialVisibilityAsync = 1;