Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#useProgram

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

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

Parameters

program: WebGLProgram | null