wip: week of changes

This commit is contained in:
reo 2025-08-16 21:24:10 +03:00
parent 03e8f34dba
commit 176ea52ab0
20 changed files with 171 additions and 47 deletions

View file

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