org.rajawali3d.renderer / Renderer / onRender

onRender

protected open fun onRender(elapsedRealtime: Long, deltaTime: Double): Unit

Called by #onRenderFrame(GL10) to render the next frame. This is called prior to the current scene's Scene#render(long, double, RenderTarget) method.

Parameters

elapsedRealtime - Long: long The total elapsed rendering time in milliseconds.

deltaTime - Double: double The time passes since the last frame, in seconds.

protected open fun onRender(elapsedRealtime: Long, deltaTime: Double): Unit

Called by #onRenderFrame(GL10) to render the next frame. This is called prior to the current scene's Scene#render(long, double, RenderTarget) method.

Parameters

elapsedRealtime - Long: long The total elapsed rendering time in milliseconds.

deltaTime - Double: double The time passes since the last frame, in seconds.