naga
Dart FFI bindings for naga — WGSL validation, shader translation, and reflection.
This package is under active development. The initial release is coming soon.
Replaces naga_dart.
Plan
naga provides Dart bindings to Mozilla's naga shader compiler. Validate WGSL, translate between shader languages (WGSL, SPIR-V, MSL, HLSL, GLSL), and extract shader reflection metadata.
Uses Dart Native Assets for automatic Rust compilation — no manual build scripts.
Related packages
| Package | Description |
|---|---|
| wgpu | Native GPU access (uses naga internally) |
| gpux | Cross-platform GPU facade |
Part of the gpux GPU stack for Dart.
Libraries
- naga
- Dart FFI bindings for naga.