pub fn allocate_command_buffers(&self, level: CommandBufferLevel, count: u32)
            -> VdResult<SmallVec<[CommandBuffer; 16]>> {
        self.allocate_command_buffer_handles(level, count)?.iter().map(|&hndl| {
            CommandBuffer::from_parts(self.clone(), hndl)
        }).collect::<Result<SmallVec<_>, _>>()
    }
/// Allocates command buffers from an existing command pool.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateCommandBuffers.html
//
Allocates command buffers from an existing command pool.
Allocates command buffers from an existing command pool .
pub fn allocate_command_buffers(&self, level: CommandBufferLevel, count: u32)
            -> VdResult<SmallVec<[CommandBuffer; 16]>> {
        self.allocate_command_buffer_handles(level, count)?.iter().map(|&hndl| {
            CommandBuffer::from_parts(self.clone(), hndl)
        }).collect::<Result<SmallVec<_>, _>>()
    }
pub fn allocate_command_buffers ( & self , level : CommandBufferLevel , count : u32 ) -> VdResult < SmallVec < [ CommandBuffer ; 16 ] > > { self . allocate_command_buffer_handles ( level , count ) ? . iter ( ) . map ( | & hndl | { CommandBuffer :: from_parts ( self . clone ( ) , hndl ) } ) . collect :: < Result < SmallVec < _ > , _ > > ( ) }
Allocates command buffers from an existing command pool.
Allocates command buffers from an existing command pool .
&self
level
CommandBufferLevel
count
u32
&self
level
CommandBufferLevel
count
u32