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

    Function compactGSplatLabelIds

    • Compact exact unsigned ids into stable 1-based GPU indices.

      Parameters

      • values:
            | Uint8Array<ArrayBufferLike>
            | Uint32Array<ArrayBufferLike>
            | Uint16Array<ArrayBufferLike>
            | BigUint64Array<ArrayBufferLike>
      • vocabulary: Record<string, string>
      • Optionaltarget: Uint32Array<ArrayBufferLike>

      Returns GSplatLabelChannel