Implement Texture2D using GL4.