Renderer(Scene scene, Sampler sampler, Camera camera)

Creates a new Renderer with the given scene, sampler and camera.

Source

Renderer(this.scene, this.sampler, this.camera) {
  xRes = camera.res.x.toInt();
  yRes = camera.res.y.toInt();
}