aboutsummaryrefslogtreecommitdiff
path: root/src/nodes.rs
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2024-06-04 13:01:27 -0400
committerLibravatar Silas Bartha <silas@exvacuum.dev>2024-06-04 13:01:27 -0400
commitd98878f3135bffb412dce9436c3b81cbe595a7a9 (patch)
tree05ea73f265236ebce4370ecbfd3efd268ddb07ec /src/nodes.rs
parenta294ec442b91e1006a28049cda9fcb82b52d0dc0 (diff)
Removed toolchain config
Diffstat (limited to 'src/nodes.rs')
-rw-r--r--src/nodes.rs19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/nodes.rs b/src/nodes.rs
index 56769e1..292c16d 100644
--- a/src/nodes.rs
+++ b/src/nodes.rs
@@ -1,4 +1,18 @@
-use bevy::{prelude::*, render::{render_graph::{ViewNode, NodeRunError, RenderGraphContext, RenderLabel}, view::ViewTarget, renderer::RenderContext, render_resource::{PipelineCache, BindGroupEntries, RenderPassDescriptor, RenderPassColorAttachment, Operations}, extract_component::ComponentUniforms}, core_pipeline::prepass::ViewPrepassTextures, ecs::query::QueryItem};
+use bevy::{
+ core_pipeline::prepass::ViewPrepassTextures,
+ ecs::query::QueryItem,
+ prelude::*,
+ render::{
+ extract_component::ComponentUniforms,
+ render_graph::{NodeRunError, RenderGraphContext, RenderLabel, ViewNode},
+ render_resource::{
+ BindGroupEntries, Operations, PipelineCache, RenderPassColorAttachment,
+ RenderPassDescriptor,
+ },
+ renderer::RenderContext,
+ view::ViewTarget,
+ },
+};
use super::components;
use super::resources;
@@ -30,7 +44,8 @@ impl ViewNode for OutlineRenderNode {
return Ok(());
};
- let uniforms = world.resource::<ComponentUniforms<components::OutlinePostProcessSettings>>();
+ let uniforms =
+ world.resource::<ComponentUniforms<components::OutlinePostProcessSettings>>();
let Some(uniform_binding) = uniforms.uniforms().binding() else {
error!("Failed to get settings uniform binding");
return Ok(());