Index modulation type waveguides written by laser direct writing technology