r.ForceAllCoresForShaderCompiling
r.ForceAllCoresForShaderCompiling
#Overview
name: r.ForceAllCoresForShaderCompiling
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
When set to 1, it will ignore INI settings and launch as many ShaderCompileWorker instances as cores are available.\nImproves shader throughput but for big projects it can make the machine run OOM
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/ShaderCompiler/ShaderCompiler.cpp:2139
Scope: file
Source code excerpt:
static int32 GForceAllCoresForShaderCompiling = 0;
static FAutoConsoleVariableRef CVarForceAllCoresForShaderCompiling(
TEXT("r.ForceAllCoresForShaderCompiling"),
GForceAllCoresForShaderCompiling,
TEXT("When set to 1, it will ignore INI settings and launch as many ShaderCompileWorker instances as cores are available.\n")
TEXT("Improves shader throughput but for big projects it can make the machine run OOM")
);
static TAutoConsoleVariable<int32> CVarShadersSymbols(