pub enum DepthLoadOp {
Clear(f32),
Load,
}Expand description
How a depth attachment starts the pass.
Variants§
Clear(f32)
Clear to the given depth. Under reversed depth the empty scene clears to 0.0 (the far plane).
Load
Keep the existing contents.
Trait Implementations§
Source§impl Clone for DepthLoadOp
impl Clone for DepthLoadOp
impl Copy for DepthLoadOp
Source§impl Debug for DepthLoadOp
impl Debug for DepthLoadOp
Source§impl PartialEq for DepthLoadOp
impl PartialEq for DepthLoadOp
impl StructuralPartialEq for DepthLoadOp
Auto Trait Implementations§
impl Freeze for DepthLoadOp
impl RefUnwindSafe for DepthLoadOp
impl Send for DepthLoadOp
impl Sync for DepthLoadOp
impl Unpin for DepthLoadOp
impl UnsafeUnpin for DepthLoadOp
impl UnwindSafe for DepthLoadOp
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