Skip to main content

alpha2_shaders/effects/
color.rs

1//! Bodies of the built-in effects in the "Color" catalog group.
2
3/// Author body for the built-in resource-backed 3D LUT effect.
4pub const LUT_3D_BODY: &str = include_str!("../../shaders/runtime/effects/lut-3d.wgsl");
5/// Built-in exposure, contrast, saturation, temperature, and tint body.
6pub const COLOR_CONTROLS: &str = include_str!("../../shaders/runtime/effects/color-controls.wgsl");
7/// Built-in invert body.
8pub const INVERT: &str = include_str!("../../shaders/runtime/effects/invert.wgsl");
9/// Built-in black-and-white channel mixer body.
10pub const BLACK_AND_WHITE: &str =
11    include_str!("../../shaders/runtime/effects/black-and-white.wgsl");
12/// Built-in sepia body.
13pub const SEPIA: &str = include_str!("../../shaders/runtime/effects/sepia.wgsl");
14/// Built-in two-color duotone body.
15pub const DUOTONE: &str = include_str!("../../shaders/runtime/effects/duotone.wgsl");
16/// Built-in three-color gradient map body.
17pub const GRADIENT_MAP: &str = include_str!("../../shaders/runtime/effects/gradient-map.wgsl");
18/// Built-in posterize body.
19pub const POSTERIZE: &str = include_str!("../../shaders/runtime/effects/posterize.wgsl");
20/// Built-in black-and-white threshold body.
21pub const THRESHOLD: &str = include_str!("../../shaders/runtime/effects/threshold.wgsl");
22/// Built-in levels body.
23pub const LEVELS: &str = include_str!("../../shaders/runtime/effects/levels.wgsl");
24/// Built-in hue, saturation, and lightness body.
25pub const HUE_SATURATION: &str = include_str!("../../shaders/runtime/effects/hue-saturation.wgsl");
26/// Built-in vibrance body.
27pub const VIBRANCE: &str = include_str!("../../shaders/runtime/effects/vibrance.wgsl");
28/// Built-in channel mixer body.
29pub const CHANNEL_MIXER: &str = include_str!("../../shaders/runtime/effects/channel-mixer.wgsl");
30/// Built-in lift, gamma, and gain body.
31pub const LIFT_GAMMA_GAIN: &str =
32    include_str!("../../shaders/runtime/effects/lift-gamma-gain.wgsl");
33/// Built-in color isolate (one hue kept) body.
34pub const COLOR_ISOLATE: &str = include_str!("../../shaders/runtime/effects/color-isolate.wgsl");
35/// Built-in solarize body.
36pub const SOLARIZE: &str = include_str!("../../shaders/runtime/effects/solarize.wgsl");
37/// Built-in color fill body.
38pub const FILL: &str = include_str!("../../shaders/runtime/effects/fill.wgsl");