naga 0.0.1-dev
naga: ^0.0.1-dev copied to clipboard
Dart FFI bindings for naga — WGSL validation, shader translation, and reflection. Compile WGSL to SPIR-V, MSL, HLSL, and GLSL.
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.