* Unload render texture from GPU memory (VRAM). */
| 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. |