This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
* Some parts of this feature may have varying levels of support.
Note: This feature is available in Web Workers.
The WebGLActiveInfo interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
WebGLActiveInfo.nameThe read-only name of the requested variable.
WebGLActiveInfo.sizeThe read-only size of the requested variable.
WebGLActiveInfo.typeThe read-only type of the requested variable.
A WebGLActiveInfo object is returned by:
WebGLRenderingContext.getActiveAttrib()WebGLRenderingContext.getActiveUniform() orWebGL2RenderingContext.getTransformFeedbackVarying()| Specification |
|---|
| WebGL Specification> # 5.11> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
WebGLActiveInfo |
10 | 12 | 4 | 12 | 5.1 | 25 | 4 | 12 | 8 | 1.5 | 4.4 | 8 |
name |
10 | 12 | 4 | 12 | 5.1 | 25 | 4 | 12 | 8 | 1.5 | 4.4 | 8 |
size |
10 | 12 | 4 | 12 | 5.1 | 25 | 4 | 12 | 8 | 1.5 | 4.4 | 8 |
type |
10 | 12 | 4 | 12 | 5.1 | 25 | 4 | 12 | 8 | 1.5 | 4.4 | 8 |
worker_support |
No | No | 105 | No | No | No | 105 | No | No | No | No | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo