MCPcopy
hub / github.com/CesiumGS/cesium / initializeDecoder

Function initializeDecoder

packages/engine/Source/Scene/I3SDecoder.js:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29I3SDecoder._promise = undefined;
30
31async function initializeDecoder() {
32 const result = await I3SDecoder._decodeTaskProcessor.initWebAssemblyModule({
33 wasmBinaryFile: "ThirdParty/draco_decoder.wasm",
34 });
35 if (result) {
36 return I3SDecoder._decodeTaskProcessor;
37 }
38
39 throw new RuntimeError("I3S decoder could not be initialized.");
40}
41
42/**
43 * Transcodes I3S to glTF in a web worker

Callers 1

I3SDecoder.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…