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

    Function decode_broadcasted

    • Broadcast a single value to all points.

      Contract: value.length must be either 1 (scalar broadcast to all elementsPerPoint slots) or exactly elementsPerPoint (per-element vector replicated across every point). Any other length is rejected because the previous "mixed broadcast" semantics produced surprising rows like [v0, v1, v0] for value.length=2, elementsPerPoint=3.

      Parameters

      • value: Float32Array
      • numPoints: number
      • elementsPerPoint: number
      • output: Float32Array

      Returns void