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#clearColor

OpenGL bindings & WebGL API implementation for Deno.
Latest
method WebGLRenderingContext.prototype.clearColor
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.7/src/webgl/mod.ts";

Specifies the color values used when clearing color buffers.

Parameters

r: number
g: number
b: number
a: number