* Unload model (including meshes) from memory (RAM and/or VRAM). */
| 91 | * Unload model (including meshes) from memory (RAM and/or VRAM). |
| 92 | */ |
| 93 | void Unload() { |
| 94 | if (meshes != nullptr || materials != nullptr) { |
| 95 | ::UnloadModel(*this); |
| 96 | meshes = nullptr; |
| 97 | materials = nullptr; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Set material for a mesh. |
nothing calls this directly
no outgoing calls
no test coverage detected