[][src]Enum miniquad::graphics::Equation

pub enum Equation {
    Add,
    Subtract,
    ReverseSubtract,
}

Specifies how incoming RGBA values (source) and the RGBA in framebuffer (destination) are combined.

Variants

Add

Adds source and destination. Source and destination are multiplied by blending parameters before addition.

Subtract

Subtracts destination from source. Source and destination are multiplied by blending parameters before subtraction.

ReverseSubtract

Subtracts source from destination. Source and destination are multiplied by blending parameters before subtraction.

Trait Implementations

impl Clone for Equation[src]

impl Copy for Equation[src]

impl Debug for Equation[src]

impl Default for Equation[src]

impl Eq for Equation[src]

impl From<Equation> for GLenum[src]

impl PartialEq<Equation> for Equation[src]

impl StructuralEq for Equation[src]

impl StructuralPartialEq for Equation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.