abstract class RenderLoop::Engine
- RenderLoop::Engine
- Reference
- Object
Overview
Receives events from the main loop
Defined in:
render_loop/engine.crInstance Method Summary
-
#flush
Called to perform cleanup operations after the sceen has been rendered.
-
#render
Called at intervals desigated by the configured frame rate.
-
#shutdown
Called when the application is shutting down.
-
#startup
Called when the main loop is starting up.
-
#tick(tick : RenderLoop::Tick, input : RenderLoop::Input)
Called at each iteration of the main loop.
Instance Method Detail
def render
#
Called at intervals desigated by the configured frame rate. This is used to render the scene.
Called at each iteration of the main loop. This is when game state should be updated.