Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#useProgram

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

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

Parameters

program: WebGLProgram | null