@downdraft/platform-native
v0.11.0
Published
Native platform bindings — the Rust libdowndraft_platform cdylib (wgpu + winit + cosmic-text + image + naga) and the native device layer DownDraft runs on.
Readme
@downdraft/platform-native
Native platform bindings — the Rust downdraft_platform cdylib (winit + wgpu + cosmic-text + image + naga) and the native device layer Downdraft runs on. Prebuilt binaries install automatically via platform packages or bun run fetch:native; build locally with bun run build:native.
Install
bun add @downdraft/platform-nativeKey exports
NativeCanvas2DNativeCanvasContextNativeImageBitmapNativeSurfaceNativeWindowVirtualCanvasVirtualCanvasContextWgpuAdapterWgpuBindGroupWgpuBindGroupLayout- …and 31 more
See the Downdraft engine repository for architecture docs and examples.
