pub struct DepthAttachment<'a, D: Device> {
pub view: &'a D::TextureView,
pub load: DepthLoadOp,
pub read_only: bool,
}Expand description
The depth attachment of a render pass.
Fields§
§view: &'a D::TextureViewThe target view.
load: DepthLoadOpLoad behavior.
read_only: boolWhether the pass only tests/samples depth and never stores it.
Trait Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for DepthAttachment<'a, D>
impl<'a, D> RefUnwindSafe for DepthAttachment<'a, D>
impl<'a, D> Send for DepthAttachment<'a, D>
impl<'a, D> Sync for DepthAttachment<'a, D>
impl<'a, D> Unpin for DepthAttachment<'a, D>
impl<'a, D> UnsafeUnpin for DepthAttachment<'a, D>
impl<'a, D> UnwindSafe for DepthAttachment<'a, D>
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