C Specification
To query micromap size parameters on the host, call:
// Provided by VK_EXT_opacity_micromap
VkResult vkWriteMicromapsPropertiesEXT(
    VkDevice                                    device,
    uint32_t                                    micromapCount,
    const VkMicromapEXT*                        pMicromaps,
    VkQueryType                                 queryType,
    size_t                                      dataSize,
    void*                                       pData,
    size_t                                      stride);Parameters
- 
deviceis the device which owns the micromaps inpMicromaps.
- 
micromapCountis the count of micromaps for which to query the property.
- 
pMicromapsis a pointer to an array of existing previously built micromaps.
- 
queryTypeis a VkQueryType value specifying the property to be queried.
- 
dataSizeis the size in bytes of the buffer pointed to bypData.
- 
pDatais a pointer to an application-allocated buffer where the results will be written.
- 
strideis the stride in bytes between results for individual queries withinpData.
Description
This command fulfills the same task as vkCmdWriteMicromapsPropertiesEXT but is executed by the host.
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.