Logo Mibo

AdaptiveRaylibGame<'Frame> Type

The raylib-backed host for adaptive programs. Owns the window/audio lifecycle like RaylibGame and delegates the per-frame simulation to an AdaptiveHeadless runner.

Construct one with an AdaptiveProgram and call Run(). Each frame: poll input, check for resize, Step the runner (which runs the program's Update phase and forces the frame), then draw the renderers with the forced frame. The frame's transient views are valid until the next Step, so the draw window is exactly the gap between them.

Constructors

Constructor Description

AdaptiveRaylibGame(program)

Full Usage: AdaptiveRaylibGame(program)

Parameters:
Returns: AdaptiveRaylibGame<'Frame>
program : AdaptiveProgram<'Frame>
Returns: AdaptiveRaylibGame<'Frame>

Instance members

Instance member Description

this.Run

Full Usage: this.Run

Run the host: open the window, drive the frame loop, then tear down.

Type something to start searching.