#[repr(C)]pub struct RenderPassDepthStencilAttachment {
pub view: TextureViewId,
pub depth: PassChannel<Option<f32>, Option<LoadOp>, Option<StoreOp>>,
pub stencil: PassChannel<Option<u32>, Option<LoadOp>, Option<StoreOp>>,
}
Expand description
Describes a depth/stencil attachment to a render pass.
Fields§
§view: TextureViewId
The view to use as an attachment.
depth: PassChannel<Option<f32>, Option<LoadOp>, Option<StoreOp>>
What operations will be performed on the depth part of the attachment.
stencil: PassChannel<Option<u32>, Option<LoadOp>, Option<StoreOp>>
What operations will be performed on the stencil part of the attachment.
Trait Implementations§
source§impl Clone for RenderPassDepthStencilAttachment
impl Clone for RenderPassDepthStencilAttachment
source§fn clone(&self) -> RenderPassDepthStencilAttachment
fn clone(&self) -> RenderPassDepthStencilAttachment
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 moresource§impl<'de> Deserialize<'de> for RenderPassDepthStencilAttachment
impl<'de> Deserialize<'de> for RenderPassDepthStencilAttachment
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RenderPassDepthStencilAttachment
impl PartialEq for RenderPassDepthStencilAttachment
source§fn eq(&self, other: &RenderPassDepthStencilAttachment) -> bool
fn eq(&self, other: &RenderPassDepthStencilAttachment) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RenderPassDepthStencilAttachment
Auto Trait Implementations§
impl Freeze for RenderPassDepthStencilAttachment
impl RefUnwindSafe for RenderPassDepthStencilAttachment
impl Send for RenderPassDepthStencilAttachment
impl Sync for RenderPassDepthStencilAttachment
impl Unpin for RenderPassDepthStencilAttachment
impl UnwindSafe for RenderPassDepthStencilAttachment
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)