Esempio n. 1
0
 public BlockDXT3(long alphaValueMask, int color0, int color1, long colorIndexMask)
 {
     this.alphaBlock = new AlphaBlockDXT3(alphaValueMask);
     this.colorBlock = new BlockDXT1(color0, color1, colorIndexMask);
 }
Esempio n. 2
0
 /**
  * Sets the DXT2/DXT3 alpha block.
  *
  * @param alphaBlock DXT2/DXT3 alpha block.
  */
 public void setAlphaBlock(AlphaBlockDXT3 alphaBlock)
 {
     this.alphaBlock = alphaBlock;
 }
Esempio n. 3
0
 /**
  * Creates a new DXT2/DXT3 alpha block with all alpha and color values set to 0.
  */
 public BlockDXT3()
 {
     this.alphaBlock = new AlphaBlockDXT3();
     this.colorBlock = new BlockDXT1();
 }