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.

Required Associated Types

Return type of into_alloc.

Required Methods

Returns the internal object that contains the command buffer.

Turns this builder into a command buffer that is pending execution.

Returns the queue family that the pool targets.

Implementors