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::DescriptorSetDescriptor set to copy from.
src_binding: DescriptorBindingBinding 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: DescriptorArrayIndexOffset into the descriptor array to start copying from.
dst_set: &'a mut B::DescriptorSetDescriptor set to copy to.
dst_binding: DescriptorBindingBinding 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: DescriptorArrayIndexOffset into the descriptor array to copy to.
count: usizeHow many descriptors to copy.