diff options
author | Silas Bartha <[email protected]> | 2024-04-23 13:20:51 -0400 |
---|---|---|
committer | Silas Bartha <[email protected]> | 2024-04-23 13:20:51 -0400 |
commit | 2e8780e8050e262db0917ef71304457dd65295ff (patch) | |
tree | a7b23226fb6e6becb463dc4255ec37c8553d41fd /src/components.rs |
Initial Commit
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, +} |