Trait vulkano::descriptor::descriptor_set::collection::DescriptorSetsCollection [] [src]

pub unsafe trait DescriptorSetsCollection {
    fn into_vec(self) -> Vec<Box<DescriptorSet + Send + Sync>>;
    fn num_bindings_in_set(&self, set: usize) -> Option<usize>;
    fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc>;
    fn buffers_list<'a>(&'a self) -> Box<Iterator<Item = &'a BufferAccess> + 'a>;
    fn images_list<'a>(&'a self) -> Box<Iterator<Item = &'a ImageAccess> + 'a>;
}

A collection of descriptor set objects.

Required Methods

Returns the number of descriptors in the set. Includes possibly empty descriptors.

Returns None if the set is out of range.

Returns the descriptor for the given binding of the given set.

Returns None if out of range.

Returns the list of buffers used by this descriptor set. Includes buffer views.

Returns the list of images used by this descriptor set. Includes image views.

Implementors