pub struct DescriptorSetWrite<'a, B: Backend, I> where
    I: Iterator<Item = Descriptor<'a, B>>, 
{ pub set: &'a mut B::DescriptorSet, pub binding: DescriptorBinding, pub array_offset: DescriptorArrayIndex, pub descriptors: I, }
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 mut B::DescriptorSet

The descriptor set to modify.

binding: DescriptorBinding

Binding index to start writing at.

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

array_offset: DescriptorArrayIndex

Offset into the array to copy to.

descriptors: I

Descriptors to write to the set.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.