diff options
Diffstat (limited to 'src/components.rs')
-rw-r--r-- | src/components.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components.rs b/src/components.rs new file mode 100644 index 0000000..837ccd9 --- /dev/null +++ b/src/components.rs @@ -0,0 +1,9 @@ +use bevy::{prelude::*, render::{render_resource::ShaderType, extract_component::ExtractComponent}}; + +#[derive(Component, ShaderType, ExtractComponent, PartialEq, Clone, Default)] +pub struct OutlinePostProcessSettings { + pub weight: f32, + pub threshold: f32, + #[cfg(feature = "webgl2")] + _padding: Vec2, +} |