X-ray interference is the addition (superposition) of two or more X-ray waves that results in a new wave pattern.
The total phase difference is derived from the sum of both the path difference and the initial phase difference (if the X-ray waves are generated from two or more different sources).