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

Method Unload

include/MaterialUnmanaged.hpp:50–55  ·  view source on GitHub ↗

* Unload material from memory. */

Source from the content-addressed store, hash-verified

48 * Unload material from memory.
49 */
50 void Unload() {
51 if (maps != nullptr) {
52 ::UnloadMaterial(*this);
53 maps = nullptr;
54 }
55 }
56
57 /**
58 * Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected