c3d.postrender

This callback function can be used to draw some overlay on top of the rendered screen. It gets called directly after the frame has been rendered. so you can draw anything ontop. Gets the terminal object as an argument.

arguments

function c3d.postrender(term)
    term.setCursorPos(1,1)
    term.write("FPS: " .. c3d.timer.getFPS())
end