Struct vulkano::descriptor::descriptor_set::FixedSizeDescriptorSetsPool
[−]
[src]
pub struct FixedSizeDescriptorSetsPool<L> { /* fields omitted */ }
Pool of descriptor sets of a specific capacity and that are automatically reclaimed.
You are encouraged to use this type when you need a different descriptor set at each frame, or regularly during the execution.
Methods
impl<L> FixedSizeDescriptorSetsPool<L>
[src]
fn new(layout: L, set_id: usize) -> FixedSizeDescriptorSetsPool<L> where
L: PipelineLayoutAbstract,
[src]
L: PipelineLayoutAbstract,
Initializes a new pool. The pool is configured to allocate sets that corresponds to the parameters passed to this function.
fn next(&mut self) -> FixedSizeDescriptorSetBuilder<L, ()> where
L: PipelineLayoutAbstract + Clone,
[src]
L: PipelineLayoutAbstract + Clone,
Starts the process of building a new descriptor set.
The set will corresponds to the set layout that was passed to new
.
Trait Implementations
impl<L: Clone> Clone for FixedSizeDescriptorSetsPool<L>
[src]
fn clone(&self) -> FixedSizeDescriptorSetsPool<L>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more