Skip to main content

alpha2_shaders/effects/
distort.rs

1//! Bodies of the built-in effects in the "Distort" catalog group.
2
3/// Built-in pixelation body.
4pub const PIXELATE_EFFECT: &str = include_str!("../../shaders/runtime/effects/pixelate.wgsl");
5/// Built-in crop body.
6pub const CROP: &str = include_str!("../../shaders/runtime/effects/crop.wgsl");
7/// Built-in mirror body.
8pub const MIRROR: &str = include_str!("../../shaders/runtime/effects/mirror.wgsl");
9/// Built-in swirl body.
10pub const SWIRL_EFFECT: &str = include_str!("../../shaders/runtime/effects/swirl.wgsl");
11/// Built-in bulge body.
12pub const BULGE: &str = include_str!("../../shaders/runtime/effects/bulge.wgsl");
13/// Built-in wave warp body.
14pub const WAVE_WARP: &str = include_str!("../../shaders/runtime/effects/wave-warp.wgsl");
15/// Built-in ripple body.
16pub const RIPPLE_EFFECT: &str = include_str!("../../shaders/runtime/effects/ripple.wgsl");
17/// Built-in lens distortion body.
18pub const LENS_DISTORTION: &str =
19    include_str!("../../shaders/runtime/effects/lens-distortion.wgsl");
20/// Built-in polar coordinates body.
21pub const POLAR_COORDINATES: &str =
22    include_str!("../../shaders/runtime/effects/polar-coordinates.wgsl");
23/// Built-in offset body.
24pub const OFFSET: &str = include_str!("../../shaders/runtime/effects/offset.wgsl");
25/// Built-in corner pin body.
26pub const CORNER_PIN: &str = include_str!("../../shaders/runtime/effects/corner-pin.wgsl");
27/// Built-in shake body.
28pub const SHAKE: &str = include_str!("../../shaders/runtime/effects/shake.wgsl");
29/// Built-in turbulent displace body.
30pub const TURBULENT_DISPLACE: &str =
31    include_str!("../../shaders/runtime/effects/turbulent-displace.wgsl");
32/// Built-in displacement map body.
33pub const DISPLACEMENT_MAP: &str =
34    include_str!("../../shaders/runtime/effects/displacement-map.wgsl");
35/// Built-in kaleidoscope body.
36pub const KALEIDOSCOPE_EFFECT: &str =
37    include_str!("../../shaders/runtime/effects/kaleidoscope.wgsl");
38/// Built-in tile body.
39pub const TILE: &str = include_str!("../../shaders/runtime/effects/tile.wgsl");