Exemple #1
0
 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);
 }
Exemple #2
0
 public void CreateNew(string fileName)
 {
     TextureInfo = new CTXB_Parser.Texture();
 }