#![doc(html_logo_url = "https://www.amethyst.rs/assets/amethyst.svg")]
#![warn(missing_docs, rust_2018_idioms, rust_2018_compatibility)]
use amethyst_core;
#[macro_use]
extern crate amethyst_derive;
#[macro_use]
extern crate derivative;
#[macro_use]
extern crate error_chain;
use gfx;
use gfx_core;
#[macro_use]
extern crate gfx_macros;
#[macro_use]
extern crate log;
use rayon;
#[macro_use]
extern crate serde;
use shred;
#[macro_use]
extern crate shred_derive;
use wavefront_obj;
use winit;
#[macro_use]
#[cfg(feature = "profiler")]
extern crate thread_profiler;
#[cfg(feature = "opengl")]
use gfx_device_gl;
#[cfg(feature = "opengl")]
use gfx_window_glutin;
#[cfg(feature = "opengl")]
use glutin;
pub use crate::{
blink::{Blink, BlinkSystem},
bundle::RenderBundle,
cam::{ActiveCamera, ActiveCameraPrefab, Camera, CameraPrefab, Projection},
color::Rgba,
config::DisplayConfig,
debug_drawing::{DebugLines, DebugLinesComponent},
formats::{
build_mesh_with_combo, create_mesh_asset, create_texture_asset, BmpFormat,
ComboMeshCreator, GraphicsPrefab, ImageData, JpgFormat, MaterialPrefab, MeshCreator,
MeshData, ObjFormat, PngFormat, TextureData, TextureFormat, TextureMetadata, TexturePrefab,
TgaFormat,
},
hidden::{Hidden, HiddenPropagate},
hide_system::HideHierarchySystem,
input::{
DeviceEvent, ElementState, Event, KeyboardInput, MouseButton, VirtualKeyCode, WindowEvent,
},
light::{DirectionalLight, Light, LightPrefab, PointLight, SpotLight, SunLight},
mesh::{vertex_data, Mesh, MeshBuilder, MeshHandle, VertexBuffer},
mtl::{Material, MaterialDefaults, TextureOffset},
pass::{
get_camera, set_vertex_args, DebugLinesParams, DrawDebugLines, DrawFlat, DrawFlat2D,
DrawFlatSeparate, DrawPbm, DrawPbmSeparate, DrawShaded, DrawShadedSeparate, DrawSkybox,
SkyboxColor,
},
pipe::{
ColorBuffer, Data, DepthBuffer, DepthMode, Effect, EffectBuilder, Init, Meta, NewEffect,
Pipeline, PipelineBuild, PipelineBuilder, PipelineData, PolyPipeline, PolyStage,
PolyStages, Stage, StageBuilder, Target, TargetBuilder, Targets,
},
renderer::Renderer,
resources::{AmbientColor, ScreenDimensions, WindowMessages},
shape::{InternalShape, Shape, ShapePrefab, ShapeUpload},
skinning::{
AnimatedComboMeshCreator, AnimatedVertexBufferCombination, JointIds, JointTransforms,
JointTransformsPrefab, JointWeights,
},
sprite::{
Flipped, Sprite, SpriteRender, SpriteSheet, SpriteSheetFormat, SpriteSheetHandle,
TextureCoordinates,
},
sprite_visibility::{SpriteVisibility, SpriteVisibilitySortingSystem},
system::RenderSystem,
tex::{
FilterMethod, SamplerInfo, SurfaceType, Texture, TextureBuilder, TextureHandle, WrapMode,
},
transparent::{
Blend, BlendChannel, BlendValue, ColorMask, Equation, Factor, Transparent, ALPHA, REPLACE,
},
types::{Encoder, Factory, PipelineState, Resources},
vertex::{
Attribute, AttributeFormat, Attributes, Color, Normal, PosColor, PosColorNorm,
PosNormTangTex, PosNormTex, PosTex, Position, Query, Separate, Tangent, TexCoord,
VertexBufferCombination, VertexFormat, With,
},
visibility::{Visibility, VisibilitySortingSystem},
};
pub mod error;
pub mod mouse;
pub mod pipe;
#[macro_use]
mod macros;
mod blink;
mod bundle;
mod cam;
mod color;
mod config;
mod debug_drawing;
mod formats;
mod hidden;
mod hide_system;
mod input;
mod light;
mod mesh;
mod mtl;
mod pass;
mod renderer;
mod resources;
mod shape;
mod skinning;
mod sprite;
mod sprite_visibility;
mod system;
mod tex;
mod transparent;
mod types;
mod vertex;
mod visibility;