niagara.CreateShadersOnLoad
niagara.CreateShadersOnLoad
#Overview
name: niagara.CreateShadersOnLoad
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether to create Niagara\'s simulation shaders on load, which can reduce hitching, but use more memory. Otherwise they will be created as needed.
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/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShader.cpp:29
Scope: file
Source code excerpt:
int32 GCreateNiagaraShadersOnLoad = 0;
static FAutoConsoleVariableRef CVarCreateNiagaraShadersOnLoad(
TEXT("niagara.CreateShadersOnLoad"),
GCreateNiagaraShadersOnLoad,
TEXT("Whether to create Niagara's simulation shaders on load, which can reduce hitching, but use more memory. Otherwise they will be created as needed.")
);
int32 GNiagaraSkipVectorVMBackendOptimizations = 1;
static FAutoConsoleVariableRef CVarNiagaraSkipVectorVMBackendOptimizations(