pub struct DepthAttachment<'a> {
pub view: &'a TextureView,
pub load: Load,
pub clear: f32,
pub store: bool,
pub before: Layout,
pub after: Layout,
}Expand description
the depth attachment of a render pass (DepthTarget during the pass)
Fields§
§view: &'a TextureView§load: Load§clear: f32§store: bool§before: Layout§after: LayoutTrait Implementations§
Source§impl<'a> Clone for DepthAttachment<'a>
impl<'a> Clone for DepthAttachment<'a>
impl<'a> Copy for DepthAttachment<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DepthAttachment<'a>
impl<'a> !Send for DepthAttachment<'a>
impl<'a> !Sync for DepthAttachment<'a>
impl<'a> !UnwindSafe for DepthAttachment<'a>
impl<'a> Forget for DepthAttachment<'a>
impl<'a> Freeze for DepthAttachment<'a>
impl<'a> Unpin for DepthAttachment<'a>
impl<'a> UnsafeUnpin for DepthAttachment<'a>
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