#[repr(C)]pub struct DepthStencilAttachmentDescriptor {
pub attachment: TextureViewId,
pub depth: PassChannel<f32>,
pub stencil: PassChannel<u32>,
}
Expand description
Describes a depth/stencil attachment to a render pass.
Fields§
§attachment: TextureViewId
The view to use as an attachment.
depth: PassChannel<f32>
What operations will be performed on the depth part of the attachment.
stencil: PassChannel<u32>
What operations will be performed on the stencil part of the attachment.
Trait Implementations§
source§impl Clone for DepthStencilAttachmentDescriptor
impl Clone for DepthStencilAttachmentDescriptor
source§fn clone(&self) -> DepthStencilAttachmentDescriptor
fn clone(&self) -> DepthStencilAttachmentDescriptor
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