wgpu

Dart FFI bindings for wgpu-native — cross-platform GPU access on desktop and mobile.

This package is under active development. The initial release is coming soon.

Replaces wgpu_dart.

Plan

wgpu provides low-level Dart bindings to wgpu-native, Mozilla's portable WebGPU implementation written in Rust. It implements the gpuweb interfaces, giving you GPU access on macOS, Windows, Linux, iOS, and Android.

Uses Dart Native Assets for automatic Rust compilation — no manual build scripts.

Package Description
gpuweb Interfaces this package implements
naga WGSL validation and shader compilation
gpux Cross-platform facade (auto-selects wgpu on native)

Part of the gpux GPU stack for Dart.

Libraries

wgpu
Dart FFI bindings for wgpu.