Upgraded Texture2D class.