r.D3D12.RayTracing.AllowCompaction
r.D3D12.RayTracing.AllowCompaction
#Overview
name: r.D3D12.RayTracing.AllowCompaction
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Whether to automatically perform compaction for static acceleration structures to save GPU memory. (default = 1)\n
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/D3D12RHI/Private/D3D12RayTracing.cpp:46
Scope: file
Source code excerpt:
static int32 GD3D12RayTracingAllowCompaction = 1;
static FAutoConsoleVariableRef CVarD3D12RayTracingAllowCompaction(
TEXT("r.D3D12.RayTracing.AllowCompaction"),
GD3D12RayTracingAllowCompaction,
TEXT("Whether to automatically perform compaction for static acceleration structures to save GPU memory. (default = 1)\n"),
ECVF_ReadOnly
);
static int32 GD3D12RayTracingMaxBatchedCompaction = 64;