Struct pilka_dyn::ash::VkCommandPool[]

pub struct VkCommandPool {
    pub pool: CommandPool,
    pub active_command: usize,
    pub command_buffers: Vec<CommandBuffer, Global>,
    pub fences: Vec<Fence, Global>,
    pub device: Arc<RawDevice>,
}

Fields

pool: CommandPoolactive_command: usizecommand_buffers: Vec<CommandBuffer, Global>fences: Vec<Fence, Global>device: Arc<RawDevice>

Implementations

impl VkCommandPool

pub fn record_submit_commandbuffer<F>(
    &mut self,
    device: &VkDevice,
    submit_queue: Queue,
    wait_mask: &[PipelineStageFlags],
    wait_semaphores: &[Semaphore],
    signal_semaphores: &[Semaphore],
    f: F
) where
    F: FnOnce(&VkDevice, CommandBuffer), 

Trait Implementations

impl Drop for VkCommandPool

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.