On the structure of three-dimensional shear flows