add TextureResourceBase class