TextureHelper: AN EXCEPTION SHOULD BE THROWN IF TEXTURE ALLOCATION FAILS (NOT TESTED…)