Function Prototype
vkDestroyBufferCollectionFUCHSIA
Destroy a buffer collection
To release a VkBufferCollectionFUCHSIA:
void vkDestroyBufferCollectionFUCHSIA(
VkDevice device,
VkBufferCollectionFUCHSIA collection,
const VkAllocationCallbacks* pAllocator);
deviceis the logical device that creates theVkBufferCollectionFUCHSIAcollectionis the VkBufferCollectionFUCHSIA handlepAllocatoris a pointer to a VkAllocationCallbacks structure controlling host memory allocation as described in the Memory Allocation chapter
Valid Usage
VUID-vkDestroyBufferCollectionFUCHSIA-collection-06407
VkImage and VkBuffer objects that referenced
collection upon creation by inclusion of a
VkBufferCollectionImageCreateInfoFUCHSIA or
VkBufferCollectionBufferCreateInfoFUCHSIA chained to their
VkImageCreateInfo or VkBufferCreateInfo structures
respectively, may outlive collection
Valid Usage (Implicit)
VUID-vkDestroyBufferCollectionFUCHSIA-device-parameter
device must be a valid VkDevice handle
VUID-vkDestroyBufferCollectionFUCHSIA-collection-parameter
collection must be a valid VkBufferCollectionFUCHSIA handle
VUID-vkDestroyBufferCollectionFUCHSIA-pAllocator-parameter
If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkDestroyBufferCollectionFUCHSIA-collection-parent
collection must have been created, allocated, or retrieved from device