Integrated rendering method for various extended reality modes and device having thereof