r.ShaderCodeLibrary.MaxShaderPreloadWaitTime
r.ShaderCodeLibrary.MaxShaderPreloadWaitTime
#Overview
name: r.ShaderCodeLibrary.MaxShaderPreloadWaitTime
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
If we wait on shader preloads longer than this amount of seconds, we will log it as a warning.
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:69
Scope: file
Source code excerpt:
float GShaderCodeLibraryMaxShaderPreloadWaitTime = 0.001f;
static FAutoConsoleVariableRef CVarShaderCodeLibraryMaxShaderPreloadWaitTime(
TEXT("r.ShaderCodeLibrary.MaxShaderPreloadWaitTime"),
GShaderCodeLibraryMaxShaderPreloadWaitTime,
TEXT("If we wait on shader preloads longer than this amount of seconds, we will log it as a warning."),
ECVF_RenderThreadSafe | ECVF_ReadOnly
);
#if RHI_RAYTRACING // this function is only needed to check if we need to avoid excluding raytracing shaders