Program<'Model, 'Msg> Type
The Elmish program record that defines the complete game architecture.
A program ties together initialization, update logic, subscriptions, and rendering. Use the Program module functions to construct and configure programs.
Record fields
| Record Field |
Description
|
Full Usage:
AssetsBasePath
Field type: string voption
|
Optional base path for asset loading. Set via Program.withAssetsBasePath.
|
|
List of configuration callbacks that transform the default GameConfig. Each callback receives current config and returns a modified copy.
|
|
Controls when dispatched messages become eligible for processing. See DispatchMode.
|
|
Optional framework-managed fixed timestep configuration.
|
Full Usage:
HasInput
Field type: bool
|
Whether the input service is enabled. Set via Program.withInput.
|
Full Usage:
HasInputMapper
Field type: bool
|
Whether an input mapper service is enabled. Set via Program.withInputMapper.
|
|
Creates initial model and commands when the game starts.
|
List of renderer factories for drawing.
|
|
|
Returns subscriptions based on current model state.
|
Optional function to generate a message each frame.
|
|
Handles messages and returns updated model and commands.
|
Mibo.Raylib