#[repr(C)]pub struct RenderPassDepthStencilAttachment {
pub view: TextureViewId,
pub depth: PassChannel<f32>,
pub stencil: PassChannel<u32>,
}Expand description
Describes a depth/stencil attachment to a render pass.
Fields
view: TextureViewIdThe 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
sourceimpl Clone for RenderPassDepthStencilAttachment
impl Clone for RenderPassDepthStencilAttachment
sourcefn clone(&self) -> RenderPassDepthStencilAttachment
fn clone(&self) -> RenderPassDepthStencilAttachment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<RenderPassDepthStencilAttachment> for RenderPassDepthStencilAttachment
impl PartialEq<RenderPassDepthStencilAttachment> for RenderPassDepthStencilAttachment
sourcefn eq(&self, other: &RenderPassDepthStencilAttachment) -> bool
fn eq(&self, other: &RenderPassDepthStencilAttachment) -> bool
impl StructuralPartialEq for RenderPassDepthStencilAttachment
Auto Trait Implementations
impl !RefUnwindSafe for RenderPassDepthStencilAttachment
impl Send for RenderPassDepthStencilAttachment
impl Sync for RenderPassDepthStencilAttachment
impl Unpin for RenderPassDepthStencilAttachment
impl !UnwindSafe for RenderPassDepthStencilAttachment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more