r.Material.CullIntermediateUniformExpressions
r.Material.CullIntermediateUniformExpressions
#Overview
name: r.Material.CullIntermediateUniformExpressions
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Enables culling of intermediate uniform expressions, reducing preshader count, saving 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/Engine/Private/Materials/HLSLMaterialTranslator.cpp:192
Scope: file
Source code excerpt:
static bool GCullIntermediateUniformExpressions = true;
static FAutoConsoleVariableRef CVarCullIntermediateUniformExpressions(
TEXT("r.Material.CullIntermediateUniformExpressions"),
GCullIntermediateUniformExpressions,
TEXT("Enables culling of intermediate uniform expressions, reducing preshader count, saving performance"));
static int32 GPreshaderGapInterval = 32;
static FAutoConsoleVariableRef CVarPreshaderGapInterval(
TEXT("r.Material.PreshaderGapInterval"),