UEConsole Commands
VariableConsole VariableRenderer

r.ShaderPipelineCache.LazyLoadShadersWhenPSOCacheIsPresent

r.ShaderPipelineCache.LazyLoadShadersWhenPSOCacheIsPresent is a console variable in Unreal Engine 5 (UE5). See what r.ShaderPipelineCache.LazyLoadShadersWhenPSOCacheIsPresent does, its values, and how to use this cvar in the Unreal console below.

Category: Renderer · Namespace: r

Help

Non-Zero: If we load a PSO cache, then lazy load from the shader code library. This assumes the PSO cache is more or less complete. This will only work on RHIs that support the library+Hash CreateShader API (GRHISupportsLazyShaderCodeLoading == true).

Usage

Unreal console (open with ~)
> r.ShaderPipelineCache.LazyLoadShadersWhenPSOCacheIsPresent 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in r