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
-
device
is theVkDevice
for which the micromaps are being built. -
deferredOperation
is an optional VkDeferredOperationKHR to request deferral for this command. -
infoCount
is the number of micromaps to build. It specifies the number of thepInfos
that must be provided. -
pInfos
is a pointer to an array ofinfoCount
VkMicromapBuildInfoEXT 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.