class

App

Inherits RenderLoop::Engine / Reference / Object

A Bismuth application.

Constructors

new(name : String, width : UInt16 = 800, height : UInt16 = 600, fullscreen = false, desired_fps : UInt32 = 60_u32)
Source

Instance methods

desired_fps(fps : UInt32)
Source
desired_fps
Source
device
Source
render(window : Window)

Called at intervals designated by the configured frame rate. This is used to render the scene for each of the app's windows.

Source
startup

Called when the main loop is starting up. Use this to set things up.

Source
tick(tick : Tick)

Called at each iteration of the main loop. This is when application state should be updated.

Source