C Specification
The VkPhysicalDeviceOpacityMicromapPropertiesKHR structure is defined
as:
// Provided by VK_KHR_opacity_micromap
typedef struct VkPhysicalDeviceOpacityMicromapPropertiesKHR {
VkStructureType sType;
void* pNext;
uint32_t maxOpacity2StateSubdivisionLevel;
uint32_t maxOpacity4StateSubdivisionLevel;
uint32_t maxOpacityLossy4StateSubdivisionLevel;
uint64_t maxMicromapTriangles;
} VkPhysicalDeviceOpacityMicromapPropertiesKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
maxOpacity2StateSubdivisionLevelis the maximum allowedsubdivisionLevelwhenformatis VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR. -
maxOpacity4StateSubdivisionLevelis the maximum allowedsubdivisionLevelwhenformatis VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR and the micromap is not built with VK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR. -
maxOpacityLossy4StateSubdivisionLevelis the maximum allowedsubdivisionLevelwhenformatis VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR and the micromap is built with VK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR. -
maxMicromapTriangleslimits the number of triangles allowed to be specified when building a micromap
Description
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.
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.