unloadTexture function

void unloadTexture(
  1. Texture2D texture
)

Unload texture from GPU memory (VRAM).

Implementation

void unloadTexture(Texture2D texture) {
  return library.UnloadTexture(texture.ref);
}