Implement Engine, add compile_shader to rendering systems
- Implement the initial version of the run method of the glium platform - Add asset manager to the context of the renderer. I will probably move that to either the engine or somewhere else later. - Other unimportant stuff that I'm too lazy to include here. Early stage commit messages don't really matter anyways.
This commit is contained in:
parent
e817abf8ab
commit
1cc63a0dab
7 changed files with 32 additions and 6 deletions
|
|
@ -1,5 +1,7 @@
|
|||
use raidillon_core::Engine;
|
||||
|
||||
pub trait Platform {
|
||||
/// Initialize platform.
|
||||
fn initialize(title: String, width: u32, height: u32) -> Self;
|
||||
fn run(self);
|
||||
fn run(self, engine: Engine);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue