ReadonlydeviceThe engine's WebGPU device, adapter, queue, and readiness lifecycle.
ReadonlypoisonWhether destroyed wrappers are poisoned (see AttachOptions.poisonDestroyed).
The deck facade of this engine build.
StaticattachAttach the SDK to a loaded WebDecks engine module. Asserts the ABI version (a hard failure on mismatch — there is no downgrade) and shares a host device if given.
Attach a live WebGPU view to a host canvas. The engine presents to it through the swapchain; resize and device-pixel-ratio are handled by the returned Viewport. A deck must be open first.
Close the deck, detach every viewport, and restore the global device hooks.
A loaded WebDecks engine module, driven through its stable, versioned C ABI (
wdeck_sdk_*). PresentationModule.attach asserts the ABI version, forwards any host-device option, and installs the device-lifecycle hooks. The deck facade is PresentationModule.presentations.