Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#clearColor

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

Specifies the color values used when clearing color buffers.

Parameters

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