Documentation
    Preparing search index...

    Interface ParticleAppearancePipeline

    The surface the draw loop needs from R-32's appearance program (ParticleAppearanceProgram): the billboard contract plus its two feature switches.

    interface ParticleAppearancePipeline {
        setModel(matrix: Matrix4): void;
        setProjection(matrix: Matrix4): void;
        setSceneDepth(bound: boolean, width?: number, height?: number): void;
        setUseMap(enabled: boolean): void;
        setView(matrix: Matrix4): void;
        use(): void;
    }

    Hierarchy (View Summary)

    Index
    • Selects the soft-particle depth comparison (off at this tier).

      Parameters

      • bound: boolean
      • Optionalwidth: number
      • Optionalheight: number

      Returns void

    • Selects whether this draw samples the bound particle texture.

      Parameters

      • enabled: boolean

      Returns void

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

      Parameters

      Returns void

    • Makes this the current program.

      Returns void