Trait vulkano::command_buffer::pool::CommandPoolAlloc
source · [−]pub unsafe trait CommandPoolAlloc: DeviceOwned + Send + Sync {
fn inner(&self) -> &UnsafeCommandPoolAlloc;
fn queue_family_index(&self) -> u32;
}
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_index(&self) -> u32
fn queue_family_index(&self) -> u32
Returns the index of the queue family that the pool targets.