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);
pub fn create_buffer_collection_fuchsia(
device: vk::Device,
p_create_info: *const vk::BufferCollectionCreateInfoFUCHSIA,
p_allocator: *const vk::AllocationCallbacks,
p_collection: *mut vk::BufferCollectionFUCHSIA,
) -> vk::Result;
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
VUID-vkCreateBufferCollectionFUCHSIA-device-queuecount
The device must have been created with at least 1 queue
Type
Function Prototype