wgpu 0.1.0 copy "wgpu: ^0.1.0" to clipboard
wgpu: ^0.1.0 copied to clipboard

Dart FFI bindings for wgpu. Metal, Vulkan, DX12.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add wgpu

With Flutter:

 $ flutter pub add wgpu

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  wgpu: ^0.1.0

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:wgpu/wgpu.dart';
0
likes
140
points
104
downloads

Documentation

API reference

Publisher

verified publisherdartgfx.dev

Weekly Downloads

Dart FFI bindings for wgpu. Metal, Vulkan, DX12.

Repository (GitHub)
View/report issues

Topics

#gpu #webgpu #graphics #ffi

License

MIT (license)

Dependencies

code_assets, ffi, gpuweb, hooks, native_toolchain_rust

More

Packages that depend on wgpu