#![feature(alloc, core, libc, unsafe_destructor)]
extern crate alloc;
#[macro_use]
extern crate bitflags;
#[macro_use]
extern crate log;
extern crate libc;
extern crate draw_state;
pub mod traits {
pub use device::{Device, Factory};
pub use render::ext::device::DeviceExt;
pub use render::ext::factory::FactoryExt;
pub use render::mesh::ToSlice;
}
pub use draw_state::{DrawState, BlendPreset};
pub use render::{Renderer, DrawError};
pub use render::batch;
pub use render::ext::device::Graphics;
pub use render::ext::shade::{ShaderSource, ProgramError};
pub use render::mesh::{Attribute, Mesh, VertexFormat};
pub use render::mesh::Error as MeshError;
pub use render::mesh::{Slice, ToSlice, SliceKind};
pub use render::shade;
pub use render::target::{Frame, Plane};
pub use render::ParamStorage;
pub use device::{Device, Factory, Resources};
pub use device::{attrib, tex};
pub use device::as_byte_slice;
pub use device::{BufferInfo, BufferUsage};
pub use device::{VertexCount, InstanceCount};
pub use device::PrimitiveType;
pub use device::draw::CommandBuffer;
pub use device::shade::{ProgramInfo, UniformValue};
pub use draw_state::target::*;
pub use draw_state::block as state;
pub use device::handle::Buffer as BufferHandle;
pub use device::handle::RawBuffer as RawBufferHandle;
pub use device::handle::Shader as ShaderHandle;
pub use device::handle::Program as ProgramHandle;
pub use device::handle::Surface as SurfaceHandle;
pub use device::handle::Texture as TextureHandle;
pub use device::handle::Sampler as SamplerHandle;
pub mod render;
pub mod device;