Trait vulkano::command_buffer::pool::CommandPoolBuilderAlloc [−][src]
pub unsafe trait CommandPoolBuilderAlloc: DeviceOwned { type Alloc: CommandPoolAlloc; fn inner(&self) -> &UnsafeCommandPoolAlloc; fn into_alloc(self) -> Self::Alloc; fn queue_family(&self) -> QueueFamily<'_>; }
Expand description
A command buffer allocated from a pool and that can be recorded.
Safety
See CommandPool
for information about safety.
Associated Types
type Alloc: CommandPoolAlloc
type Alloc: CommandPoolAlloc
Return type of into_alloc
.
Required methods
fn inner(&self) -> &UnsafeCommandPoolAlloc
fn inner(&self) -> &UnsafeCommandPoolAlloc
Returns the internal object that contains the command buffer.
fn into_alloc(self) -> Self::Alloc
fn into_alloc(self) -> Self::Alloc
Turns this builder into a command buffer that is pending execution.
fn queue_family(&self) -> QueueFamily<'_>
fn queue_family(&self) -> QueueFamily<'_>
Returns the queue family that the pool targets.