Struct vulkano::descriptor_set::DescriptorSetResources [−][src]
pub struct DescriptorSetResources { /* fields omitted */ }
Expand description
The resources that are bound to a descriptor set.
Implementations
Creates a new DescriptorSetResources
matching the provided descriptor set layout, and
all descriptors set to None
.
Applies descriptor writes to the resources.
Panics
- Panics if the binding number of a write does not exist in the resources.
- See also
DescriptorBindingResources::update
.
Returns a reference to the bound resources for binding
. Returns None
if the binding
doesn’t exist.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DescriptorSetResources
impl Send for DescriptorSetResources
impl Sync for DescriptorSetResources
impl Unpin for DescriptorSetResources
impl !UnwindSafe for DescriptorSetResources
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.