If you have any part of the desktop visible (e.g. to the left or right of the dock) you can click there so it hides all windows. I'm not sure if you need to enable this somewhere.
Also, there is a trackpad gesture to show the desktop: Keep your thumb stationary and use three fingers to swipe away, as if zooming out.