// render a frame only if one is needed,
// ie. scene compilations were pending,
// returns true if frame was rendered:
var wasRendered = SceneJS.scene("my-scene").renderFrame()
// Force a new frame regardless of whether
// compilations were needed, returns true:
SceneJS.scene("my-scene").renderFrame({ force: true })