pub fn new(pool: vk::CommandPool, count: vkuint) -> CommandBufferAI {

        debug_assert!(count > 0, "Command buffer count must be greater than 0!");

        CommandBufferAI {
            inner: vk::CommandBufferAllocateInfo {
                command_pool: pool,
                command_buffer_count: count,
                ..CommandBufferAI::default_ci()
            }
        }
    }
/// Initialize `vk::CommandBufferAllocateInfo` with default value.
///
/// `pool` is the command pool where command buffers are allocated.
///
/// `count` is the number of command buffers to allocate.
Initialize `vk::CommandBufferAllocateInfo` with default value.
`pool` is the command pool where command buffers are allocated.

`count` is the number of command buffers to allocate.
Initialize ` vk :: CommandBufferAllocateInfo ` with default value . ` pool ` is the command pool where command buffers are allocated . ` count ` is the number of command buffers to allocate .
pub fn new(pool: vk::CommandPool, count: vkuint) -> CommandBufferAI {
        debug_assert!(count > 0, "Command buffer count must be greater than 0!");
        CommandBufferAI {
            inner: vk::CommandBufferAllocateInfo {
                command_pool: pool,
                command_buffer_count: count,
                ..CommandBufferAI::default_ci()
            }
        }
    }
pub fn new ( pool : vk :: CommandPool , count : vkuint ) -> CommandBufferAI { debug_assert ! ( count 0 " " ) ; CommandBufferAI { inner : vk :: CommandBufferAllocateInfo { command_pool : pool , command_buffer_count : count , .. CommandBufferAI :: default_ci ( ) } } }
Initialize `vk::CommandBufferAllocateInfo` with default value.
Initialize ` vk :: CommandBufferAllocateInfo ` with default value .
pool
vk::CommandPool
count
vkuint
pool
vk::CommandPool
count
vkuint