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): voidimport { blendCovering } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
gl | WebGL2RenderingContext | |
src | number | |
dst | number |