mirror of
https://github.com/zoriya/Bomberman.git
synced 2025-12-20 21:35:12 +00:00
model: add unload method
This commit is contained in:
@@ -45,6 +45,9 @@ namespace RAY {
|
||||
//! @brief Load model from mesh (default materials)
|
||||
bool load(const Mesh &mesh);
|
||||
|
||||
//! @brief Unload model (including meshes) from memory (RAM and/or VRAM)
|
||||
bool unload() override;
|
||||
|
||||
//! @brief Unload model (excluding meshes) from memory (RAM and/or VRAM)
|
||||
bool unloadKeepMeshes();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user