public MetalXTexture(string fullName) : base() { //SizePixel = sz; FileIndexer = new FileIndexer(fullName); Name = FileIndexer.FileName; TextureData = System.IO.File.ReadAllBytes(FileIndexer.FullName); }
public void Add(FileIndexer fl) { foreach (FileIndexer fileLink in items) { if (fileLink.FileName == fl.FileName) { return; } } items.Add(fl); }