Kickstart a new rewrite of the raidillon engine

Endless refactors, refactor everyday, refactor relentlessly, refactor
every morning, every day, every hour.
This commit is contained in:
reo 2025-08-06 11:43:04 +03:00
commit f7d5c14caf
19 changed files with 4391 additions and 0 deletions

View file

@ -0,0 +1,11 @@
use std::path::Path;
pub type ModelHandle = usize;
/// The asset manager trait of Raidillon.
pub trait AssetManager {
/// Loads a gltf model to VRAM.
fn load_gltf(&mut self, path: &Path) -> ModelHandle;
/// Unloads the loaded model from VRAM.
fn unload_model(&mut self, model_handle: ModelHandle);
}