Documentation
    Preparing search index...

    Class IdPassProgram

    The compiled id program — UnlitProgram's creation and upload discipline over the two sources above. Compiled lazily by WebglPickingService on its first pass, never at registration or service creation.

    Index
    • get disposed(): boolean

      Whether IdPassProgram.dispose has run.

      Returns boolean

    • 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 one item's world matrix.

      Parameters

      Returns void

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

      Parameters

      Returns void

    • Makes this the current program. Once per pass, before any upload.

      Returns void

    • Compiles and links the id program on gl — UnlitProgram.create's contract: throws SHADER_COMPILATION_FAILED (§89) with the driver's log attached, deletes shader objects on every path.

      Parameters

      Returns IdPassProgram