Firefox Tomorrow

web api instance method

WebGL2RenderingContext: getTransformFeedbackVarying() method

View on MDN ↗

Available in workers

The WebGL2RenderingContext.getTransformFeedbackVarying() method of the WebGL 2 API returns information about varying variables from WebGLTransformFeedback buffers.

Syntax

getTransformFeedbackVarying(program, index)

Parameters

  • program
  • index
    • : A GLuint specifying the index of the varying variable whose information to retrieve.

Return value

A WebGLActiveInfo object.

Examples

activeInfo = gl.getTransformFeedbackVarying(program, 0);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also