Adding Texture class