C Specification
To check if a serialized micromap is compatible with the current device call:
// Provided by VK_EXT_opacity_micromap
void vkGetDeviceMicromapCompatibilityEXT(
VkDevice device,
const VkMicromapVersionInfoEXT* pVersionInfo,
VkAccelerationStructureCompatibilityKHR* pCompatibility);
Parameters
-
device
is the device to check the version against. -
pVersionInfo
is a pointer to a VkMicromapVersionInfoEXT structure specifying version information to check against the device. -
pCompatibility
is a pointer to a VkAccelerationStructureCompatibilityKHR value in which compatibility information is returned.
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.