1. Web
  2. Web APIs
  3. WebGLActiveInfo

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.

* 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.

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

A WebGLActiveInfo object is returned by:

Specifications

Specification
WebGL Specification
# 5.11

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /