pub unsafe trait CommandBufferAlloc: DeviceOwned + Send + Sync + 'static {
    fn inner(&self) -> &CommandPoolAlloc;
    fn queue_family_index(&self) -> u32;
}
Expand description

A command buffer allocated from a pool that has finished being recorded.

Safety

See CommandBufferAllocator for information about safety.

Required Methods§

Returns the internal object that contains the command buffer.

Returns the index of the queue family that the pool targets.

Implementors§