GraphicsAdapter.UseReferenceDevice Property (Microsoft.Xna.Framework.Graphics)

Used to request creation of the reference graphics device, or the default hardware accelerated device (when set to false).

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static bool UseReferenceDevice { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.Boolean
This only works on DirectX platforms where a reference graphics device is available and must be defined before the graphics device is created. It defaults to false.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web