gpuweb 0.0.1-dev
gpuweb: ^0.0.1-dev copied to clipboard
WebGPU-spec GPU interfaces for Dart. Platform-agnostic abstractions for GPU adapter, device, buffer, texture, pipeline, encoder, and more.
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.
Related packages #
| 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.