C Specification
If the descriptorType
member of VkWriteDescriptorSet is
VK_DESCRIPTOR_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_NV
, then the
data to write to the descriptor set is specified through a
VkWriteDescriptorSetPartitionedAccelerationStructureNV
structure
included in the pNext
chain of VkWriteDescriptorSet
.
The VkWriteDescriptorSetPartitionedAccelerationStructureNV
structure
is defined as:
// Provided by VK_NV_partitioned_acceleration_structure
typedef struct VkWriteDescriptorSetPartitionedAccelerationStructureNV {
VkStructureType sType;
void* pNext;
uint32_t accelerationStructureCount;
const VkDeviceAddress* pAccelerationStructures;
} VkWriteDescriptorSetPartitionedAccelerationStructureNV;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
accelerationStructureCount
is the number of elements inpAccelerationStructures
. -
pAccelerationStructures
is a pointer to an array ofaccelerationStructureCount
device addresses pointing to previously built PTLAS.
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.