Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#getUniformLocation

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Latest
method WebGLRenderingContext.prototype.getUniformLocation
import { WebGLRenderingContext } from "https://deno.land/x/caviar@2.6.7/deps.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