Struct wgpu::RenderPassDepthStencilAttachment
source · pub struct RenderPassDepthStencilAttachment<'tex> {
pub view: &'tex TextureView,
pub depth_ops: Option<Operations<f32>>,
pub stencil_ops: Option<Operations<u32>>,
}
Expand description
Describes a depth/stencil attachment to a RenderPass
.
For use with RenderPassDescriptor
.
Corresponds to WebGPU GPURenderPassDepthStencilAttachment
.
Fields§
§view: &'tex 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<'tex> Clone for RenderPassDepthStencilAttachment<'tex>
impl<'tex> Clone for RenderPassDepthStencilAttachment<'tex>
source§fn clone(&self) -> RenderPassDepthStencilAttachment<'tex>
fn clone(&self) -> RenderPassDepthStencilAttachment<'tex>
Returns a copy 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 more