The wasm heap as bytes — the one heap view the SDK marshals through.
OptionalWebEmscripten's WebGPU object managers (exported via EXPORTED_RUNTIME_METHODS).
OptionalspecialEmscripten's special event-target registry — where the SDK registers a host canvas.
OptionalpreinitializedA device the host created and shared before boot (Emscripten's opt-in path).
The complete WebDocs C ABI (
wdoc_sdk_*) plus the Emscripten runtime. Handles are numeric wasm-side indices; string and byte arguments are(pointer, length)pairs into the shared marshalling scratch. This is the single wasm contract the SDK depends on.