bevy/src/prelude.rs

51 lines
1.9 KiB
Rust
Raw Normal View History

pub use crate::{
app::{
2020-07-10 04:18:35 +00:00
schedule_runner::ScheduleRunnerPlugin, stage, App, AppBuilder, AppPlugin, DynamicAppPlugin,
EventReader, Events,
},
2020-06-05 07:50:37 +00:00
asset::{AddAsset, AssetEvent, AssetServer, Assets, Handle},
audio::{AudioOutput, AudioSource},
2020-06-05 07:50:37 +00:00
core::{
time::{Time, Timer},
},
diagnostic::DiagnosticsPlugin,
2020-07-10 04:18:35 +00:00
ecs::{
Bundle, Commands, Component, Entity, FromResources, IntoForEachSystem, IntoQuerySystem,
IntoThreadLocalSystem, Local, Query, Ref, RefMut, Res, ResMut, Resource, Resources, System,
2020-07-10 08:37:06 +00:00
World, WorldBuilderSource,
2020-07-10 04:18:35 +00:00
},
2020-06-05 07:50:37 +00:00
input::{keyboard::KeyCode, mouse::MouseButton, Input},
math::{self, Mat3, Mat4, Quat, Vec2, Vec3, Vec4, FaceToward},
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,
};