diff options
author | Silas Bartha <[email protected]> | 2024-04-24 23:32:40 -0400 |
---|---|---|
committer | Silas Bartha <[email protected]> | 2024-04-24 23:32:40 -0400 |
commit | 0a2d9f22a38a95bdad5c74d1cc95c4e16d0779ac (patch) | |
tree | f87e6bcadb689d2c4e4e06feb32dd29cddb4351d /src | |
parent | f98b27592b2482dc89adc055073a3ee015f2424e (diff) |
Re-Exported Label
Diffstat (limited to 'src')
-rw-r--r-- | src/components.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/components.rs b/src/components.rs index 932aac3..99bf946 100644 --- a/src/components.rs +++ b/src/components.rs @@ -10,7 +10,7 @@ use bevy::{ pub struct DitherPostProcessSettings(Handle<Image>); impl DitherPostProcessSettings { - pub fn new(level: u32, mut images: ResMut<Assets<Image>>) -> Self { + pub fn new(level: u32,images: &mut ResMut<Assets<Image>>) -> Self { let power = level + 1; let map_size: u32 = 1 << power; let mut buffer = Vec::<u8>::new(); @@ -2,6 +2,8 @@ use bevy::{prelude::*, render::{RenderApp, render_graph::{RenderGraphApp, ViewNo use crate::components::DitherPostProcessSettings; +pub use nodes::DitherRenderLabel; + pub struct DitherPostProcessPlugin; pub mod components; |