private byte[] DecodeBC4() { var buff = new byte[m_Width * m_Height * 4]; if (!TextureDecoder.DecodeBC4(image_data, m_Width, m_Height, buff)) { return null; } return buff; }
private bool DecodeBC4(byte[] image_data, byte[] buff) { return(TextureDecoder.DecodeBC4(image_data, m_Width, m_Height, buff)); }