Enum glenum::BlendEquation [] [src]

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

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

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

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

Trait Implementations

impl Debug for BlendEquation
[src]

[src]

Formats the value using the given formatter.

impl Clone for BlendEquation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BlendEquation
[src]