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

    Interface DrawOrderEntry

    One data mesh's cross-node draw-order record, reported by window.__luxarDebug.getDrawOrder(). Mirrors what the depth-sort coordinator's renderOrder pass and the material's blending state decide, so a viewer bug (a backdrop drawn after the content in front of it) can be diagnosed from the console without a renderer capture.

    interface DrawOrderEntry {
        path: string;
        bucket: "opaque" | "transparent";
        depthWrite: boolean;
        renderOrder: number;
        elements: number;
    }
    Index
    path: string

    Scene-graph path / name of the mesh (node-factory stamps mesh.name = path).

    bucket: "opaque" | "transparent"

    Blending bucket: 'transparent' sorts, 'opaque' is drawn depth-first. THREE renders the whole opaque list before the transparent list, so the bucket outranks renderOrder in the effective draw order.

    depthWrite: boolean

    Whether this mesh writes depth (material.depthWrite).

    renderOrder: number

    Resolved mesh.renderOrder (ascending within a bucket → lowest drawn first).

    elements: number

    Drawn-primitive count for the node: points / segments / splats / TRIANGLES.

    Instanced types read instanceCount; mesh, which has no instances, reads the committed visibleTriangleCount through the shared per-type reader.