createBufferCollectionFUCHSIA :: MonadIO io=> Devicedeviceis the logical device that creates the BufferCollectionFUCHSIA-> BufferCollectionCreateInfoFUCHSIApCreateInfois a pointer to a BufferCollectionCreateInfoFUCHSIA structure containing parameters affecting creation of the buffer collection->"allocator"
::: Maybe AllocationCallbackspAllocatoris a pointer to a AllocationCallbacks structure controlling host memory allocation as described in the Memory Allocation chapter-> io BufferCollectionFUCHSIA
vkCreateBufferCollectionFUCHSIA - Create a new buffer collection
Valid Usage (Implicit)
devicemust be a valid Device handle
pCreateInfomust be a valid pointer to a valid BufferCollectionCreateInfoFUCHSIA structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepCollectionmust be a valid pointer to a BufferCollectionFUCHSIA handleThe device must have been created with at least
1queue
Return Codes
Host Access
All functions referencing a BufferCollectionFUCHSIA must be externally synchronized with the exception of createBufferCollectionFUCHSIA.
See Also
VK_FUCHSIA_buffer_collection, AllocationCallbacks, BufferCollectionCreateInfoFUCHSIA, BufferCollectionFUCHSIA, Device