Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/caviar/deps.ts>WebGLRenderingContext#blendFuncSeparate

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
method WebGLRenderingContext.prototype.blendFuncSeparate
import { WebGLRenderingContext } from "https://deno.land/x/caviar@2.6.3/deps.ts";

Defines which function is used for blending pixel arithmetic for RGB and alpha components separately.

Parameters

srcRGB: number
dstRGB: number
srcAlpha: number
dstAlpha: number