WebGLActiveInfo.name

The read-only WebGLActiveInfo.name property represents the name of the requested data returned by calling the getActiveAttrib() or getActiveUniform() methods.

Examples

var activeAttrib = gl.getActiveAttrib(program, index);
activeAttrib.name;

var activeUniform = gl.getActiveUniform(program, index);
activeUniform.name;

Specifications

Specification Status Comment
WebGL 1.0
The definition of 'WebGLActiveInfo.name' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Edge Firefox Internet Explorer Opera Safari Servo
Basic Support9124.011125.1No support
Feature Android Chrome for Android Edge Mobile Firefox for Android IE Mobile Opera Mobile Safari Mobile
Basic Support(Yes)25No support(Yes)11128.1

See also

Document Tags and Contributors

 Contributors to this page: teoli, fscholz
 Last updated by: teoli,