setRenderingRefreshMode

Set the rendering refresh mode and wake up the render thread if it is sleeping.

Parameters

mode

can be: CONTINUOUS or WHEN_DIRTY default is WHEN_DIRTY