r.D3D12.RayTracing.SpecializeStateObjects
r.D3D12.RayTracing.SpecializeStateObjects is a console variable in Unreal Engine 5 (UE5). See what r.D3D12.RayTracing.SpecializeStateObjects does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Whether to create specialized unique ray tracing pipeline state objects for each ray generation shader. (default = 0) This option can produce more more efficient PSOs for the GPU at the cost of longer creation times and more memory. Requires DXR 1.1.
Usage
Unreal console (open with ~)
> r.D3D12.RayTracing.SpecializeStateObjects 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.D3D12.RayTracing.AllowCompactionVarr.D3D12.RayTracing.AllowSpecializedStateObjectsVarr.D3D12.RayTracing.CacheShaderRecordsVarr.D3D12.RayTracing.DebugForceBuildModeVarr.D3D12.RayTracing.DeduplicateSamplersVarr.D3D12.RayTracing.MaxBatchedCompactionVarr.D3D12.RayTracing.ViewDescriptorHeapSizeVarr.D3D12.UseAllowTearingVarr.D3D12.UseInternalTransitionsVarr.D3D12.ValidateInternalTransitionsVarr.DBufferVarr.DebugActionZone.ActionRatioVar