Renderer · function

blendCovering

The same three on WebGL2, as the alpha half of blendFuncSeparate beside the colour half a caller already had. src and dst are the colour factors.

Explained in Hello world.

function blendCovering(gl: WebGL2RenderingContext, src: number, dst: number): void
import { blendCovering } from '@driftengine/core';

Parameters

ParameterTypeDescription
glWebGL2RenderingContext
srcnumber
dstnumber