UEConsole Commands
VariableConsole VariableRenderer

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: r

Help

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 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