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

x/caviar/deps.ts>WebGLRenderingContext#useProgram

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

Sets the specified WebGLProgram as part of the current rendering state.

Parameters

program: WebGLProgram | null