This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6933d26
commit 8861c3f
Showing
1 changed file
with
3 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,16 @@ | ||
# Amethyst - Rendering Engine | ||
|
||
[![Build Status][s1]][tc] [![Crates.io][s2]][ci] [![MIT License][s3]][ml] [![Join the chat][s4]][gc] | ||
[![Build Status][s1]][tc] [![Crates.io][s2]][ci] [![MIT/Apache][s3]][li] [![Join the chat][s4]][gc] | ||
|
||
[s1]: https://api.travis-ci.org/ebkalderon/amethyst.svg | ||
[s2]: https://img.shields.io/crates/v/amethyst_renderer.svg | ||
[s3]: https://img.shields.io/badge/license-MIT-blue.svg | ||
[s3]: https://img.shields.io/badge/license-MIT%2FApache-blue.svg | ||
[s4]: https://badges.gitter.im/amethyst/amethyst.svg | ||
|
||
[tc]: https://travis-ci.org/amethyst/amethyst/ | ||
[ci]: https://crates.io/crates/amethyst_renderer/ | ||
[ml]: https://github.com/amethyst/amethyst/blob/master/COPYING | ||
[li]: https://github.com/amethyst/amethyst/blob/develop/COPYING | ||
[gc]: https://gitter.im/org/amethyst/rooms | ||
|
||
High-level rendering engine with multiple backends. This project is a *work in | ||
progress* and is very incomplete. Pardon the dust! | ||
|
||
## Proposal | ||
|
||
```rust | ||
let mut front = Frontend::new(...); | ||
let mut back = Backend::new(...); | ||
|
||
let data = PersistentData { ... }; | ||
let handles = back.load_persistent_data(data); | ||
|
||
loop { | ||
let frame = Frame { ... }; | ||
let ir = front.process(frame); | ||
back.process(ir); | ||
} | ||
``` |