Crate crayon [] [src]

Reexports

pub extern crate lazy_static;
pub extern crate rayon;
pub extern crate cgmath as math;
pub extern crate futures;

Modules

application

A unified application model across all target platforms.

assets

Build-in assets including Texture, Atlas, Shader etc..

ecs

The entity component system with a data-orinted designs.

graphics

A stateless, layered, multithread graphics system with OpenGL backends.

prelude
resource

The standardized interface for loading, sharing and lifetime management of resources.

utils

Commonly used utilities like pools, variants and so on.

Macros

declare_component

Declare a struct as component, and specify the storage strategy. Internally, this macro will impl a internal trait Component to provide some useful methods and hints.

impl_handle
impl_vertex
impl_vertex_field
offset_of