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

    The pre-commit facts planInstancedOrdering decides from.

    interface InstancedOrderingInput {
        geometry: BufferGeometry;
        prevGeometry: BufferGeometry;
        prevDrawnCount: number;
        hadCommittedData: boolean;
        prevCount: number | undefined;
        count: number;
        attributesRebuilt: boolean;
        prefixParent: unknown;
        committedData: unknown;
        prefixReusable: boolean;
    }
    Index
    geometry: BufferGeometry

    The geometry the pool just acquired for this commit.

    prevGeometry: BufferGeometry

    The mesh's geometry before the acquire.

    prevDrawnCount: number

    prevGeometry.instanceCount read BEFORE the acquire: a pool grow releases the old geometry without ending its held draw, so this is the count that was actually on screen.

    hadCommittedData: boolean
    prevCount: number | undefined

    The element count the previous commit recorded.

    count: number

    This commit's (capacity-clamped) element count.

    attributesRebuilt: boolean
    prefixParent: unknown

    getPrefixParent of this commit's data (read before it is consumed).

    committedData: unknown

    getCommittedData of the mesh: what its last commit uploaded.

    prefixReusable: boolean

    The GPU still holds the committed prefix exactly as this commit would write it (gpuPrefixIntact plus each type's parity conjuncts), so the texel upload may be suffix-only.