public void CreateDFT() { //Create an array of complex numbers Texture2D input = CheckRenderChanges(); DFTTexture2D = new Texture2D(_graphics, input.Width, input.Height); Complex[,] data = TextureTo2DArray(input); data = dftFunction.CreateDFT(data); ArrayToTexture(DFTTexture2D, data); }