AdaptiveMonoGameProgram Module
MonoGame-specific adaptive program builder extensions.
Types
| Type | Description |
|
One entry of a sound bank: a game-vocabulary key bound to the source
that plays under it. The whole bank loads before the program's
|
Functions and values
| Function or value |
Description
|
Full Usage:
ofProgram program
Parameters:
AdaptiveProgram<'Frame>
Returns: AdaptiveMonoGameProgram<'Frame>
Type parameters: 'Frame |
Wraps an AdaptiveProgram into an AdaptiveMonoGameProgram with no device-level configuration.
|
Full Usage:
withBank bank program
Parameters:
BankEntry list
program : AdaptiveMonoGameProgram<'Frame>
Returns: AdaptiveMonoGameProgram<'Frame>
Type parameters: 'Frame |
Configures the game's sound bank: every entry loads before the program's
Each entry names its own Source —
The adaptive counterpart of
MonoGameProgram.withBank: same entries, same
load slot (service registrations run before
Example
val mgProgram: obj
|
Full Usage:
withConfig configure program
Parameters:
Game * GraphicsDeviceManager -> unit
program : AdaptiveMonoGameProgram<'Frame>
Returns: AdaptiveMonoGameProgram<'Frame>
Type parameters: 'Frame |
Adds a device-level configuration callback that receives the
Invoked in the
AdaptiveMonoGameGame constructor, after the
Core AdaptiveProgram.withConfig callbacks and
before Use this for properties that require direct
|
Mibo