GraphicsAdapterΒΆ

class GraphicsAdapter : System.Object, System.IDisposable
readonly GraphicsAdapter DefaultAdapter
readonly System.Collections.ObjectModel.ReadOnlyCollection<GraphicsAdapter> Adapters
bool UseReferenceDevice

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

Microsoft.Xna.Framework.Graphics.DriverType UseDriverType

Used to request creation of a specific kind of driver.

readonly string Description
readonly int DeviceId
readonly string DeviceName
readonly int VendorId
readonly bool IsDefaultAdapter
readonly System.IntPtr MonitorHandle
readonly int Revision
readonly int SubSystemId
readonly DisplayModeCollection SupportedDisplayModes
readonly DisplayMode CurrentDisplayMode
readonly bool IsWideScreen

Returns true if the P:Microsoft.Xna.Framework.Graphics.GraphicsAdapter.CurrentDisplayMode is widescreen.

public bool IsProfileSupported(GraphicsProfile graphicsProfile)
Parameters:
  • graphicsProfile (Microsoft.Xna.Framework.Graphics.GraphicsProfile) –
public void Dispose()