pub struct DescriptorSetWrite<'a, B: Backend, WI>where
    WI: IntoIterator,
    WI::Item: Borrow<Descriptor<'a, B>>,
{ pub set: &'a B::DescriptorSet, pub binding: DescriptorBinding, pub array_offset: DescriptorArrayIndex, pub descriptors: WI, }
Expand description

Writes the actual descriptors to be bound into a descriptor set. Should be provided to the write_descriptor_sets method of a Device.

Fields

set: &'a B::DescriptorSetbinding: DescriptorBinding

Note: when there is more descriptors provided than array elements left in the specified binding starting at specified, offset, the updates are spilled onto the next binding (starting with offset 0), and so on.

array_offset: DescriptorArrayIndexdescriptors: WI

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.