* Unload shader from GPU memory (VRAM). */
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected