GraphicsDeviceInformation.Adapter Property (Microsoft.Xna.Framework)

The graphics adapter on which the graphics device will be created.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public GraphicsAdapter Adapter { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

This is only valid on desktop systems where multiple graphics adapters are possible. Defaults to DefaultAdapter.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop