tessera_ui_basic_components/pipelines/blur/
command.rs

1use tessera_ui::ComputeCommand;
2
3/// A synchronous command to execute a gaussian blur.
4/// BlurCommand only describes blur parameters
5pub struct BlurCommand {
6    /// Blur radius.
7    pub radius: f32,
8    /// Blur direction: (1.0, 0.0) for horizontal, (0.0, 1.0) for vertical.
9    pub direction: (f32, f32),
10}
11
12impl ComputeCommand for BlurCommand {}