internal static void DecompressBC6Block(ITexture texture, int pos, byte[] output, int xPos, int yPos) { DX10_Helpers.LDRColour[] colours = BC6.DecompressBC6(texture.Data, pos, texture.Format != TextureFormat.BC6H_UF16); BC7.SetColoursFromDX10(colours, output, xPos, yPos, texture.Width); }
internal static void DecompressBC7Block(ITexture texture, int pos, byte[] output, int xPos, int yPos) { var colours = BC7.DecompressBC7(texture.Data, pos); BC7.SetColoursFromDX10(colours, output, xPos, yPos, texture.Width); }