Varying the distance between the lens and sensor or film plane across the field of view permits focussing on objects at varying distances from the camera.
This technique is based on the principle of Scheimpflug which, traditionally, is combined with small aperture to increase the gamut of focus beyond that achievable by depth of field alone.