public BlockDXT3(long alphaValueMask, int color0, int color1, long colorIndexMask) { this.alphaBlock = new AlphaBlockDXT3(alphaValueMask); this.colorBlock = new BlockDXT1(color0, color1, colorIndexMask); }
/** * Sets the DXT2/DXT3 alpha block. * * @param alphaBlock DXT2/DXT3 alpha block. */ public void setAlphaBlock(AlphaBlockDXT3 alphaBlock) { this.alphaBlock = alphaBlock; }
/** * 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(); }