niagara.ShowShaderCompilerWarnings
niagara.ShowShaderCompilerWarnings
#Overview
name: niagara.ShowShaderCompilerWarnings
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
When set to 1, will display all warnings from Niagara shader compiles.
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/Plugins/FX/Niagara/Source/NiagaraShader/Private/NiagaraShaderCompilationManager.cpp:14
Scope: file
Source code excerpt:
static int32 GShowNiagaraShaderWarnings = 0;
static FAutoConsoleVariableRef CVarShowNiagaraShaderWarnings(
TEXT("niagara.ShowShaderCompilerWarnings"),
GShowNiagaraShaderWarnings,
TEXT("When set to 1, will display all warnings from Niagara shader compiles.")
);
#if WITH_EDITOR
#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraScript.cpp:3129
Scope (from outer to inner):
file
function void UNiagaraScript::ProcessCompilationErrors
Source code excerpt:
}
static const IConsoleVariable* ShowShaderWarningsVariable = IConsoleManager::Get().FindConsoleVariable(TEXT("niagara.ShowShaderCompilerWarnings"));
if (!bCompileSucceeded || (ShowShaderWarningsVariable && ShowShaderWarningsVariable->GetBool()))
{
UE_LOG(LogNiagara, Display, TEXT("There were issues for compilation of script \"%s\""), *GetFriendlyName());
if (!LogNiagara.IsSuppressed(ELogVerbosity::Verbose))