onPreRender

open fun onPreRender()

Can be used to set shader uniforms and such right before rendering.