pub struct DepthState {
pub format: Format,
pub write: bool,
pub compare: Compare,
}Expand description
the depth test of a render pipeline
Fields§
§format: Format§write: bool§compare: CompareTrait Implementations§
Source§impl Clone for DepthState
impl Clone for DepthState
impl Copy for DepthState
Auto Trait Implementations§
impl Forget for DepthState
impl Freeze for DepthState
impl RefUnwindSafe for DepthState
impl Send for DepthState
impl Sync for DepthState
impl Unpin for DepthState
impl UnsafeUnpin for DepthState
impl UnwindSafe for DepthState
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