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

    What the sort needs from a renderer.

    interface GpuSortContext {
        device: GpuDevice;
        texture(texture: DataTexture): GpuTexture | null;
        buffer(attribute: BufferAttribute): GpuBuffer | null;
        readUint32(
            buffer: GpuBuffer,
            count: number,
        ): Promise<Uint32Array<ArrayBufferLike>>;
    }
    Index
    device: GpuDevice