Modified Texture to use ResourceManager