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;
pub struct MicromapTriangleKHR {
data_offset: u32, // Specified in bytes
subdivision_level: u16,
format: u16,
}
typedef VkMicromapTriangleKHR VkMicromapTriangleEXT;
type MicromapTriangleEXT = vk::MicromapTriangleKHR;
dataOffsetis the offset in bytes of the start of the data for this triangle. This is a byte aligned value.subdivisionLevelis the subdivision level of this triangleformatis the format of this triangle
The format is interpreted based on the type of the micromap
using it.
Parent
VK_KHR_opacity_micromapType
Structures