From 3e04c0e3d5ae72b31c11d5b8dc044b590095cb8a Mon Sep 17 00:00:00 2001 From: AmeKnite <104745335+ameknite@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:42:58 -0600 Subject: [PATCH] use bevy crates instead of bevy internal imports --- examples/shader/post_processing.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/shader/post_processing.rs b/examples/shader/post_processing.rs index 4fc3085ffbc09..88d197ae72bf7 100644 --- a/examples/shader/post_processing.rs +++ b/examples/shader/post_processing.rs @@ -11,12 +11,15 @@ use bevy::{ clear_color::ClearColorConfig, core_3d, fullscreen_vertex_shader::fullscreen_shader_vertex_state, }, + ecs::query::QueryItem, prelude::*, render::{ extract_component::{ ComponentUniforms, ExtractComponent, ExtractComponentPlugin, UniformComponentPlugin, }, - render_graph::{NodeRunError, RenderGraphApp, RenderGraphContext}, + render_graph::{ + NodeRunError, RenderGraphApp, RenderGraphContext, ViewNode, ViewNodeRunner, + }, render_resource::{ BindGroupDescriptor, BindGroupEntry, BindGroupLayout, BindGroupLayoutDescriptor, BindGroupLayoutEntry, BindingResource, BindingType, CachedRenderPipelineId, @@ -32,10 +35,6 @@ use bevy::{ }, utils::Duration, }; -use bevy_internal::{ - ecs::query::QueryItem, - render::render_graph::{ViewNode, ViewNodeRunner}, -}; fn main() { App::new()