naga_dart 0.0.1
naga_dart: ^0.0.1 copied to clipboard
Dart bindings for naga - WGSL validation and shader compilation.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add naga_dartWith Flutter:
$ flutter pub add naga_dartThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
naga_dart: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:naga_dart/naga_dart.dart';