Documentation
    Preparing search index...

    Class SkinnedIdProgram

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

      Returns void

    • Uploads one encoded id colour (encodePickId's four floats).

      Parameters

      • encoded: Float32Array

      Returns void

    • Uploads the item's joint palette — 16 floats per joint, straight from the skeleton's own Float32Array. Uploading fewer matrices than the declared MAX_SKINNING_JOINTS leaves the dead tail untouched, which is legal GL (SkinnedUnlitProgram.setJointMatrices's contract).

      Parameters

      • palette: Float32Array

      Returns void

    • Uploads projection * view for the pass. Column-major (§7b).

      Parameters

      Returns void

    • Makes this the current program. Call before any upload below.

      Returns void