Documentation
    Preparing search index...

    Class SkinnedUnlitProgram

    The skinned flat-colour pipeline (§54, §57; RFC 0003) — UnlitProgram's contract plus SkinnedUnlitProgram.setJointMatrices. See that class for every inherited rule (mirror-at-GL-initial features, lazy sampler, dispose-on-live-context-only); only what skinning adds is documented here.

    Implements

    Index
    • get disposed(): boolean

      Whether SkinnedUnlitProgram.dispose has run.

      Returns boolean

    • Deletes the GL program (§83). Idempotent; live context only.

      Returns void

    • Uploads the material colour, scaled by its opacity.

      Parameters

      • color: readonly [number, number, number, number]
      • Optionalopacity: number

      Returns void

    • Selects the map and vertex-colour multipliers, mirrored on change.

      Parameters

      • useMap: boolean
      • useVertexColors: boolean

      Returns void

    • Uploads the draw's joint palette (§54). Unconditional — a palette changes per skeleton per frame, so there is nothing to mirror.

      Parameters

      • palette: Float32Array

      Returns void

    • Uploads one render item's world matrix.

      Parameters

      Returns void

    • Makes this the current program.

      Returns void