File loading primitive shared by every SDK loader.
The io module abstracts the "go fetch a file" step so loader
code calls a single FileIO interface and stays
portable. The shipped implementation is
BrowserFileIO, which fetches over
HTTP(S) and returns a Blob. A Node implementation hasn't been
ported yet.
Features
One interface — FileIO is the contract
every loader codes against. Hosts that need a different
transport (a CDN sidecar, an in-memory test fixture) supply
their own implementation.
CrossPlatformBlob — uniform Blob-like with
arrayBuffer() / text() / json().
xeokit File I/O
File loading primitive shared by every SDK loader.
The
iomodule abstracts the "go fetch a file" step so loader code calls a single FileIO interface and stays portable. The shipped implementation is BrowserFileIO, which fetches over HTTP(S) and returns aBlob. A Node implementation hasn't been ported yet.Features
arrayBuffer()/text()/json().Installation
Quick Start