Structures

VkMicromapTriangleKHR

Structure specifying the micromap format and data for a triangle

The VkMicromapTriangleKHR structure is defined as:

typedef struct VkMicromapTriangleKHR {
    uint32_t dataOffset;
    uint16_t subdivisionLevel;
    uint16_t format;
} VkMicromapTriangleKHR;
typedef VkMicromapTriangleKHR VkMicromapTriangleEXT;
  • dataOffset is the offset in bytes of the start of the data for this triangle. This is a byte aligned value.
  • subdivisionLevel is the subdivision level of this triangle
  • format is the format of this triangle

The format is interpreted based on the type of the micromap using it.