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