r.ShaderCodeLibrary.VisualizeShaderUsage
r.ShaderCodeLibrary.VisualizeShaderUsage
#Overview
name: r.ShaderCodeLibrary.VisualizeShaderUsage
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
If 1, a bitmap with the used shaders (for each shader library chunk) will be saved at the exit. Works in standalone games only.
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/RenderCore/Private/ShaderCodeArchive.cpp:52
Scope: file
Source code excerpt:
int32 GShaderCodeLibraryVisualizeShaderUsage = 0;
static FAutoConsoleVariableRef CVarShaderCodeLibraryVisualizeShaderUsage(
TEXT("r.ShaderCodeLibrary.VisualizeShaderUsage"),
GShaderCodeLibraryVisualizeShaderUsage,
TEXT("If 1, a bitmap with the used shaders (for each shader library chunk) will be saved at the exit. Works in standalone games only."),
ECVF_RenderThreadSafe | ECVF_ReadOnly
);
int32 GShaderCodeLibraryMaxShaderGroupSize = 1024 * 1024; // decompressing 1MB of shaders takes about 0.1ms on PC (TR 3970x, Oodle Mermaid6).