Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#getAttribLocation

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

Returns the location of an attribute variable in a given WebGLProgram.

Parameters

program: WebGLProgram
name: string