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:
reo 2025-08-07 20:07:29 +03:00
parent e817abf8ab
commit 1cc63a0dab
7 changed files with 32 additions and 6 deletions

View file

@ -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);
}