pub struct DepthTest {
pub fun: Comparison,
pub write: bool,
}Expand description
Depth test state.
Fields§
§fun: ComparisonComparison function to use.
write: boolSpecify whether to write to the depth buffer or not.
Implementations§
Trait Implementations§
Source§impl Ord for DepthTest
impl Ord for DepthTest
Source§impl PartialOrd for DepthTest
impl PartialOrd for DepthTest
impl Copy for DepthTest
impl Eq for DepthTest
impl StructuralPartialEq for DepthTest
Auto Trait Implementations§
impl Freeze for DepthTest
impl RefUnwindSafe for DepthTest
impl Send for DepthTest
impl Sync for DepthTest
impl Unpin for DepthTest
impl UnwindSafe for DepthTest
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