pub unsafe trait DescriptorSetsCollection {
    fn into_vec(self) -> Vec<Box<dyn DescriptorSet + Send + Sync>>;
    fn num_bindings_in_set(&self, set: usize) -> Option<usize>;
    fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc>;
}
Expand description

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.

Implementations on Foreign Types

Implementors