pub struct DescriptorSetUpdateInfo { /* private fields */ }Expand description
One write or copy performed while allocating a DescriptorSet.
Implementations§
Source§impl DescriptorSetUpdateInfo
impl DescriptorSetUpdateInfo
Sourcepub fn acceleration_structure(
destination: impl Into<DescriptorSetBinding>,
acceleration_structure: &Arc<AccelerationStructure>,
) -> Self
pub fn acceleration_structure( destination: impl Into<DescriptorSetBinding>, acceleration_structure: &Arc<AccelerationStructure>, ) -> Self
Writes an acceleration structure descriptor.
Sourcepub fn buffer(
destination: impl Into<DescriptorSetBinding>,
buffer: &Arc<Buffer>,
) -> Self
pub fn buffer( destination: impl Into<DescriptorSetBinding>, buffer: &Arc<Buffer>, ) -> Self
Writes a whole-buffer descriptor.
Sourcepub fn buffer_range(
destination: impl Into<DescriptorSetBinding>,
buffer: &Arc<Buffer>,
range: impl Into<BufferSubresourceRange>,
) -> Self
pub fn buffer_range( destination: impl Into<DescriptorSetBinding>, buffer: &Arc<Buffer>, range: impl Into<BufferSubresourceRange>, ) -> Self
Writes a descriptor for a range of a buffer.
Sourcepub fn copy(
source: &DescriptorSet,
source_binding: impl Into<DescriptorSetBinding>,
destination: impl Into<DescriptorSetBinding>,
) -> Self
pub fn copy( source: &DescriptorSet, source_binding: impl Into<DescriptorSetBinding>, destination: impl Into<DescriptorSetBinding>, ) -> Self
Copies one descriptor from an existing descriptor set.
Sourcepub fn copy_many(
source: &DescriptorSet,
source_binding: impl Into<DescriptorSetBinding>,
destination: impl Into<DescriptorSetBinding>,
descriptor_count: u32,
) -> Self
pub fn copy_many( source: &DescriptorSet, source_binding: impl Into<DescriptorSetBinding>, destination: impl Into<DescriptorSetBinding>, descriptor_count: u32, ) -> Self
Copies consecutive descriptors from an existing descriptor set.
The source and destination ranges must each remain within one reflected binding.
Sourcepub fn image(
destination: impl Into<DescriptorSetBinding>,
image: &Arc<Image>,
) -> Self
pub fn image( destination: impl Into<DescriptorSetBinding>, image: &Arc<Image>, ) -> Self
Writes a descriptor using the image’s default view.
Depth/stencil formats require Self::image_view with exactly one selected aspect.
Sourcepub fn image_view(
destination: impl Into<DescriptorSetBinding>,
image: &Arc<Image>,
view: impl Into<ImageViewInfo>,
) -> Self
pub fn image_view( destination: impl Into<DescriptorSetBinding>, image: &Arc<Image>, view: impl Into<ImageViewInfo>, ) -> Self
Writes a descriptor using a specific image view.
Trait Implementations§
Source§impl Clone for DescriptorSetUpdateInfo
impl Clone for DescriptorSetUpdateInfo
Source§fn clone(&self) -> DescriptorSetUpdateInfo
fn clone(&self) -> DescriptorSetUpdateInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DescriptorSetUpdateInfo
impl Debug for DescriptorSetUpdateInfo
Source§impl IntoIterator for &DescriptorSetUpdateInfo
impl IntoIterator for &DescriptorSetUpdateInfo
Auto Trait Implementations§
impl !RefUnwindSafe for DescriptorSetUpdateInfo
impl !UnwindSafe for DescriptorSetUpdateInfo
impl Freeze for DescriptorSetUpdateInfo
impl Send for DescriptorSetUpdateInfo
impl Sync for DescriptorSetUpdateInfo
impl Unpin for DescriptorSetUpdateInfo
impl UnsafeUnpin for DescriptorSetUpdateInfo
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