pub struct DescriptorSetWrite<'a, B, WI>{
pub set: &'a <B as Backend>::DescriptorSet,
pub binding: u32,
pub array_offset: usize,
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 as Backend>::DescriptorSet
§binding: u32
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: usize
§descriptors: WI
Trait Implementations§
Source§impl<'a, B, WI> Debug for DescriptorSetWrite<'a, B, WI>where
B: Debug + Backend,
WI: Debug + IntoIterator,
<WI as IntoIterator>::Item: Borrow<Descriptor<'a, B>>,
<B as Backend>::DescriptorSet: Debug,
impl<'a, B, WI> Debug for DescriptorSetWrite<'a, B, WI>where
B: Debug + Backend,
WI: Debug + IntoIterator,
<WI as IntoIterator>::Item: Borrow<Descriptor<'a, B>>,
<B as Backend>::DescriptorSet: Debug,
Auto Trait Implementations§
impl<'a, B, WI> Freeze for DescriptorSetWrite<'a, B, WI>where
WI: Freeze,
impl<'a, B, WI> RefUnwindSafe for DescriptorSetWrite<'a, B, WI>
impl<'a, B, WI> Send for DescriptorSetWrite<'a, B, WI>where
WI: Send,
impl<'a, B, WI> Sync for DescriptorSetWrite<'a, B, WI>where
WI: Sync,
impl<'a, B, WI> Unpin for DescriptorSetWrite<'a, B, WI>where
WI: Unpin,
impl<'a, B, WI> UnwindSafe for DescriptorSetWrite<'a, B, WI>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more