Table of Contents

Enum TargetPlatform

Namespace
Microsoft.Xna.Framework.Content.Pipeline
Assembly
MonoGame.Framework.Content.Pipeline.dll

Identifiers for the target platform.

[TypeConverter(typeof(TargetPlatformTypeConverter))]
public enum TargetPlatform

Fields

Android = 3

Android-based devices (MonoGame)

DesktopGL = 4

All desktop versions using OpenGL. (MonoGame)

DesktopVK = 13

All desktop versions using Vulkan.

MacOSX = 5

Apple Mac OSX-based devices (iMac, MacBook, MacBook Air, etc) (MonoGame)

NativeClient = 6

Google Chrome Native Client (MonoGame)

PlayStation4 = 8

Sony PlayStation4

PlayStation5 = 9

Sony PlayStation5

RaspberryPi = 7

Raspberry Pi (MonoGame)

Switch = 11

Nintendo Switch

Web = 12

WebAssembly and Bridge.NET

Windows = 0

All desktop versions of Windows using DirectX.

Xbox360 = 1

Xbox 360 video game and entertainment system

XboxOne = 10

Xbox One

iOS = 2

Apple iOS-based devices (iPod Touch, iPhone, iPad) (MonoGame)