render

render function

virtuosity.engine2d.render

Methods


Methods

add

add an event to the render function

virtuosity.engine2d.render.add(canvas, id, event);


Parameter Type Description
canvas String id of canvas to add event to render function
id String unique id of the render event
event Function event to add to render function

remove

remove an event from the render function

virtuosity.engine2d.render.remove(canvas, id);


Parameter Type Description
canvas String id of canvas to remove event from render function
id String id of the render event