Table of Contents

Enum AppContextType

Namespace
Stride.Games
Assembly
Stride.Graphics.dll

Defines the type of a GameContext, which usually determines the platform, or a combination of platform and UI/presentation framework.

public enum AppContextType
Extension Methods

Fields

Android = 3

The Game runs on an Android device in an AndroidStrideGameView.

[Obsolete("Use DesktopWinForms instead.")] Desktop = 0

Alias for DesktopWinForms.

DesktopSDL = 1

The Game runs on desktop in a SDL window.

DesktopWPF = 2

The Game runs on desktop in a WPF window through a D3DImage.

DesktopWinForms = 0

The Game runs on desktop in a Windows Forms' Form or Control.

[Obsolete("Use DesktopWPF instead.")] DesktopWpf = 2

Alias for DesktopWPF.

Headless = 7

The Game runs in headless mode without a window or display. Used for automated testing with software renderers (e.g. Lavapipe).

UWPCoreWindow = 5

The Game runs on UWP (Universal Windows Platform) in a CoreWindow.

UWPXaml = 4

The Game runs on UWP (Universal Windows Platform) in a Xaml SwapChainPanel.

iOS = 6

The Game runs on an iOS device in an iPhoneOSGameView.