Is it possible to enable viewport rendering, but when in camera mode, restrict it to only inside the camera?
My current workaround is to hit Ctrl+B for render boarders, and select as much of my camera as possible.
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
Yes, albeit through a rather cumbersome process.
Select a border larger than the camera (this will set the border how you want, but then disable it)
Re-enable render border
I actually wrote a patch to expedite this process by removing the "auto disable" behavior. However opinion was divided on weather or not removing the auto disabling was an improvement (IMO it is), so the patch was not accepted (yet!)..
If you have any feedback or ideas how to implement a faster, more convenient workflow, by all means leave a comment on the revision page :)
Pablo Vazquez has created an addon called the Amaranth Toolset which (among a ton of other useful features) adds a way to do exactly what you are looking for.
Once the addon is installed just go into camera view and hit W > camera as render border.