public void Save(string filename = "") { if (filename.Trim() != string.Empty) { FileInfo = new FileInfo(filename); } _tex.bmps = _bitmaps.Select(b => b.Bitmap).ToList(); _tex.Save(FileInfo.Create()); }
public void Save(string filename = "") { if (filename.Trim() != string.Empty) { FileInfo = new FileInfo(filename); } if (_bitmaps.Count >= 1) { _tex.headerInfo.format = ((MobileMTTexBitmapInfo)_bitmaps[0]).format; } _tex.bmps = _bitmaps.Select(b => b.Bitmap).ToList(); _tex.Save(FileInfo.Create()); }