Trait vulkano::command_buffer::pool::CommandPoolAlloc
source · pub unsafe trait CommandPoolAlloc: DeviceOwned {
fn inner(&self) -> &UnsafeCommandPoolAlloc;
fn queue_family(&self) -> QueueFamily<'_>;
}
Expand description
A command buffer allocated from a pool that has finished being recorded.
Safety
See CommandPool
for information about safety.
Required Methods
sourcefn inner(&self) -> &UnsafeCommandPoolAlloc
fn inner(&self) -> &UnsafeCommandPoolAlloc
Returns the internal object that contains the command buffer.
sourcefn queue_family(&self) -> QueueFamily<'_>
fn queue_family(&self) -> QueueFamily<'_>
Returns the queue family that the pool targets.