Exemplo n.º 1
0
 public void Load(StreamInfo input)
 {
     _format = new TEX(input.FileData);
     // TODO: Implement support for properly populating the FormatInfo for MTTEX.
     _bitmapInfos = new List <BitmapInfo> {
         new BitmapInfo(_format.Bitmaps.First(), new FormatInfo(0, "This doesn't work."))
         {
             Name = "0", MipMaps = _format.Bitmaps.Skip(1).ToList()
         }
     };
 }
Exemplo n.º 2
0
 public void Load(StreamInfo input, BaseReadOnlyDirectoryNode fs)
 {
     _format = new TEX(input.FileData);
     // TODO: Implement support for properly populating the FormatInfo for MTTEX.
     _bitmapInfos = _format.Bitmaps;
 }