C Specification
The VkAccelerationStructureGeometryTrianglesDataKHR structure is
defined as:
// Provided by VK_KHR_acceleration_structure
typedef struct VkAccelerationStructureGeometryTrianglesDataKHR {
    VkStructureType                  sType;
    const void*                      pNext;
    VkFormat                         vertexFormat;
    VkDeviceOrHostAddressConstKHR    vertexData;
    VkDeviceSize                     vertexStride;
    uint32_t                         maxVertex;
    VkIndexType                      indexType;
    VkDeviceOrHostAddressConstKHR    indexData;
    VkDeviceOrHostAddressConstKHR    transformData;
} VkAccelerationStructureGeometryTrianglesDataKHR;Members
- 
sTypeis a VkStructureType value identifying this structure.
- 
pNextisNULLor a pointer to a structure extending this structure.
- 
vertexFormatis the VkFormat of each vertex element.
- 
vertexDatais a device or host address to memory containing vertex data for this geometry.
- 
vertexStrideis the stride in bytes between each vertex.
- 
maxVertexis the number of vertices invertexDataminus one.
- 
indexTypeis the VkIndexType of each index element.
- 
indexDatais a device or host address to memory containing index data for this geometry.
- 
transformDatais a device or host address to memory containing an optional reference to a VkTransformMatrixKHR structure describing a transformation from the space in which the vertices in this geometry are described to the space in which the acceleration structure is defined.
Description
| Note | Unlike the stride for vertex buffers in
VkVertexInputBindingDescription for graphics pipelines which must not
exceed  | 
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.