r.Vulkan.RayTracing.AllowCompaction
r.Vulkan.RayTracing.AllowCompaction
#Overview
name: r.Vulkan.RayTracing.AllowCompaction
The value of this variable can be defined or overridden in .ini config files. 1 .ini config file referencing this setting variable.
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
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseDeviceProfiles.ini:913, section: [Android_Vulkan_SM5 DeviceProfile]
- INI Section: 
Android_Vulkan_SM5 DeviceProfile - Raw value: 
0 - Is Array: 
False 
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/VulkanRHI/Private/VulkanRayTracing.cpp:14
Scope: file
Source code excerpt:
static int32 GVulkanRayTracingAllowCompaction = 1;
static FAutoConsoleVariableRef CVarVulkanRayTracingAllowCompaction(
	TEXT("r.Vulkan.RayTracing.AllowCompaction"),
	GVulkanRayTracingAllowCompaction,
	TEXT("Whether to automatically perform compaction for static acceleration structures to save GPU memory. (default = 1)\n"),
	ECVF_ReadOnly
);
static int32 GVulkanRayTracingMaxBatchedCompaction = 64;