diff options
author | Silas Bartha <silas@exvacuum.dev> | 2024-06-04 13:01:27 -0400 |
---|---|---|
committer | Silas Bartha <silas@exvacuum.dev> | 2024-06-04 13:01:27 -0400 |
commit | d98878f3135bffb412dce9436c3b81cbe595a7a9 (patch) | |
tree | 05ea73f265236ebce4370ecbfd3efd268ddb07ec /src/nodes.rs | |
parent | a294ec442b91e1006a28049cda9fcb82b52d0dc0 (diff) |
Removed toolchain config
Diffstat (limited to 'src/nodes.rs')
-rw-r--r-- | src/nodes.rs | 19 |
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(()); |