web api instance method
WebGL2RenderingContext: pauseTransformFeedback() method
Available in workers
The WebGL2RenderingContext.pauseTransformFeedback()
method of the WebGL 2 API pauses a transform
feedback operation.
Syntax
pauseTransformFeedback()
Parameters
None.
Return value
None (undefined).
Examples
const transformFeedback = gl.createTransformFeedback();
gl.bindTransformFeedback(gl.TRANSFORM_FEEDBACK, transformFeedback);
gl.beginTransformFeedback(gl.TRIANGLES);
gl.pauseTransformFeedback();
// …
gl.resumeTransformFeedback();
gl.drawArrays(gl.TRIANGLES, 0, 3);
gl.endTransformFeedback();
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.