WebGLActiveInfo

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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebGLActiveInfo
name
size
type
Available in workers
Experimental

See also