Crate crayon[−][src]
What is This?
Crayon is a small, portable and extensible game framework, which loosely inspired by some amazing blogs on bitsquid, molecular and floooh.
Some goals include:
- Extensible through external code modules;
- Run on macOS, Linux, Windows, iOS, Android from the same source;
- Built from the ground up to focus on multi-thread friendly with a work-stealing job scheduler;
- Stateless, layered, multithread render system with OpenGL(ES) 3.0 backends;
- Simplified assets workflow and asynchronous data loading from various filesystem;
- Unified interfaces for handling input devices across platforms;
- etc.
This project adheres to Semantic Versioning, all notable changes will be documented in this file.
Quick Example
For the sake of brevity, you can als run a simple and quick example with commands:
git clone git@github.com:shawnscode/crayon.git
cargo run --example modules_3d_prefab
Re-exports
pub extern crate bincode; |
pub extern crate uuid; |
Modules
application |
A unified application model across all target platforms. |
errors | |
input |
Provides unified access to input devices across platforms. |
math |
This module contains the math utils that mainly comes from |
prelude | |
res |
Resource |
sched | |
utils |
Commonly used utilities like pools, variants and so on. |
video |
A stateless, layered, multithread video system with OpenGL backends. |
Macros
debug |
Logs a message at the debug level. |
error |
Logs a message at the error level. |
impl_handle | |
impl_vertex | |
impl_vertex_field | |
info |
Logs a message at the info level. |
log |
The standard logging macro. |
log_enabled |
Determines if a message logged at the specified level in that module will be logged. |
offset_of | |
trace |
Logs a message at the trace level. |
warn |
Logs a message at the warn level. |