Two-dimensional vector-coupled-mode theory for textured planar waveguides | Synapse