Configuration for a RenderLoop,

interface RenderLoopOptions {
    drawFps: boolean;
    onRefresh: "clear";
}

Properties

Properties

drawFps: boolean

Should the current frames per second be rendered onto the canvas each frame?

onRefresh: "clear"

Should the buffer be cleared or faded to black before each frame?