Class: RenderTask

RenderTask()

Allows controlling of the rendering tasks.

Constructor

new RenderTask()

Source:

Members

onContinue :function

Callback for incremental rendering -- a function that will be called each time the rendering is paused. To continue rendering call the function that is the first argument to the callback.
Type:
  • function
Source:

promise :Promise

Promise for rendering task completion.
Type:
  • Promise
Source:

Methods

cancel()

Cancels the rendering task. If the task is currently rendering it will not be cancelled until graphics pauses with a timeout. The promise that this object extends will be rejected when cancelled.
Source: