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

x/gluten/src/webgl/mod.ts>WebGLRenderingContext#blendColor

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.blendColor
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.0/src/webgl/mod.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