Function Prototype

vkDestroyBufferCollectionFUCHSIA

Destroy a buffer collection

To release a VkBufferCollectionFUCHSIA:

void vkDestroyBufferCollectionFUCHSIA(
    VkDevice device,
    VkBufferCollectionFUCHSIA collection,
    const VkAllocationCallbacks* pAllocator);

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-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