VkMicromapTriangleKHR(3)

Name

VkMicromapTriangleKHR - Structure specifying the micromap format and data for a triangle

C Specification

The VkMicromapTriangleKHR structure is defined as:

// Provided by VK_KHR_opacity_micromap
typedef struct VkMicromapTriangleKHR {
    uint32_t    dataOffset;
    uint16_t    subdivisionLevel;
    uint16_t    format;
} VkMicromapTriangleKHR;
// Provided by VK_EXT_opacity_micromap
// Equivalent to VkMicromapTriangleKHR
typedef VkMicromapTriangleKHR VkMicromapTriangleEXT;

Members

  • 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

Description

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

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.