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

    Module tests/e2e/harnesses/gpu-sort-harness

    GPU depth-sort harness (/gpu-sort-harness.html).

    Runs GpuDepthSorter on a real WebGPU device against synthetic element textures and checks its order against the CPU kernel the SortWorker runs (wasm/typescript/depth-sort.ts), inside the page, so a 10M-element case returns a summary rather than 40 MB of indices.

    Exposes window.__gpuSortHarness.run(spec) and runSequence(specs). It fails closed without a hardware adapter unless the URL carries ?allowFallbackAdapter.

    GpuSortCase
    GpuSortReport