Structures
VkAccelerationStructureBuildSizesInfoKHR
Structure specifying build sizes for an acceleration structure
The VkAccelerationStructureBuildSizesInfoKHR structure describes the
required build sizes for an acceleration structure and scratch buffers and
is defined as:
typedef struct VkAccelerationStructureBuildSizesInfoKHR {
VkStructureType sType;
void* pNext;
VkDeviceSize accelerationStructureSize;
VkDeviceSize updateScratchSize;
VkDeviceSize buildScratchSize;
} VkAccelerationStructureBuildSizesInfoKHR;
pub struct AccelerationStructureBuildSizesInfoKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
acceleration_structure_size: vk::DeviceSize,
update_scratch_size: vk::DeviceSize,
build_scratch_size: vk::DeviceSize,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.accelerationStructureSizeis the size in bytes required in a VkAccelerationStructureKHR for a build or update operation.updateScratchSizeis the size in bytes required in a scratch buffer for an update operation.buildScratchSizeis the size in bytes required in a scratch buffer for a build operation.
Valid Usage (Implicit)
VUID-VkAccelerationStructureBuildSizesInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR
VUID-VkAccelerationStructureBuildSizesInfoKHR-pNext-pNext
pNext must be NULL
Type
Structures