Class: MultiRenderer

MultiRenderer


new MultiRenderer()

MultiRenderer is a renderer for multiple simultaneous viewports. Multiple scenes can be rendered, with multiple cameras.

Author:
  • derschmale <http://www.derschmale.com>

Methods


addView()

Adds a View to be rendered.


removeView()

Removes a View.


render(dt [, renderTarget])

Renders all views.

Parameters:
Name Type Argument Description
dt

The milliseconds passed since last frame.

renderTarget <optional>

An optional FrameBuffer object to render to.