Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#getAttribLocation

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

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

Parameters

program: WebGLProgram
name: string