VkPartitionedAccelerationStructureUpdateInstanceDataNV(3)
Name
VkPartitionedAccelerationStructureUpdateInstanceDataNV - Structure describing instance data to update in PTLAS
C Specification
The VkPartitionedAccelerationStructureUpdateInstanceDataNV structure is defined as:
// Provided by VK_NV_partitioned_acceleration_structure
typedef struct VkPartitionedAccelerationStructureUpdateInstanceDataNV {
uint32_t instanceIndex;
uint32_t instanceContributionToHitGroupIndex;
VkDeviceAddress accelerationStructure;
} VkPartitionedAccelerationStructureUpdateInstanceDataNV;
Members
-
instanceIndexis the index of the instance being updated. -
instanceContributionToHitGroupIndexis a 24-bit per instance value added in the indexing into the shader binding table to fetch the hit group to use. -
accelerationStructureis the device address of the bottom level acceleration structure or a clustered bottom level acceleration structure whose instance is being updated. The instance is disabled if the device address is0.
Description
If the instance was originally disabled by specifying a 0 in
VkPartitionedAccelerationStructureWriteInstanceDataNV::accelerationStructure,
it can not be updated to a new acceleration structure as the instance may
have been permanently disabled by the implementation.
To avoid a refit, the new acceleration structure must be within the
bounding box specified by
VkPartitionedAccelerationStructureWriteInstanceDataNV::explicitAABB
when the instance was first created.
See Also
VK_NV_partitioned_acceleration_structure, VkDeviceAddress
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.