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

Method Unload

include/ShaderUnmanaged.hpp:139–144  ·  view source on GitHub ↗

* Unload shader from GPU memory (VRAM). */

Source from the content-addressed store, hash-verified

137 * Unload shader from GPU memory (VRAM).
138 */
139 void Unload() {
140 if (locs != nullptr) {
141 ::UnloadShader(*this);
142 locs = nullptr;
143 }
144 }
145
146 /**
147 * Retrieves whether or not the shader is ready.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected