webgpu_interop
Dart interop for web applications
Roadmap
x
it worksx
script for IDL update
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.