Function Prototype
vkDestroyMicromapEXT
Destroy a micromap object
To destroy a micromap, call:
void vkDestroyMicromapEXT(
VkDevice device,
VkMicromapEXT micromap,
const VkAllocationCallbacks* pAllocator);
device
is the logical device that destroys the micromap.micromap
is the micromap to destroy.pAllocator
controls host memory allocation as described in the Memory Allocation chapter.
Valid Usage
VUID-vkDestroyMicromapEXT-micromap-07441
All submitted commands that refer to micromap
must have completed
execution
VUID-vkDestroyMicromapEXT-micromap-07442
If VkAllocationCallbacks
were provided when micromap
was
created, a compatible set of callbacks must be provided here
VUID-vkDestroyMicromapEXT-micromap-07443
If no VkAllocationCallbacks
were provided when micromap
was
created, pAllocator
must be NULL
Valid Usage (Implicit)
VUID-vkDestroyMicromapEXT-device-parameter
device
must be a valid VkDevice handle
VUID-vkDestroyMicromapEXT-micromap-parameter
If micromap
is not VK_NULL_HANDLE, micromap
must be a valid VkMicromapEXT handle
VUID-vkDestroyMicromapEXT-pAllocator-parameter
If pAllocator
is not NULL
, pAllocator
must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkDestroyMicromapEXT-micromap-parent
If micromap
is a valid handle, it must have been created, allocated, or retrieved from device
Host Synchronization
- Host access to
micromap
must be externally synchronized ::