flutter3d_wgpu 1.0.0-rc.2
flutter3d_wgpu: ^1.0.0-rc.2 copied to clipboard
The compute sidecar for flutter3d: a compute-only GraphicsDevice over wgpu-native through dart:ffi, so compute steps run on the GPU when the drawing device has none.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter3d_wgpuWith Flutter:
$ flutter pub add flutter3d_wgpuThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter3d_wgpu: ^1.0.0-rc.2Alternatively, 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:flutter3d_wgpu/flutter3d_wgpu.dart';