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

Method Unload

include/RenderTextureUnmanaged.hpp:80–85  ·  view source on GitHub ↗

* Unload render texture from GPU memory (VRAM). */

Source from the content-addressed store, hash-verified

78 * Unload render texture from GPU memory (VRAM).
79 */
80 void Unload() {
81 if (IsValid()) {
82 ::UnloadRenderTexture(*this);
83 id = 0;
84 }
85 }
86
87 /**
88 * Initializes render texture for drawing.

Callers

nothing calls this directly

Calls 1

IsValidFunction · 0.70

Tested by

no test coverage detected