Documentation
    Preparing search index...

    Interface ParticleBillboardPipeline

    The surface the draw loop needs from the plain billboard program (ParticleProgram) and the trail program (ParticleTrailProgram) — the same three uploads, so one structural contract serves both.

    interface ParticleBillboardPipeline {
        setModel(matrix: Matrix4): void;
        setProjection(matrix: Matrix4): void;
        setView(matrix: Matrix4): void;
        use(): void;
    }

    Hierarchy (View Summary)

    Index
    • Uploads one system's world matrix.

      Parameters

      Returns void

    • Uploads the camera's projection, once per view.

      Parameters

      Returns void

    • Uploads the camera's view matrix, once per view.

      Parameters

      Returns void

    • Makes this the current program.

      Returns void