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

Method Unload

include/TextureUnmanaged.hpp:131–137  ·  view source on GitHub ↗

* Unload texture from GPU memory (VRAM) */

Source from the content-addressed store, hash-verified

129 * Unload texture from GPU memory (VRAM)
130 */
131 void Unload() {
132 // Protect against calling UnloadTexture() twice.
133 if (id != 0) {
134 ::UnloadTexture(*this);
135 id = 0;
136 }
137 }
138
139 /**
140 * Update GPU texture with new data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected