pub struct DescriptorSetCopy<'a, B: Backend> {
    pub src_set: &'a B::DescriptorSet,
    pub src_binding: DescriptorBinding,
    pub src_array_offset: DescriptorArrayIndex,
    pub dst_set: &'a mut B::DescriptorSet,
    pub dst_binding: DescriptorBinding,
    pub dst_array_offset: DescriptorArrayIndex,
    pub count: usize,
}
Expand description

Copies a range of descriptors to be bound from one descriptor set to another.

Should be provided to the copy_descriptor_sets method of a Device.

Fields

src_set: &'a B::DescriptorSet

Descriptor set to copy from.

src_binding: DescriptorBinding

Binding to copy from.

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

src_array_offset: DescriptorArrayIndex

Offset into the descriptor array to start copying from.

dst_set: &'a mut B::DescriptorSet

Descriptor set to copy to.

dst_binding: DescriptorBinding

Binding to copy to.

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.

dst_array_offset: DescriptorArrayIndex

Offset into the descriptor array to copy to.

count: usize

How many descriptors to copy.

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.