C Specification
The VkAccelerationStructureGeometryTrianglesDataKHR structure is
defined as:
typedef struct VkAccelerationStructureGeometryTrianglesDataKHR {
    VkStructureType                  sType;
    const void*                      pNext;
    VkFormat                         vertexFormat;
    VkDeviceOrHostAddressConstKHR    vertexData;
    VkDeviceSize                     vertexStride;
    VkIndexType                      indexType;
    VkDeviceOrHostAddressConstKHR    indexData;
    VkDeviceOrHostAddressConstKHR    transformData;
} VkAccelerationStructureGeometryTrianglesDataKHR;Members
- 
sTypeis the type of this structure.
- 
pNextisNULLor a pointer to an extension-specific 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.
- 
indexTypeis the VkIndexType of each index element.
- 
indexDatais the 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 defining a transformation that should be applied to vertices in this geometry.
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.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.