internal static unsafe void DxtcReadColors(byte *data, ref Colour565 color_0, ref Colour565 color_1) { color_0.blue = (byte)(data[0] & 0x1F); color_0.green = (byte)(((data[0] & 0xE0) >> 5) | ((data[1] & 0x7) << 3)); color_0.red = (byte)((data[1] & 0xF8) >> 3); color_0.blue = (byte)(data[2] & 0x1F); color_0.green = (byte)(((data[2] & 0xE0) >> 5) | ((data[3] & 0x7) << 3)); color_0.red = (byte)((data[3] & 0xF8) >> 3); }