bevy/src/prelude.rs

54 lines
2.1 KiB
Rust
Raw Normal View History

pub use crate::{
app::{
2020-06-23 08:11:52 +00:00
schedule_runner::ScheduleRunnerPlugin, stage, App, AppBuilder, AppPlugin, ComponentSet,
DynamicAppPlugin, EventReader, Events, FromResources, System,
},
2020-06-05 07:50:37 +00:00
asset::{AddAsset, AssetEvent, AssetServer, Assets, Handle},
core::{
time::{Time, Timer},
2020-06-23 08:11:52 +00:00
transform::{CommandBufferBuilderSource, FaceToward, WorldBuilder, WorldBuilderSource},
2020-06-05 07:50:37 +00:00
},
diagnostic::DiagnosticsPlugin,
input::{keyboard::KeyCode, mouse::MouseButton, Input},
math::{self, Mat3, Mat4, Quat, Vec2, Vec3, Vec4},
2020-06-05 07:50:37 +00:00
pbr::{entity::*, light::Light, material::StandardMaterial},
property::{DynamicProperties, Properties, PropertiesVal, Property, PropertyVal},
render::{
draw::Draw,
2020-06-05 07:50:37 +00:00
entity::*,
mesh::{shape, Mesh},
2020-06-25 22:24:27 +00:00
pass::ClearColor,
pipeline::{PipelineDescriptor, RenderPipelines},
2020-06-05 07:50:37 +00:00
render_graph::{
nodes::{
AssetRenderResourcesNode, CameraNode, PassNode, RenderResourcesNode,
WindowSwapChainNode, WindowTextureNode,
2020-06-05 07:50:37 +00:00
},
RenderGraph,
},
render_resource::RenderResources,
2020-06-08 05:32:55 +00:00
shader::{Shader, ShaderDefs, ShaderStage, ShaderStages},
2020-06-06 02:38:03 +00:00
texture::Texture,
2020-06-23 08:11:52 +00:00
Camera, Color, ColorSource, OrthographicProjection, PerspectiveProjection, VisibleEntities,
2020-06-05 07:50:37 +00:00
},
scene::{Scene, SceneSpawner},
sprite::{
entity::{SpriteComponents, SpriteSheetComponents},
ColorMaterial, Sprite, TextureAtlas, TextureAtlasSprite,
2020-06-05 07:50:37 +00:00
},
text::{Font, TextStyle},
2020-06-05 07:50:37 +00:00
transform::prelude::*,
type_registry::RegisterType,
ui::{entity::*, widget::Label, Anchors, Margins, Node},
window::{Window, WindowDescriptor, WindowPlugin, Windows},
AddDefaultPlugins,
};
pub use legion::{
filter::filter_fns::*,
2020-06-23 08:11:52 +00:00
prelude::{
BitSet, CommandBuffer, Entity, EntityStore, Event as LegionEvent, Executor, IntoQuery,
IntoSystem, Query, Read, Res, ResMut, ResourceSet, Resources, Runnable, Schedulable,
Schedule, SubWorld, SystemBuilder, Tagged, TryRead, TryWrite, Universe, World, Write,
},
};