Structures
VkGeometryAABBNV
Structure specifying axis-aligned bounding box geometry in a bottom-level acceleration structure
The VkGeometryAABBNV structure specifies axis-aligned bounding box
geometry in a bottom-level acceleration structure, and is defined as:
typedef struct VkGeometryAABBNV {
VkStructureType sType;
const void* pNext;
VkBuffer aabbData;
uint32_t numAABBs;
uint32_t stride;
VkDeviceSize offset;
} VkGeometryAABBNV;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.aabbDatais the buffer containing axis-aligned bounding box data.numAABBsis the number of AABBs in this geometry.strideis the stride in bytes between AABBs inaabbData.offsetis the offset in bytes of the first AABB inaabbData.
The AABB data in memory is six 32-bit floats consisting of the minimum x, y, and z values followed by the maximum x, y, and z values.
Valid Usage
VUID-VkGeometryAABBNV-offset-02439
offset must be less than the size of aabbData
VUID-VkGeometryAABBNV-offset-02440
offset must be a multiple of 8
VUID-VkGeometryAABBNV-stride-02441
stride must be a multiple of 8
Valid Usage (Implicit)
VUID-VkGeometryAABBNV-sType-sType
sType must be VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV
VUID-VkGeometryAABBNV-pNext-pNext
pNext must be NULL
VUID-VkGeometryAABBNV-aabbData-parameter
If aabbData is not VK_NULL_HANDLE, aabbData must be a valid VkBuffer handle