Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

WebGLActiveInfo

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

The WebGLActiveInfo interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.

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:

WebGLActiveInfo? getActiveAttrib(WebGLProgram? program, GLuint index); 
WebGLActiveInfo? getActiveUniform(WebGLProgram? program, GLuint index);
WebGLActiveInfo? getTransformFeedbackVarying(WebGLProgram? program, GLuint index)

Specifications

Specification Status Comment
WebGL 1.0
The definition of 'WebGLActiveInfo' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 9 4.0 (2.0) 11 12 5.1
Available in workers No support 44 (44) [1] No support No support No support
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? 25 (Yes) ? 12 8.1
Available in workers No support No support 44.0 (44) [1] No support No support No support

[1] This feature is behind a feature preference setting. In about:config, set gfx.offscreencanvas.enabled to true.

See also

Etiquetas do documento e colaboradores

Etiquetas: 
 Colaboradores desta página: fscholz, snnopy
 Última atualização por: fscholz,