Module vulkano::descriptor_set::allocator
source · Expand description
In the Vulkan API, descriptor sets must be allocated from descriptor pools.
A descriptor pool holds and manages the memory of one or more descriptor sets. If you destroy a descriptor pool, all of its descriptor sets are automatically destroyed.
In vulkano, creating a descriptor set requires passing an implementation of the
DescriptorSetAllocator
trait, which you can implement yourself or use the vulkano-provided
StandardDescriptorSetAllocator
.
Structs
- A descriptor set allocated from a
StandardDescriptorSetAllocator
. - Standard implementation of a descriptor set allocator.
- Parameters to create a new
StandardDescriptorSetAllocator
.
Traits
- An allocated descriptor set.
- Types that manage the memory of descriptor sets.