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

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

Return a new WebGLUniformLocation that represents the location of a specific uniform variable within a program object. The return value is null if name does not correspond to an active uniform variable in the passed program.

Parameters

program: WebGLProgram
name: string