WebGLActiveInfo

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

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.

Instance properties

WebGLActiveInfo.name

The read-only name of the requested variable.

WebGLActiveInfo.size

The read-only size of the requested variable.

WebGLActiveInfo.type

The read-only type of the requested variable.

Examples

Specifications

Specification
WebGL Specification
# 5.11

Browser compatibility

BCD tables only load in the browser

See also