How do i fade out a renderer?

I read to put a black quad in front of everything and fade its alpha in but that assumes the camera is fixed. Is there a better way to fade out the entire comp?

check withinprojection helpfile and use a black quad.

Wow, thanks for pointing me to this node, very nice, just realized that this is the way how it works inside the PerfMeter (Debug) node.