Documentation
    Preparing search index...

    Class SkinnedShadowProgram

    The depth-only skinned caster pipeline (§69, RFC 0003 residue) — ShadowProgram's contract plus SkinnedShadowProgram.setJointMatrices.

    Compiled lazily on the first skinned caster, never with the colour pair and never at initialize: a skinned mesh that does not cast must not add a third createProgram.

    Implements

    Index
    • get disposed(): boolean

      Returns boolean

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

      Returns void

    • Uploads the item's joint palette — 16 floats per joint (§54).

      Parameters

      • palette: Float32Array

      Returns void

    • Uploads one caster's world matrix.

      Parameters

      Returns void

    • Uploads the light's shadow view-projection, once per shadow pass.

      Parameters

      Returns void

    • Makes this the current program.

      Returns void

    • Compiles and links the skinned caster on gl.

      Fails exactly as ShadowProgram.create does — the messages name "skinned-shadow" and the §89 code is the same.

      Parameters

      Returns SkinnedShadowProgram