Skip to main content

allocate_command_buffers

Function allocate_command_buffers 

Source
pub unsafe fn allocate_command_buffers(
    device: VkHandleRef<'_, VkDevice>,
    allocation_info: &CommandBufferAllocateInfo<'_>,
    sink: &mut [MaybeUninit<VkCommandBuffer>],
) -> Result<()>
Expand description

ยงSafety

command pool in allocation_info must be created from device.