Skip to content

Commit

Permalink
Use bevy crates imports instead of bevy internal. post_processing exa…
Browse files Browse the repository at this point in the history
…mple (#9396)

# Objective

- I want to run the post_processing example in a new project, but I
can't because it uses bevy internal imports.

## Solution

- Change the bevy_internal imports to their respective bevy crates
imports
  • Loading branch information
ameknite authored Aug 10, 2023
1 parent f96cd75 commit 06f7f96
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/shader/post_processing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -32,10 +35,6 @@ use bevy::{
},
utils::Duration,
};
use bevy_internal::{
ecs::query::QueryItem,
render::render_graph::{ViewNode, ViewNodeRunner},
};

fn main() {
App::new()
Expand Down

0 comments on commit 06f7f96

Please sign in to comment.