r.D3D12.RayTracing.AllowCompaction
r.D3D12.RayTracing.AllowCompaction is a console variable in Unreal Engine 5 (UE5). See what r.D3D12.RayTracing.AllowCompaction does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Whether to automatically perform compaction for static acceleration structures to save GPU memory. (default = 1)
Usage
Unreal console (open with ~)
> r.D3D12.RayTracing.AllowCompaction 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.DXR.MinimumDriverVersionNVIDIAVarr.D3D12.DXR.MinimumWindowsBuildVersionVarr.D3D12.ExecuteCommandListTaskVarr.D3D12.ExperimentalShaderModelsVarr.D3D12.GPUTimeoutVarr.D3D12.NvAfterMathVarr.D3D12.RayTracing.AllowSpecializedStateObjectsVarr.D3D12.RayTracing.CacheShaderRecordsVarr.D3D12.RayTracing.DebugForceBuildModeVarr.D3D12.RayTracing.DeduplicateSamplersVarr.D3D12.RayTracing.MaxBatchedCompactionVarr.D3D12.RayTracing.SpecializeStateObjectsVar