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

    Type Alias SyntheticInjectionResult

    SyntheticInjectionResult:
        | {
            type: "lines";
            segmentCount: number;
            elementCount: number;
            mesh: THREE.Mesh;
        }
        | {
            type: "points";
            pointCount: number;
            elementCount: number;
            mesh: THREE.Mesh;
        }
        | {
            type: "gsplats";
            splatCount: number;
            elementCount: number;
            mesh: THREE.Mesh;
        }

    Result of injecting a synthetic scene. Returned to the caller so the perf bench can read back the actual element count and pass it to its result JSON. elementCount is uniform across types (and is the CLAMPED drawn count — see the per-node texture capacity clamps); the per-type aliases (segmentCount / pointCount / splatCount) carry the REQUESTED count and preserve the original lines shape.