@pmndrs/bvh
    Preparing search index...

    Function traceSourceFormats

    • The formats of buffers handed to a walk, checked: plain-JavaScript callers can leave a field out that the types require, and a guessed format would read the bytes wrongly. Throws a RangeError naming the missing field.

      Parameters

      • source: { nodeFormat?: unknown; positionLayout?: unknown; triangleLeaves?: unknown }
      • where: string

      Returns {
          nodeFormat: GpuLayoutNodeFormat;
          positionLayout: PositionLayout;
          triangleLeaves: GpuLayoutTriangleLeaves;
      }