Render a camera view to a texture?

Doesn’t it stop ‘capturing’ if you toggle visibility off? I think it does and holds the last frame.