Use bevy crates imports instead of bevy internal. post_processing example (#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
This commit is contained in:
Ame :] 2023-08-09 20:02:30 -06:00 committed by GitHub
parent f96cd758cd
commit 06f7f9640a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()