Skip to content

PlatformAPI reference

Namespace MicroEngine.Desktop

The desktop launcher with the official desktop platforms (SDL 3, raylib, SDL software, headless).

Guide: Backends and platforms

Classes

DesktopLauncher

Standard entry point for desktop games: the shared launcher model (GameHost, the command line of GameLauncher) with the official desktop platforms, in order of preference: sdl (the default on Windows, Linux and macOS), raylib, sdl-software (SDL’s CPU renderer, for machines without a usable GPU such as virtual machines and CI runners) and headless. A game’s Program.cs is one line that hands over its Configure entry point, the same one the browser and phone builds call; choosing a platform is the player’s or the test’s business (–platform, MICROENGINE_PLATFORM), never the game’s.