docs.rs failed to build awsm-renderer-codec-basis-0.22.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Async client for the Basis codec Web Worker
(web/workers/basis-worker.js), which hosts the vendored Basis Universal
modules off the main thread. The player uses transcode only; the encode
API exists behind the editor-only encoder feature.
Buffers cross the worker boundary as transferred ArrayBuffers (zero-copy
between threads). [BasisWorkerClient::transcode_js] is the transferable
fast path (levels stay as JS buffers, viewable for GPU upload without a
Rust-side copy); [BasisWorkerClient::transcode] is the owned convenience
path (Vec<u8> per level).
The worker never restarts itself; this client owns restart-on-fatal — a fatal worker error fails all in-flight requests and the next request spawns a fresh worker.