For those wondering about when beforeRender gets called… beforeRender(delta) Question explains… if you have 3 pixels…
the order is beforeRender(delta), render[0], render[1], render[2] and then repeat for infinity. The delta in the beforeRender(delta) is the amount of time since the last beforeRender was called.