Skip to main content

alpha2_shaders/transitions/
three_d.rs

1//! Bodies of the built-in transitions in the "3D" catalog group.
2
3/// Rotating cube transition body, with a floor reflection.
4pub const CUBE: &str = include_str!("../../shaders/runtime/transitions/cube.wgsl");
5/// Doors opening onto the incoming picture transition body.
6pub const DOORWAY: &str = include_str!("../../shaders/runtime/transitions/doorway.wgsl");
7/// Two cards swapping places transition body.
8pub const SWAP: &str = include_str!("../../shaders/runtime/transitions/swap.wgsl");
9/// Grid of flipping tiles transition body.
10pub const GRID_FLIP: &str = include_str!("../../shaders/runtime/transitions/grid-flip.wgsl");
11/// Diagonal wave of flipping tiles transition body.
12pub const TILES_WAVE: &str = include_str!("../../shaders/runtime/transitions/tiles-wave.wgsl");
13/// Book page turn transition body.
14pub const BOOK_FLIP: &str = include_str!("../../shaders/runtime/transitions/book-flip.wgsl");
15/// Flat card flip transition body.
16pub const SIMPLE_FLIP: &str = include_str!("../../shaders/runtime/transitions/simple-flip.wgsl");
17/// Page curling away transition body.
18pub const PAGE_PEEL: &str = include_str!("../../shaders/runtime/transitions/page-peel.wgsl");