@param doc about scaleMode in Texture.fromImage