Confused about EffectComposer: changing scene & camera dynamically

In my regular animation loop, I call

  this.renderer.render(this.scene, this.camera)

but when I set up EffectComposer, I understand I’m supposed to replace that render call with composer.render(...) and instead pass the scene and camera to the RenderPass definition. In my app, sometimes the scene changes, and often the camera changes. There’s no public API to change those in RenderPass.js; any reason for me not to just do this.renderPass.camera = this.camera before rendering, like this?

  this.renderPass.camera = this.camera
  this.renderPass.scene = this.scene
  this.composer.render()

Both properties are supposed to be public so setting them is fine!