NONE constant

BlendMode const NONE

Works only in WebGL and may improve performance for big background images withoug alpha. The source pixels are not blended with the destination pixels and therefore the GPU does not read the color from the destination pixels.

Implementation

static const BlendMode NONE =
    BlendMode(gl.WebGL.ONE, gl.WebGL.ZERO, 'source-over');