OptionaldecoderA ready draco3d decoder module, as createDecoderModule resolves. When
omitted, one is created from the draco3d package and shared across
calls. Pass one in to reuse a module (or to supply the .wasm in an
environment the default lookup cannot reach, like a bundled Worker).
OptionalwasmThe decoder .wasm bytes, forwarded to createDecoderModule when the
shared module is created. Bundlers cannot always locate draco3d's own
.wasm next to its glue (Vite workers, inlined builds): fetch the
decoder asset (a ?url import of draco3d/draco_decoder.wasm) and pass
its bytes here. Ignored when decoderModule is given.
Options of decodeDraco and importGLTFAsync.