Function Prototype
vkCreateBufferCollectionFUCHSIA
Create a new buffer collection
To create a VkBufferCollectionFUCHSIA for Vulkan to participate in the buffer collection:
VkResult vkCreateBufferCollectionFUCHSIA(
VkDevice device,
const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkBufferCollectionFUCHSIA* pCollection);
deviceis the logical device that creates theVkBufferCollectionFUCHSIApCreateInfois a pointer to a VkBufferCollectionCreateInfoFUCHSIA structure containing parameters affecting creation of the buffer collectionpAllocatoris a pointer to a VkAllocationCallbacks structure controlling host memory allocation as described in the Memory Allocation chapterpCollectionis a pointer to a VkBufferCollectionFUCHSIA handle in which the resulting buffer collection object is returned
Valid Usage (Implicit)
VUID-vkCreateBufferCollectionFUCHSIA-device-parameter
device must be a valid VkDevice handle
VUID-vkCreateBufferCollectionFUCHSIA-pCreateInfo-parameter
pCreateInfo must be a valid pointer to a valid VkBufferCollectionCreateInfoFUCHSIA structure
VUID-vkCreateBufferCollectionFUCHSIA-pAllocator-parameter
If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure
VUID-vkCreateBufferCollectionFUCHSIA-pCollection-parameter
pCollection must be a valid pointer to a VkBufferCollectionFUCHSIA handle