[][src]Struct vulkano::command_buffer::pool::standard::StandardCommandPool

pub struct StandardCommandPool { /* fields omitted */ }

Standard implementation of a command pool.

It is guaranteed that the allocated command buffers keep the Arc<StandardCommandPool> alive. This is desirable so that we can store a Weak<StandardCommandPool>.

Will use one Vulkan pool per thread in order to avoid locking. Will try to reuse command buffers. Command buffers can't be moved between threads during the building process, but finished command buffers can.


impl StandardCommandPool[src]

pub fn new(
    device: Arc<Device>,
    queue_family: QueueFamily
) -> StandardCommandPool

Builds a new pool.


  • Panics if the device and the queue family don't belong to the same physical device.

Trait Implementations

impl DeviceOwned for StandardCommandPool[src]

impl Send for StandardCommandPool[src]

impl Sync for StandardCommandPool[src]

Auto Trait Implementations

Blanket Implementations

impl<T> DeviceOwned for T where
    T: Deref,
    <T as Deref>::Target: DeviceOwned

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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