#[repr(u8)]pub enum EarlyDepthFunction {
GreaterOrEqual = 0,
Greater = 1,
LessOrEqual = 2,
Less = 3,
}Expand description
Early depth test functions.
Variants§
GreaterOrEqual = 0
Pass if greater than or equal.
Greater = 1
Pass if greater than.
LessOrEqual = 2
Pass if less than or equal.
Less = 3
Pass if less than.
Trait Implementations§
Source§impl Clone for EarlyDepthFunction
impl Clone for EarlyDepthFunction
Source§fn clone(&self) -> EarlyDepthFunction
fn clone(&self) -> EarlyDepthFunction
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EarlyDepthFunction
impl Debug for EarlyDepthFunction
Source§impl PartialEq for EarlyDepthFunction
impl PartialEq for EarlyDepthFunction
Source§impl TryFrom<u8> for EarlyDepthFunction
impl TryFrom<u8> for EarlyDepthFunction
impl Copy for EarlyDepthFunction
impl Eq for EarlyDepthFunction
impl StructuralPartialEq for EarlyDepthFunction
Auto Trait Implementations§
impl Freeze for EarlyDepthFunction
impl RefUnwindSafe for EarlyDepthFunction
impl Send for EarlyDepthFunction
impl Sync for EarlyDepthFunction
impl Unpin for EarlyDepthFunction
impl UnwindSafe for EarlyDepthFunction
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)