Add getters in Texture for the format and internal format