See RaylibRlglFlatModule.rlUnloadTexture.
void rlUnloadTexture( int id, ) => _module.rlUnloadTexture(id);