看到一段代码,是一个读取图片信息的类,代码如下:private Texture m_Texture;//就是不太明白Texture 这是个什么东西,主要是做什么用的?
private int m_Width;
private int m_Height;
public Picture(string fileName, Color colorKey)
{
     ImageInformation imageInformation = TextureLoader.ImageInformationFromFile(Game.PicturesPath + fileName);//这个应该是根据图片路径读取图片信息
     m_Width = imageInformation.Width;//图片宽
     m_Heigth = imageInformation.Height;//图片高
     //主要是下面下个方法不太理解,TextureLoader.FromFile方法传的参数大概都是什么意思?返回的Texture又是什么? 
     m_Texture = TextureLoader.FromFile(Game.Device, Game.PicturesPath + fileName, 0, 0, 1, Usage.None, Format.Unknown, Pool.Managed, Filter.None, Filter.None, colorKey.ToArgb());
}代码引用了Microsoft.DirectX的相关DLL,
劳烦了解Texture的大大帮忙给大概解释一下,多谢!