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

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

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

Parameters

program: WebGLProgram | null