gpuweb

Platform-agnostic WebGPU interfaces for Dart.

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

Plan

gpuweb defines abstract interfaces that mirror the WebGPU specification: adapter, device, buffer, texture, pipeline, bind group, command encoder, render pass, compute pass, and more.

It contains no implementation — just the contract. Backend packages (gpuweb_js for web, wgpu for native) provide concrete implementations.

Package Description
gpuweb_js Web implementation via dart:js_interop
wgpu Native implementation via wgpu FFI
gpux Cross-platform facade (auto-selects backend)
flutter_webgpu Flutter widget for web GPU rendering
flutter_gpux Flutter widget for cross-platform GPU rendering

Part of the gpux GPU stack for Dart.

Libraries

gpuweb
WebGPU-spec GPU interfaces for Dart.