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

    Interface DepthSortCompletion

    One depth-sort completion in the dedicated MONOTONIC event stream (issue #711). A completion is recorded once per APPLIED ordering by the depth-sort coordinator. Unlike the aggregate 'Depth Sort' profiler root, this stream retains an individual event for every application, so several completions between two consumer polls are sampled separately. Consumed by the orbit perf bench, which drains every completion since its previous poll.

    interface DepthSortCompletion {
        seq: number;
        lastMs: number;
        kernelMs: number | null;
        boundaryMs: number | null;
        queueMs: number | null;
        elements: number | null;
    }
    Index
    seq: number

    Monotonic completion index, starting at 1 (independent of sortSeq).

    lastMs: number

    Dispatch→applied round-trip latency, ms.

    kernelMs: number | null

    ms inside the backend sort_splats_by_depth call, or null if unknown.

    boundaryMs: number | null

    Worker-side overhead around the kernel (workerMs − kernelMs), or null.

    queueMs: number | null

    Round-trip minus worker time (Comlink + clone + queueing), or null.

    elements: number | null

    Element count in the applied ordering (points / segments / splats / triangles), or null if unknown.