Struct vulkano::command_buffer::pool::standard::StandardCommandPool
[−]
[src]
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]
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.