2020-05-28 02:27:55 +00:00
|
|
|
pub use crate::app::FromResources;
|
2020-04-07 00:03:21 +00:00
|
|
|
#[cfg(feature = "asset")]
|
2020-05-16 07:27:30 +00:00
|
|
|
pub use crate::asset::{AddAsset, AssetEvent, AssetServer, Assets, Handle};
|
2020-04-07 00:03:21 +00:00
|
|
|
#[cfg(feature = "core")]
|
|
|
|
pub use crate::core::{
|
|
|
|
time::Time,
|
|
|
|
transform::{CommandBufferBuilderSource, WorldBuilder, WorldBuilderSource},
|
2020-01-14 03:20:58 +00:00
|
|
|
};
|
2020-04-12 21:47:41 +00:00
|
|
|
#[cfg(feature = "derive")]
|
|
|
|
pub use crate::derive::*;
|
2020-04-07 00:03:21 +00:00
|
|
|
#[cfg(feature = "diagnostic")]
|
|
|
|
pub use crate::diagnostic::DiagnosticsPlugin;
|
2020-04-25 00:46:54 +00:00
|
|
|
#[cfg(feature = "pbr")]
|
2020-04-25 01:55:15 +00:00
|
|
|
pub use crate::pbr::{entity::*, light::Light, material::StandardMaterial};
|
2020-05-22 22:36:48 +00:00
|
|
|
#[cfg(feature = "property")]
|
2020-05-25 21:51:38 +00:00
|
|
|
pub use crate::property::{DynamicProperties, Properties, PropertiesVal, Property, PropertyVal};
|
2020-04-07 00:03:21 +00:00
|
|
|
#[cfg(feature = "render")]
|
|
|
|
pub use crate::render::{
|
2020-04-25 01:55:15 +00:00
|
|
|
draw_target,
|
2020-04-07 00:03:21 +00:00
|
|
|
entity::*,
|
2020-04-25 01:55:15 +00:00
|
|
|
mesh::{shape, Mesh},
|
2020-04-07 00:03:21 +00:00
|
|
|
pipeline::PipelineDescriptor,
|
2020-04-25 01:55:15 +00:00
|
|
|
render_graph::{
|
|
|
|
nodes::{
|
|
|
|
AssetUniformNode, Camera2dNode, CameraNode, PassNode, UniformNode, WindowSwapChainNode,
|
|
|
|
WindowTextureNode,
|
|
|
|
},
|
|
|
|
RenderGraph,
|
|
|
|
},
|
2020-04-28 00:41:02 +00:00
|
|
|
render_resource::resource_name,
|
2020-04-25 00:46:54 +00:00
|
|
|
shader::{Shader, ShaderDefSuffixProvider, ShaderStage, ShaderStages},
|
2020-04-07 00:03:21 +00:00
|
|
|
texture::{Texture, TextureType},
|
2020-04-25 00:46:54 +00:00
|
|
|
ActiveCamera, ActiveCamera2d, Camera, CameraType, Color, ColorSource, Renderable,
|
2020-04-07 00:03:21 +00:00
|
|
|
};
|
2020-05-22 00:21:33 +00:00
|
|
|
#[cfg(feature = "scene")]
|
2020-05-25 21:51:38 +00:00
|
|
|
pub use crate::scene::Scene;
|
2020-05-13 20:09:32 +00:00
|
|
|
#[cfg(feature = "text")]
|
|
|
|
pub use crate::text::Font;
|
2020-04-12 21:47:41 +00:00
|
|
|
#[cfg(feature = "transform")]
|
|
|
|
pub use crate::transform::prelude::*;
|
2020-05-28 02:27:55 +00:00
|
|
|
#[cfg(feature = "type_registry")]
|
|
|
|
pub use crate::type_registry::RegisterType;
|
2020-04-07 00:03:21 +00:00
|
|
|
#[cfg(feature = "ui")]
|
2020-05-25 21:51:38 +00:00
|
|
|
pub use crate::ui::{
|
|
|
|
entity::*, widget::Label, Anchors, ColorMaterial, Margins, Node, Rect, Sprite,
|
|
|
|
};
|
2020-04-07 00:03:21 +00:00
|
|
|
#[cfg(feature = "window")]
|
|
|
|
pub use crate::window::{Window, WindowDescriptor, WindowPlugin, Windows};
|
2020-04-12 21:47:41 +00:00
|
|
|
pub use crate::{
|
|
|
|
app::{
|
2020-05-06 01:44:32 +00:00
|
|
|
schedule_runner::ScheduleRunnerPlugin, stage, App, AppBuilder, AppPlugin, EntityArchetype,
|
|
|
|
EventReader, Events, GetEventReader, System,
|
2020-04-12 21:47:41 +00:00
|
|
|
},
|
|
|
|
math::{self, Mat3, Mat4, Quat, Vec2, Vec3, Vec4},
|
|
|
|
AddDefaultPlugins,
|
|
|
|
};
|
|
|
|
pub use legion::{
|
2020-05-14 00:52:47 +00:00
|
|
|
borrow::{Ref as Com, RefMut as ComMut},
|
2020-04-29 08:37:54 +00:00
|
|
|
command::CommandBuffer,
|
2020-04-12 21:47:41 +00:00
|
|
|
entity::Entity,
|
|
|
|
event::Event as LegionEvent,
|
|
|
|
filter::filter_fns::*,
|
|
|
|
query::{IntoQuery, Query, Read, Tagged, TryRead, TryWrite, Write},
|
|
|
|
systems::{
|
|
|
|
bit_set::BitSet,
|
2020-05-01 05:30:51 +00:00
|
|
|
resource::{ResourceSet, Resources},
|
2020-04-12 21:47:41 +00:00
|
|
|
schedule::{Executor, Runnable, Schedulable, Schedule},
|
2020-05-14 00:52:47 +00:00
|
|
|
IntoSystem, Res, ResMut, SubWorld, SystemBuilder,
|
2020-04-12 21:47:41 +00:00
|
|
|
},
|
|
|
|
world::{Universe, World},
|
|
|
|
};
|