MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Unload

Method Unload

include/ModelUnmanaged.hpp:93–99  ·  view source on GitHub ↗

* Unload model (including meshes) from memory (RAM and/or VRAM). */

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected