abstract class App
- App
- RenderLoop::Engine
- Reference
- Object
Overview
A Bismuth application.
Defined in:
bismuth.crConstructors
Instance Method Summary
- #desired_fps(fps : UInt32)
- #desired_fps : UInt32
- #device : WGPU::Device
-
#render(window : Window)
Called at intervals designated by the configured frame rate.
- #run
-
#startup
Called when the main loop is starting up.
-
#tick(tick : Tick)
Called at each iteration of the main loop.
Constructor Detail
def self.new(name : String, width : UInt16 = 800, height : UInt16 = 600, fullscreen = false, desired_fps = 60_u32)
#
Instance Method Detail
Called at intervals designated by the configured frame rate. This is used to render the scene for each of the app's windows.
Called at each iteration of the main loop. This is when application state should be updated.