FromFile

TextureData.FromFile method

从文件中加载纹理

public static TextureData FromFile(string fileName)
范围类型描述
fileNameString

也可以看看