[][src]Enum uni_gl::BlendEquation

pub enum BlendEquation {
    FuncAdd,
    FuncSubstract,
    FuncReverseSubtract,
}

Constants passed to WebGLRenderingContext.blendEquation() or WebGLRenderingContext.blendEquationSeparate() to control how the blending is calculated (for both, RBG and alpha, or separately).

Variants

FuncAdd

Passed to blendEquation or blendEquationSeparate to set an addition blend function.

FuncSubstract

Passed to blendEquation or blendEquationSeparate to specify a subtraction blend function (source - destination).

FuncReverseSubtract

Passed to blendEquation or blendEquationSeparate to specify a reverse subtraction blend function (destination - source).

Trait Implementations

impl Clone for BlendEquation[src]

impl Copy for BlendEquation[src]

impl Debug for BlendEquation[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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 = !

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.

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

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

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