Structures
VkPhysicalDeviceOpacityMicromapPropertiesKHR
Structure describing the opacity micromap properties of a physical device
The VkPhysicalDeviceOpacityMicromapPropertiesKHR structure is defined
as:
typedef struct VkPhysicalDeviceOpacityMicromapPropertiesKHR {
VkStructureType sType;
void* pNext;
uint32_t maxOpacity2StateSubdivisionLevel;
uint32_t maxOpacity4StateSubdivisionLevel;
uint32_t maxOpacityLossy4StateSubdivisionLevel;
uint64_t maxMicromapTriangles;
} VkPhysicalDeviceOpacityMicromapPropertiesKHR;
pub struct PhysicalDeviceOpacityMicromapPropertiesKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
max_opacity2_state_subdivision_level: u32,
max_opacity4_state_subdivision_level: u32,
max_opacity_lossy4_state_subdivision_level: u32,
max_micromap_triangles: u64,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.maxOpacity2StateSubdivisionLevelis the maximum allowedsubdivisionLevelwhenformatisVK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR.maxOpacity4StateSubdivisionLevelis the maximum allowedsubdivisionLevelwhenformatisVK_OPACITY_MICROMAP_FORMAT_4_STATE_KHRand the micromap is not built withVK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR.maxOpacityLossy4StateSubdivisionLevelis the maximum allowedsubdivisionLevelwhenformatisVK_OPACITY_MICROMAP_FORMAT_4_STATE_KHRand the micromap is built withVK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR.maxMicromapTriangleslimits the number of triangles allowed to be specified when building a micromap
If the VkPhysicalDeviceOpacityMicromapPropertiesKHR structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceOpacityMicromapPropertiesKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_KHR