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:
parent
f96cd758cd
commit
06f7f9640a
@ -11,12 +11,15 @@ use bevy::{
|
|||||||
clear_color::ClearColorConfig, core_3d,
|
clear_color::ClearColorConfig, core_3d,
|
||||||
fullscreen_vertex_shader::fullscreen_shader_vertex_state,
|
fullscreen_vertex_shader::fullscreen_shader_vertex_state,
|
||||||
},
|
},
|
||||||
|
ecs::query::QueryItem,
|
||||||
prelude::*,
|
prelude::*,
|
||||||
render::{
|
render::{
|
||||||
extract_component::{
|
extract_component::{
|
||||||
ComponentUniforms, ExtractComponent, ExtractComponentPlugin, UniformComponentPlugin,
|
ComponentUniforms, ExtractComponent, ExtractComponentPlugin, UniformComponentPlugin,
|
||||||
},
|
},
|
||||||
render_graph::{NodeRunError, RenderGraphApp, RenderGraphContext},
|
render_graph::{
|
||||||
|
NodeRunError, RenderGraphApp, RenderGraphContext, ViewNode, ViewNodeRunner,
|
||||||
|
},
|
||||||
render_resource::{
|
render_resource::{
|
||||||
BindGroupDescriptor, BindGroupEntry, BindGroupLayout, BindGroupLayoutDescriptor,
|
BindGroupDescriptor, BindGroupEntry, BindGroupLayout, BindGroupLayoutDescriptor,
|
||||||
BindGroupLayoutEntry, BindingResource, BindingType, CachedRenderPipelineId,
|
BindGroupLayoutEntry, BindingResource, BindingType, CachedRenderPipelineId,
|
||||||
@ -32,10 +35,6 @@ use bevy::{
|
|||||||
},
|
},
|
||||||
utils::Duration,
|
utils::Duration,
|
||||||
};
|
};
|
||||||
use bevy_internal::{
|
|
||||||
ecs::query::QueryItem,
|
|
||||||
render::render_graph::{ViewNode, ViewNodeRunner},
|
|
||||||
};
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
App::new()
|
App::new()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user