Most games do not render anymore when you alt tab, at least in fullscreen. So if you want the game to still render stuff you will have to play in window or borderless window mode, so the game doesnt minimize but just isnt on top anymore.
Combined with gamecapture or window capture with aero on, the game will still show up and not freeze.