Module vulkano::command_buffer::allocator
source · Expand description
In the Vulkan API, command buffers must be allocated from command pools.
A command pool holds and manages the memory of one or more command buffers. If you destroy a command pool, all of its command buffers are automatically destroyed.
In vulkano, creating a command buffer requires passing an implementation of the
CommandBufferAllocator
trait, which you can implement yourself or use the vulkano-provided
StandardCommandBufferAllocator
.
Structs
Command buffer allocated from a
StandardCommandBufferAllocator
.Standard implementation of a command buffer allocator.
Parameters to create a new
StandardCommandBufferAllocator
.Command buffer allocated from a
StandardCommandBufferAllocator
that is currently being
built.Enums
Error that can be returned when resetting a
CommandPool
.Traits
A command buffer allocated from a pool that has finished being recorded.
Types that manage the memory of command buffers.
A command buffer allocated from a pool and that can be recorded.