pub struct RenderPassDepthStencilAttachmentDescriptor<'a> {
pub attachment: &'a TextureView,
pub depth_ops: Option<Operations<f32>>,
pub stencil_ops: Option<Operations<u32>>,
}
Expand description
Describes a depth/stencil attachment to a RenderPass
.
Fields§
§attachment: &'a TextureView
The view to use as an attachment.
depth_ops: Option<Operations<f32>>
What operations will be performed on the depth part of the attachment.
stencil_ops: Option<Operations<u32>>
What operations will be performed on the stencil part of the attachment.
Trait Implementations§
Source§impl<'a> Clone for RenderPassDepthStencilAttachmentDescriptor<'a>
impl<'a> Clone for RenderPassDepthStencilAttachmentDescriptor<'a>
Source§fn clone(&self) -> RenderPassDepthStencilAttachmentDescriptor<'a>
fn clone(&self) -> RenderPassDepthStencilAttachmentDescriptor<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for RenderPassDepthStencilAttachmentDescriptor<'a>
impl<'a> !RefUnwindSafe for RenderPassDepthStencilAttachmentDescriptor<'a>
impl<'a> Send for RenderPassDepthStencilAttachmentDescriptor<'a>
impl<'a> Sync for RenderPassDepthStencilAttachmentDescriptor<'a>
impl<'a> Unpin for RenderPassDepthStencilAttachmentDescriptor<'a>
impl<'a> !UnwindSafe for RenderPassDepthStencilAttachmentDescriptor<'a>
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