public TextureWrapper(CTXB_Parser.Texture textureInfo) { TextureInfo = textureInfo; Width = textureInfo.Width; Height = textureInfo.Height; MipCount = textureInfo.MaxLevel; Name = textureInfo.Name; Platform = new Toolbox.Core.Imaging.CTRSwizzle(textureInfo.PicaFormat); }
public void CreateNew(string fileName) { TextureInfo = new CTXB_Parser.Texture(); }