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

Method Unload

include/Image.hpp:284–289  ·  view source on GitHub ↗

* Unload image from CPU memory (RAM) */

Source from the content-addressed store, hash-verified

282 * Unload image from CPU memory (RAM)
283 */
284 void Unload() {
285 if (data != nullptr) {
286 ::UnloadImage(*this);
287 data = nullptr;
288 }
289 }
290
291 /**
292 * Export image data to file, returns true on success

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected