JSPM

@loaders.gl/loader-utils

4.4.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1018553
  • Score
    100M100P100Q212184F
  • License MIT

Framework-independent loaders for 3D graphics formats

Package Exports

  • @loaders.gl/loader-utils

Readme

@loaders.gl/loader-utils

This module contains shared utilities for loaders.gl, a collection of framework-independent 3D and geospatial loaders (parsers).

For documentation please visit the website.

Binary iterator utilities

@loaders.gl/loader-utils includes helpers such as concatenateArrayBuffersAsync that operate over ArrayBuffer, ArrayBufferView, and ArrayBufferLike inputs (including SharedArrayBuffer). These utilities make it easy to normalize streamed binary data before handing it off to loaders. Chunks backed by SharedArrayBuffer or typed array views are copied into standalone ArrayBuffer instances so byte offsets and underlying storage quirks never corrupt concatenated output.