r.ShaderCompiler.MaxJobCacheMemoryMB
r.ShaderCompiler.MaxJobCacheMemoryMB
#Overview
name: r.ShaderCompiler.MaxJobCacheMemoryMB
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
if != 0, shader compiler cache will be limited to this many megabytes (16GB by default). If 0, the usage will be unlimited. Minimum of this or r.ShaderCompiler.MaxJobCacheMemoryPercent applies.
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:112
Scope: file
Source code excerpt:
int32 GShaderCompilerMaxJobCacheMemoryMB = 16LL * 1024LL;
static FAutoConsoleVariableRef CVarShaderCompilerMaxJobCacheMemoryMB(
TEXT("r.ShaderCompiler.MaxJobCacheMemoryMB"),
GShaderCompilerMaxJobCacheMemoryMB,
TEXT("if != 0, shader compiler cache will be limited to this many megabytes (16GB by default). If 0, the usage will be unlimited. Minimum of this or r.ShaderCompiler.MaxJobCacheMemoryPercent applies."),
ECVF_Default
);
int32 GShaderCompilerMaxJobCacheMemoryPercent = 5;