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

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

Returns a new WebGLActiveInfo object describing the size, type and name of the vertex attribute at the passed index of the passed program object. If the passed index is out of range, generates an INVALID_VALUE error and returns null. Returns null if any OpenGL errors are generated during the execution of this function.

Parameters

program: WebGLProgram
index: number