Structures
VkBuildPartitionedAccelerationStructureIndirectCommandNV
Structure describing PTLAS operation to perform
The VkBuildPartitionedAccelerationStructureIndirectCommandNV structure is defined as:
typedef struct VkBuildPartitionedAccelerationStructureIndirectCommandNV {
VkPartitionedAccelerationStructureOpTypeNV opType;
uint32_t argCount;
VkStridedDeviceAddressNV argData;
} VkBuildPartitionedAccelerationStructureIndirectCommandNV;
opType
is a VkPartitionedAccelerationStructureOpTypeNV describing the type of operation.argCount
the number of structures inargData
array.argData
is an array of VkStridedDeviceAddressNV structures containing the write or update data for instances and partitions in the PTLAS. The structure is dependent onopType
as shown in the table below.
Format of | |
VkPartitionedAccelerationStructureWriteInstanceDataNV | |
VkPartitionedAccelerationStructureUpdateInstanceDataNV | |
VkPartitionedAccelerationStructureWritePartitionTranslationDataNV |
Valid Usage
VUID-VkBuildPartitionedAccelerationStructureIndirectCommandNV-argData-10565
An instance index must not be referenced by more than one structure in
argData