Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Interface GeometryCommitAdapter

    Per-type node placeholder + commit, both through real code.

    interface GeometryCommitAdapter {
        path: string;
        makeNode(capacity: number): Mesh;
        commit(
            loader: SceneLoader,
            count: number,
            extending?: boolean,
        ): Promise<void>;
    }
    Index
    path: string

    The scene-graph path this type's node lives at in makeCommitScene.

    • A node of this type, shaped the way its node loader leaves it before the first commit.

      Parameters

      • capacity: number

      Returns Mesh

    • Commit count elements to the node at path. With extending, the payload carries prefix lineage to the node's last commit — the proof a progressive ladder's next rung carries that it EXTENDS what is drawn (types/prefix-lineage.ts), which the instanced commits' append path keys on. Mesh ignores extending: its loader stamps no lineage and its commit rewrites the whole index buffer.

      Parameters

      • loader: SceneLoader
      • count: number
      • Optionalextending: boolean

      Returns Promise<void>