Struct vulkano::descriptor_set::pool::standard::StdDescriptorPool [−][src]
pub struct StdDescriptorPool { /* fields omitted */ }
Expand description
Standard implementation of a descriptor pool.
It is guaranteed that the Arc<StdDescriptorPool>
is kept alive by its allocations. This is
desirable so that we can store a Weak<StdDescriptorPool>
.
Whenever a set is allocated, this implementation will try to find a pool that has some space for it. If there is one, allocate from it. If there is none, create a new pool whose capacity is 40 sets and 40 times the requested descriptors. This number is arbitrary.
Implementations
Builds a new StdDescriptorPool
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StdDescriptorPool
impl Send for StdDescriptorPool
impl Sync for StdDescriptorPool
impl Unpin for StdDescriptorPool
impl UnwindSafe for StdDescriptorPool
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.