pub unsafe fn allocate_command_buffers(&self, allocate_info: &CommandBufferAllocateInfo)
            -> VdResult<SmallVec<[CommandBufferHandle; 16]>> {
        let mut command_buffers: SmallVec<[CommandBufferHandle; 16]> = SmallVec::new();
        command_buffers.reserve_exact(allocate_info.command_buffer_count() as usize);
        command_buffers.set_len(allocate_info.command_buffer_count() as usize);
        let result = self.proc_addr_loader().vk.vkAllocateCommandBuffers(
            self.handle().to_raw(), allocate_info.as_raw(),
            command_buffers.as_mut_ptr() as *mut vks::VkCommandBuffer);
        error::check(result, "vkAllocateCommandBuffers", command_buffers)
    }
/// Allocates command buffers from an existing command pool.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateCommandBuffers.html
//
// *PFN_vkAllocateCommandBuffers)(VkDevice device, const
// VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer*
// pCommandBuffers);
Allocates command buffers from an existing command pool.


Allocates command buffers from an existing command pool .
pub unsafe fn allocate_command_buffers(&self, allocate_info: &CommandBufferAllocateInfo)
            -> VdResult<SmallVec<[CommandBufferHandle; 16]>> {
        let mut command_buffers: SmallVec<[CommandBufferHandle; 16]> = SmallVec::new();
        command_buffers.reserve_exact(allocate_info.command_buffer_count() as usize);
        command_buffers.set_len(allocate_info.command_buffer_count() as usize);
        let result = self.proc_addr_loader().vk.vkAllocateCommandBuffers(
            self.handle().to_raw(), allocate_info.as_raw(),
            command_buffers.as_mut_ptr() as *mut vks::VkCommandBuffer);
        error::check(result, "vkAllocateCommandBuffers", command_buffers)
    }
pub unsafe fn allocate_command_buffers ( & self , allocate_info : & CommandBufferAllocateInfo ) -> VdResult < SmallVec < [ CommandBufferHandle ; 16 ] > > { let mut command_buffers : SmallVec < [ CommandBufferHandle ; 16 ] > = SmallVec :: new ( ) ; command_buffers . reserve_exact ( allocate_info . command_buffer_count ( ) as usize ) ; command_buffers . set_len ( allocate_info . command_buffer_count ( ) as usize ) ; let result = self . proc_addr_loader ( ) . vk . vkAllocateCommandBuffers ( self . handle ( ) . to_raw ( ) , allocate_info . as_raw ( ) , command_buffers . as_mut_ptr ( ) as * mut vks :: VkCommandBuffer ) ; error :: check ( result , " " , command_buffers ) }
Allocates command buffers from an existing command pool.
Allocates command buffers from an existing command pool .
&self
allocate_info
&CommandBufferAllocateInfo
&self
allocate_info
&CommandBufferAllocateInfo