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

@ -0,0 +1,6 @@
use crate::SceneManager;
pub struct Engine {
scene_manager: SceneManager,
// TODO: Systems
}

View file

@ -1,2 +1,5 @@
mod scene;
pub use scene::{Scene, SceneManager};
mod engine;
pub use scene::{Scene, SceneManager};
pub use engine::Engine;