Class: TransformFeedback

TransformFeedback()

new TransformFeedback()

Tranform feedback object.
Properties:
Name Type Description
gl WebGLRenderingContext The WebGL context.
transformFeedback WebGLTransformFeedback Transform feedback object.
appState Object Tracked GL state.
Source:

Methods

delete() → {TransformFeedback}

Delete this transform feedback.
Source:
Returns:
The TransformFeedback object.
Type
TransformFeedback

feedbackBuffer(index, buffer) → {TransformFeedback}

Bind a feedback buffer to capture transform output.
Parameters:
Name Type Description
index number Index of transform feedback varying to capture.
buffer VertexBuffer Buffer to record output into.
Source:
Returns:
The TransformFeedback object.
Type
TransformFeedback

restore() → {TransformFeedback}

Restore transform feedback after context loss.
Source:
Returns:
The TransformFeedback object.
Type
TransformFeedback