Skip to main content

alpha2_shaders/effects/
mod.rs

1//! File-backed WGSL bodies for the built-in effects and the internal passes
2//! that draw them, one module per catalog group. [`EFFECT_HELPERS`] is
3//! prepended to every one of them.
4
5mod blur;
6mod color;
7mod distort;
8mod keying;
9mod stylize;
10
11pub use blur::*;
12pub use color::*;
13pub use distort::*;
14pub use keying::*;
15pub use stylize::*;
16
17/// Color, noise and coordinate helpers shared by the built-in effect bodies.
18pub const EFFECT_HELPERS: &str = include_str!("../../shaders/runtime/effects/helpers.wgsl");
19/// Body of a public effect the render graph expands into internal passes.
20pub const EXPANDED_EFFECT: &str = include_str!("../../shaders/runtime/effects/expanded.wgsl");