Structures

VkPartitionedAccelerationStructureWritePartitionTranslationDataNV

Structure describing partition translation data to write in PTLAS

The VkPartitionedAccelerationStructureWritePartitionTranslationDataNV structure is defined as:

typedef struct VkPartitionedAccelerationStructureWritePartitionTranslationDataNV {
    uint32_t partitionIndex;
    float partitionTranslation[3];
} VkPartitionedAccelerationStructureWritePartitionTranslationDataNV;
  • partitionIndex is the index of partition to write. Global partition is referred to by VK_PARTITIONED_ACCELERATION_STRUCTURE_PARTITION_INDEX_GLOBAL_NV.
  • partitionTranslation sets the translation vector for this partition. When tracing this partition, the contained instances will behave as if the partition translation was added to the translation component of the instance transform. This translation vector is also added to the instances in the partition that had their bounding box specified.