Skip to main content

flutter3d_wgpu 1.0.0-rc.2 copy "flutter3d_wgpu: ^1.0.0-rc.2" to clipboard
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_wgpu

With Flutter:

 $ flutter pub add flutter3d_wgpu

This 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.2

Alternatively, 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';
0
likes
140
points
127
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Topics

#gpu #compute #ffi #graphics

License

MIT (license)

Dependencies

archive, code_assets, crypto, ffi, flutter3d_foundation, flutter3d_hardware, flutter3d_shaders, hooks, logging, native_toolchain_c

More

Packages that depend on flutter3d_wgpu