Skip to content

PlatformAPI reference

Class DesktopLauncher

Namespace: MicroEngine.Raylib
Assembly: MicroEngine.Raylib.dll
Guide: Backends and platforms

Entry point for desktop games on raylib only: the shared launcher model (GameHost, the arguments of GameLauncher) with the raylib and headless platforms. Games that should run on the recommended platform of each system use MicroEngine.Desktop.DesktopLauncher instead.

C#
public static class DesktopLauncher

Inheritance

object ← DesktopLauncher

Methods

CreateCatalog()

A new catalog with the raylib and headless platforms.

C#
public static PlatformCatalog CreateCatalog()

Returns

PlatformCatalog

Run(Action<HostBuilder>, string[])

Runs the game a composition chooses (the game’s Configure entry point); returns the process exit code.

C#
public static int Run(Action<HostBuilder> configure, string[] args)

Parameters

configure Action<HostBuilder>

args string[]

Returns

int

Run(Game, string[])

Runs game with the arguments of GameLauncher; returns the process exit code.

C#
public static int Run(Game game, string[] args)

Parameters

game Game

args string[]

Returns

int