Platforms

Xenko is cross-platform game engine. This means you can create your game once, then compile and deploy it on all the platforms Xenko supports. The engine converts C# and shaders to the different native languages, and abstracts the concepts that differ between platforms, so you don't have to adapt your code for each platform.

  • Windows Desktop 7, 8, 10
  • Windows Universal (UWP)
  • Linux (Ubuntu)
  • Android 2.3 and later
Tip

To check which platform your project uses, add a break point to your code (eg in a script), run the project, and check the Platform.Type variable.

  • Direct3D 9 (limited support), 10, 11, 12
  • OpenGL 3, 4
  • Vulkan
Note
Warning

Direct3D 9 doesn't support HDR textures. Using HDR textures with DirextX 9 will crash your game.

You set the graphics platform in the Game settings asset under Rendering settings > Target graphics platform.

For more information, see .

Xenko defines preprocessor variables if you want to write code that compiles only under a specific platform. For more information, see Preprocessor variables.