Runs EXT_meshopt_compression decoding in a pool of Web Workers instead
of the main thread. meshopt's own decode is cheap per call, but a file
can carry many compressed bufferViews (one per attribute stream); a
pool decodes them concurrently and keeps the main thread free for
everything else loading in parallel - other bufferViews, images.
Spawns workers lazily, up to workerLimit, running
dist/meshopt-worker.js, which import()s the actual decoder module
from moduleUrl (never bundled by magic-pixels) the first time it is
asked to decode.
Runs
EXT_meshopt_compressiondecoding in a pool of Web Workers instead of the main thread. meshopt's own decode is cheap per call, but a file can carry many compressed bufferViews (one per attribute stream); a pool decodes them concurrently and keeps the main thread free for everything else loading in parallel - other bufferViews, images. Spawns workers lazily, up toworkerLimit, runningdist/meshopt-worker.js, whichimport()s the actual decoder module frommoduleUrl(never bundled by magic-pixels) the first time it is asked to decode.