Partager via


GraphicsAdapter Members

The following tables list the members exposed by the GraphicsAdapter type.

Public Properties

Name Description
Public Property Static Adapters Collection of available adapters on the system.
Public Property CurrentDisplayMode Gets the current display mode.
Public Property Static DefaultAdapter Gets the default adapter.
Public Property Description Retrieves a string used for presentation to the user.
Public Property DeviceId Retrieves a value that is used to help identify a particular chip set.
Public Property DeviceIdentifier Retrieves a globally unique identifier (GUID) object that can be used to check changes in the driver and chip set.
Public Property DeviceName Retrieves a string that contains the device name for a Microsoft Windows Graphics Device Interface (GDI).
Public Property DriverDll Retrieves a string that is used to present the driver name to the user.
Public Property DriverVersion Retrieves a value that identifies the version of the Microsoft Direct3D driver.
Public Property IsDefaultAdapter Determines if this instance of GraphicsAdapter is the default adapter.
Public Property MonitorHandle Retrieves the handle of the monitor associated with the Microsoft Direct3D object.
Public Property Revision Retrieves a value used to help identify the revision level of a particular chip set.
Public Property SubSystemId Retrieves a value used to identify the subsystem.
Public Property SupportedDisplayModes Returns a collection of supported display modes for the current adapter.
Public Property VendorId Retrieves a value used to identify the manufacturer.

Public Methods

Name Description
Public Method CheckDepthStencilMatch Tests whether a depth stencil format is compatible with a render target format in a particular display mode.
Public Method CheckDeviceFormat Overloaded. Determines whether a surface or depth buffer format is available as a specified resource type and can be used as a texture, depth-stencil buffer, render target, or any combination of the three, on a device representing the current adapter.
Public Method CheckDeviceFormatConversion Tests a device to determine whether it supports conversion from one display format to another.
Public Method CheckDeviceMultiSampleType Overloaded. Verifies whether a multisample technique is available on a specified device.
Public Method CheckDeviceType Determines whether a hardware-accelerated device type can be used on the current adapter.
Public Method Dispose Releases all resources used by the GraphicsAdapter class.
Public Method Equals Overloaded. Determines whether two instances of GraphicsAdapter are equal.
Public Method GetCapabilities Returns the capabilities of a device.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method IsDeviceTypeAvailable Determines whether a requested device type is available.
Public Method Static op_Equality Compares two objects to determine whether they are the same.
Public Method Static op_Inequality Compares two objects to determine whether they are different.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

GraphicsAdapter Class
Microsoft.Xna.Framework.Graphics Namespace