function saveRendererAndSceneState( renderer, scene, state = {} ) {

	state = saveRendererState( renderer, state );
	state = saveSceneState( scene, state );

	return state;

}
Saves the state of the given renderer and scene and stores it into the given state object.

If not state object is provided, the function creates one.

@function
@param {Renderer} renderer - The renderer.
@param {Scene} scene - The scene.
@param {Object} [state={}] - The state.
@return {Object} The state.