Firefox Tomorrow

web api instance method

WebGL2RenderingContext: bindTransformFeedback() method

View on MDN ↗

Available in workers

The WebGL2RenderingContext.bindTransformFeedback() method of the WebGL 2 API binds a passed WebGLTransformFeedback object to the current GL state.

Syntax

bindTransformFeedback(target, transformFeedback)

Parameters

  • target
    • : A GLenum specifying the target (binding point). Must be gl.TRANSFORM_FEEDBACK.
  • transformFeedback

Return value

None (undefined).

Examples

const transformFeedback = gl.createTransformFeedback();
gl.bindTransformFeedback(gl.TRANSFORM_FEEDBACK, transformFeedback);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also