pub struct ResolvedRenderPassDepthStencilAttachment<TV> {
pub view: TV,
pub depth: ResolvedPassChannel<f32>,
pub stencil: ResolvedPassChannel<u32>,
}Expand description
Describes a depth/stencil attachment to a render pass.
This version uses the validated ResolvedPassChannel.
Fields§
§view: TVThe view to use as an attachment.
depth: ResolvedPassChannel<f32>What operations will be performed on the depth part of the attachment.
stencil: ResolvedPassChannel<u32>What operations will be performed on the stencil part of the attachment.
Trait Implementations§
Source§impl<TV: Clone> Clone for ResolvedRenderPassDepthStencilAttachment<TV>
impl<TV: Clone> Clone for ResolvedRenderPassDepthStencilAttachment<TV>
Source§fn clone(&self) -> ResolvedRenderPassDepthStencilAttachment<TV>
fn clone(&self) -> ResolvedRenderPassDepthStencilAttachment<TV>
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<TV: Debug> Debug for ResolvedRenderPassDepthStencilAttachment<TV>
impl<TV: Debug> Debug for ResolvedRenderPassDepthStencilAttachment<TV>
Source§impl<'de, TV> Deserialize<'de> for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: Deserialize<'de>,
impl<'de, TV> Deserialize<'de> for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: Deserialize<'de>,
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
Auto Trait Implementations§
impl<TV> Freeze for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: Freeze,
impl<TV> RefUnwindSafe for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: RefUnwindSafe,
impl<TV> Send for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: Send,
impl<TV> Sync for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: Sync,
impl<TV> Unpin for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: Unpin,
impl<TV> UnwindSafe for ResolvedRenderPassDepthStencilAttachment<TV>where
TV: UnwindSafe,
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