C Specification
If a VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX
structure is included in the pNext chain of a
VkAccelerationStructureGeometryKHR structure whose geometryType
member is VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX, then
that structure defines triangle geometry using compressed data.
The VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX
structure is defined as:
// Provided by VK_AMDX_dense_geometry_format
typedef struct VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX {
VkStructureType sType;
const void* pNext;
VkDeviceOrHostAddressConstKHR compressedData;
VkDeviceSize dataSize;
uint32_t numTriangles;
uint32_t numVertices;
uint32_t maxPrimitiveIndex;
uint32_t maxGeometryIndex;
VkCompressedTriangleFormatAMDX format;
} VkAccelerationStructureDenseGeometryFormatTrianglesDataAMDX;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
compressedDataspecifies the base address of the compressed data. -
dataSizespecifies the size of the compressed data. -
numTrianglesspecifies the total number of triangles encoded in the compressed data. -
numVerticesspecifies the number of vertices in the compressed data. -
maxPrimitiveIndexspecifies the maximum primitive index encoded in the compressed data. -
maxGeometryIndexspecifies the maximum geometry index encoded in the compressed data. -
formatspecifies the VkCompressedTriangleFormatAMDX format of the compressed data.
Description
If format is VK_COMPRESSED_TRIANGLE_FORMAT_DGF1_AMDX,
numVertices specifies the sum of vertex counts across all blocks.
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.