reflow_shader 0.2.1

Shader graph IR and WGSL material code generation for Reflow.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Reflow Shader Graph — node-based material system with WGSL codegen.
//!
//! Follows the SDF IR + codegen pattern:
//! 1. DAG actors produce `ShaderNode` IR trees
//! 2. `codegen::compile()` walks the tree and emits WGSL shaders
//! 3. Scene render creates GPU pipelines from compiled materials

pub mod codegen;
pub mod ir;

pub use codegen::{compile, compile_sdf_shade};
pub use ir::{CompiledMaterial, MathOpType, MixMode, ShaderNode};