Incremental implemenation of object-based GL enums in GLTexture.