Enum wgpu_types::CompareFunction [−][src]
#[repr(C)] pub enum CompareFunction { Never, Less, Equal, LessEqual, Greater, NotEqual, GreaterEqual, Always, }
Expand description
Comparison function used for depth and stencil operations.
Variants
Function never passes
Function passes if new value less than existing value
Function passes if new value is equal to existing value
Function passes if new value is less than or equal to existing value
Function passes if new value is greater than existing value
Function passes if new value is not equal to existing value
Function passes if new value is greater than or equal to existing value
Function always passes
Implementations
Returns true if the comparison depends on the reference value.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompareFunction
impl Send for CompareFunction
impl Sync for CompareFunction
impl Unpin for CompareFunction
impl UnwindSafe for CompareFunction
Blanket Implementations
Mutably borrows from an owned value. Read more