webgpu_interop 0.9.0 copy "webgpu_interop: ^0.9.0" to clipboard
webgpu_interop: ^0.9.0 copied to clipboard

Platformweb

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.

1
likes
140
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

Dart interop for web applications

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

web

More

Packages that depend on webgpu_interop