Skip to main content

alpha2_shaders/effects/
keying.rs

1//! Bodies of the built-in effects in the "Keying" catalog group.
2
3/// Author body for the built-in chroma-key effect.
4pub const CHROMA_KEY_BODY: &str = include_str!("../../shaders/runtime/effects/chroma-key.wgsl");
5/// Built-in luma-key body.
6pub const LUMA_KEY: &str = include_str!("../../shaders/runtime/effects/luma-key.wgsl");
7/// Built-in spill-suppression body.
8pub const SPILL_SUPPRESS: &str = include_str!("../../shaders/runtime/effects/spill-suppress.wgsl");
9/// Built-in alpha levels body.
10pub const ALPHA_ADJUST: &str = include_str!("../../shaders/runtime/effects/alpha-adjust.wgsl");
11/// Built-in matte erode and dilate body.
12pub const MATTE_CHOKER: &str = include_str!("../../shaders/runtime/effects/matte-choker.wgsl");
13/// Built-in body keeping the source where its `matte` input covers it.
14pub const SET_MATTE: &str = include_str!("../../shaders/runtime/effects/set-matte.wgsl");