Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#blendColor

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

Sets the source and destination blending factors.

Parameters

r: number

red value

g: number

green value

b: number

blue value

a: number

alpha value