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