sometimes mmgr's 'fences' (making sure padding before and after the
allocation remains intact) aren't enough to catch hard-to-find
memory corruption bugs.
SetSceneCamera: setup projection and transform of camera and adjust viewport to current view
The camera always represents the actual camera used to render a scene, not any virtual camera
used for shadow rendering or reflections.