Struct wgpu::RenderPassDepthStencilAttachment [−][src]
pub struct RenderPassDepthStencilAttachment<'a> {
pub view: &'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
view: &'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
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RenderPassDepthStencilAttachment<'a>
impl<'a> Send for RenderPassDepthStencilAttachment<'a>
impl<'a> Sync for RenderPassDepthStencilAttachment<'a>
impl<'a> Unpin for RenderPassDepthStencilAttachment<'a>
impl<'a> !UnwindSafe for RenderPassDepthStencilAttachment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more