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:
rHelp
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 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.ShaderPipelineCache.BatchTimeVarr.ShaderPipelineCache.ClearOSCacheVarr.ShaderPipelineCache.CloseCmdr.ShaderPipelineCache.DoNotPrecompileComputePSOVarr.ShaderPipelineCache.EnabledVarr.ShaderPipelineCache.GameFileMaskEnabledVarr.ShaderPipelineCache.LogPSOVarr.ShaderPipelineCache.MaxPrecompileTimeVarr.ShaderPipelineCache.MinBindCountVarr.ShaderPipelineCache.OpenCmdr.ShaderPipelineCache.PrecompileBatchSizeVarr.ShaderPipelineCache.PrecompileBatchTimeVar