API Reference
Thunder.MonoGame.Avalonia is a single package exposing a small, focused API surface. All public types are in the Thunder.MonoGame.Avalonia namespace family.
Public types
| Type | Namespace | Purpose |
|---|---|---|
MonoGameControl |
Controls | Avalonia control that hosts a MonoGame Game instance via OpenGL compositor integration |
SubViewGameControl |
Controls | Secondary viewport control for multi-screen layouts; renders via DrawCallback into the main game's GL context |
SubViewportDrawContext |
Controls | Passed to a SubViewGameControl's draw callback; carries the viewport bounds and framebuffer identifier |
AvaloniaInput |
Controls | Routes Avalonia keyboard/mouse/gamepad events into MonoGame's polling-style input state |
AvaloniaGlContext |
Platform | Thread-static OpenGL context broker; provides the GlInterface and framebuffer handle for the current render tick |
X11MultiScreenFullscreen |
(root) | X11-specific helper for spanning a game across multiple physical monitors |