web api instance method
WebGL2RenderingContext: bindTransformFeedback() method
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
GLenumspecifying the target (binding point). Must begl.TRANSFORM_FEEDBACK.
- : A
transformFeedback- : A
WebGLTransformFeedbackobject to bind.
- : A
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.