[−][src]Struct gfx_hal::pso::DescriptorSetCopy
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 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
impl<'a, B: Clone + Backend> Clone for DescriptorSetCopy<'a, B> where
B::DescriptorSet: Clone,
B::DescriptorSet: Clone,
[src]
B::DescriptorSet: Clone,
B::DescriptorSet: Clone,
fn clone(&self) -> DescriptorSetCopy<'a, B>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, B: Copy + Backend> Copy for DescriptorSetCopy<'a, B> where
B::DescriptorSet: Copy,
B::DescriptorSet: Copy,
[src]
B::DescriptorSet: Copy,
B::DescriptorSet: Copy,
impl<'a, B: Debug + Backend> Debug for DescriptorSetCopy<'a, B> where
B::DescriptorSet: Debug,
B::DescriptorSet: Debug,
[src]
B::DescriptorSet: Debug,
B::DescriptorSet: Debug,
Auto Trait Implementations
impl<'a, B> RefUnwindSafe for DescriptorSetCopy<'a, B> where
<B as Backend>::DescriptorSet: RefUnwindSafe,
<B as Backend>::DescriptorSet: RefUnwindSafe,
impl<'a, B> Send for DescriptorSetCopy<'a, B> where
<B as Backend>::DescriptorSet: Sync,
<B as Backend>::DescriptorSet: Sync,
impl<'a, B> Sync for DescriptorSetCopy<'a, B> where
<B as Backend>::DescriptorSet: Sync,
<B as Backend>::DescriptorSet: Sync,
impl<'a, B> Unpin for DescriptorSetCopy<'a, B>
impl<'a, B> UnwindSafe for DescriptorSetCopy<'a, B> where
<B as Backend>::DescriptorSet: RefUnwindSafe,
<B as Backend>::DescriptorSet: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,