Dimensionality reduction for the on-chip integration of advanced photonic devices and functionalities