C Specification
The VkBuildPartitionedAccelerationStructureInfoNV structure is defined as:
// Provided by VK_NV_partitioned_acceleration_structure
typedef struct VkBuildPartitionedAccelerationStructureInfoNV {
VkStructureType sType;
void* pNext;
VkPartitionedAccelerationStructureInstancesInputNV input;
VkDeviceAddress srcAccelerationStructureData;
VkDeviceAddress dstAccelerationStructureData;
VkDeviceAddress scratchData;
VkDeviceAddress srcInfos;
VkDeviceAddress srcInfosCount;
} VkBuildPartitionedAccelerationStructureInfoNV;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
inputis a VkPartitionedAccelerationStructureInstancesInputNV structure describing the instance and partition count information in the PTLAS. -
srcAccelerationStructureDataisNULLor an address of a previously built PTLAS. If non-NULL, the PTLAS stored at this address is used as a basis to create new PTLAS. -
dstAccelerationStructureDatais the address to store the built PTLAS. -
scratchDatais the device address of scratch memory that will be used during PTLAS build. -
srcInfosis the device address of an array of VkBuildPartitionedAccelerationStructureIndirectCommandNV structures describing the type of operation to perform. -
srcInfosCountis a device address containing the size ofsrcInfosarray.
Description
Members srcAccelerationStructureData and
dstAccelerationStructureData may be the same or different.
If they are the same, the update happens in-place.
Otherwise, the destination acceleration structure is updated and the source
is not modified.
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.