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
trait. By default vulkano will use the
StandardCommandPool struct, but you can implement
this trait yourself by wrapping around the
Low-level implementation of a command pool.
Opaque type that represents a command buffer allocated from a pool.
Iterator for newly-allocated command buffers.
Error that can happen when trimming command pools.
Types that manage the memory of command buffers.
A command buffer allocated from a pool that has finished being recorded.
A command buffer allocated from a pool and that can be recorded.