Class TransformFeedbackSystem

TransformFeedbackSystem provides TransformFeedback of WebGL2 https://developer.mozilla.org/en-US/docs/Web/API/WebGLTransformFeedback

For example, you can use TransformFeedbackSystem to implement GPU Particle or general purpose computing on GPU (aka GPGPU).

It also manages a lifetime of GLTransformFeedback object

Memberof

PIXI

Implements

Constructors

Properties

CONTEXT_UID: number

Methods

  • Begin TransformFeedback

    Parameters

    • drawMode: DRAW_MODES

      DrawMode for TransformFeedback

    • Optional shader: Shader

      A Shader used by TransformFeedback. Current bound shader will be used if not provided.

    Returns void

  • Bind TransformFeedback and buffers

    Parameters

    Returns void

  • Generic destroy methods to be overridden by the subclass

    Returns void

  • Disposes TransfromFeedback

    Parameters

    • tf: TransformFeedback

      TransformFeedback

    • Optional contextLost: boolean

      If context was lost, we suppress delete TransformFeedback

    Returns void

  • End TransformFeedback

    Returns void

  • Unbind TransformFeedback

    Returns void

Generated using TypeDoc