webgpu_interop 0.9.0
webgpu_interop: ^0.9.0 copied to clipboard
Dart interop for web applications
webgpu_interop #
Dart interop for web applications
Roadmap #
- ✅ it works
- ✅ script for IDL update
- ❌ compute example
Getting started #
Install package, web builder and activate webdev
dart create -t web quickstart
dart pub add webgpu_interop
dart pub global activate webdev
Add
webdev serve web:3000 --release --auto restart
Usage #
Try with triangle example in repo at first.
dart pub global activate webdev
webdev serve example:3000 --release --auto restart
Adopt any sample in JS to Dart. If something wrong with webdev
try to deactive or remove .dart_tool
.
Additional information #
This library is created directly from WebIDL with web_generator and patched. For this you will need latest SDK.