Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Allocate a color buffer matching dtype. Encoded sources always go through Float32 (decoding produces floats); for unencoded sources we preserve the native uint8/uint16 type so THREE.js's normalization runs correctly downstream.

      Parameters

      • totalElements: number
      • isEncoded: boolean
      • dtype: string

      Returns ColorBuffer