r.MeshDrawCommands.AllowOnDemandShaderCreation
r.MeshDrawCommands.AllowOnDemandShaderCreation is a console variable in Unreal Engine 5 (UE5). See what r.MeshDrawCommands.AllowOnDemandShaderCreation does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
How to create RHI shaders: 0: Always create them on a Rendering Thread, before executing other MDC tasks. 1: If RHI supports multi-threaded shader creation, create them on demand on tasks threads, at the time of submitting the draws.
Usage
Unreal console (open with ~)
> r.MeshDrawCommands.AllowOnDemandShaderCreation 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.MeshCardRepresentation.DistanceTresholdZVarr.MeshCardRepresentation.GrowIterationsVarr.MeshCardRepresentation.MinDensityVarr.MeshCardRepresentation.NormalTresholdVarr.MeshCardRepresentation.ParallelBuildVarr.MeshCardRepresentation.SeedIterationsVarr.MeshDrawCommands.CacheMultithreadedVarr.MeshDrawCommands.DynamicInstancingVarr.MeshDrawCommands.LogDynamicInstancingStatsVarr.MeshDrawCommands.LogMeshDrawCommandMemoryStatsVarr.MeshDrawCommands.ParallelPassSetupVarr.MeshDrawCommands.UseCachedCommandsVar