Esempio n. 1
0
 public Blp2Header(DataType type, Encoding encoding, AlphaDepth alphaDepth, AlphaEncoding alphaEncoding, byte hasMips, uint width, uint height)
 {
     this.fourCC        = ("BLP2").ToCharArray();
     this.type          = type;
     this.encoding      = encoding;
     this.alphaDepth    = alphaDepth;
     this.alphaEncoding = alphaEncoding;
     this.hasMips       = hasMips;
     this.width         = width;
     this.height        = height;
     this.offsets       = new uint[16];
     this.lengths       = new uint[16];
 }
Esempio n. 2
0
 public Blp2Header(DataType type, Encoding encoding, AlphaDepth alphaDepth, AlphaEncoding alphaEncoding, byte hasMips, uint width, uint height)
 {
     this.fourCC = ("BLP2").ToCharArray();
     this.type = type;
     this.encoding = encoding;
     this.alphaDepth = alphaDepth;
     this.alphaEncoding = alphaEncoding;
     this.hasMips = hasMips;
     this.width = width;
     this.height = height;
     this.offsets = new uint[16];
     this.lengths = new uint[16];
 }
Esempio n. 3
0
 public EncoderAgent(String ext, IImageEncoder encoder, AlphaEncoding alpha = AlphaEncoding.Default)
 {
     Extension      = ext;
     Encoder        = encoder;
     _AlphaEncoding = alpha;
 }