C Specification
To build micromaps on the host, call:
// Provided by VK_EXT_opacity_micromap
VkResult vkBuildMicromapsEXT(
VkDevice device,
VkDeferredOperationKHR deferredOperation,
uint32_t infoCount,
const VkMicromapBuildInfoEXT* pInfos);
Parameters
-
deviceis theVkDevicefor which the micromaps are being built. -
deferredOperationis an optional VkDeferredOperationKHR to request deferral for this command. -
infoCountis the number of micromaps to build. It specifies the number of thepInfosthat must be provided. -
pInfosis a pointer to an array ofinfoCountVkMicromapBuildInfoEXT structures defining the geometry used to build each micromap.
Description
This command fulfills the same task as vkCmdBuildMicromapsEXT but is executed by the host.
The vkBuildMicromapsEXT command provides the ability to initiate
multiple micromaps builds, however there is no ordering or synchronization
implied between any of the individual micromap builds.
|
Note
This means that there cannot be any memory aliasing between any micromap memories or scratch memories being used by any of the builds. |
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.