[][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.

Methods

impl StandardCommandPool[src]

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

Builds a new pool.

Panic

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

Trait Implementations

impl DeviceOwned for StandardCommandPool[src]

impl Sync for StandardCommandPool[src]

impl Send for StandardCommandPool[src]

Blanket Implementations

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

impl<T> Content for T[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.

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

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

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