MDN self-hosted library · e01.org

WebGLActiveInfo

WebGL

no runnable cells web-api-interface upstream source

WebGL

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 name of the requested variable.
  • WebGLActiveInfo.size
  • : The size of the requested variable.
  • WebGLActiveInfo.type
  • : The type of the requested variable.

Examples

A WebGLActiveInfo object is returned by:

  • WebGLRenderingContext.getActiveAttrib()
  • WebGLRenderingContext.getActiveUniform() or
  • WebGL2RenderingContext.getTransformFeedbackVarying()

Specifications

Browser compatibility

See also

  • WebGLRenderingContext.getActiveAttrib()
  • WebGLRenderingContext.getActiveUniform()