Class GraphicsDeviceInformation
public class GraphicsDeviceInformation : IEquatable<GraphicsDeviceInformation>
- Inheritance
-
GraphicsDeviceInformation
- Implements
Constructors
GraphicsDeviceInformation()
Initializes a new instance of the GraphicsDeviceInformation class.
public GraphicsDeviceInformation()
Properties
Adapter
Gets or sets the adapter.
public GraphicsAdapter Adapter { get; set; }
Property Value
- GraphicsAdapter
The adapter.
Exceptions
- ArgumentNullException
if value is null
DeviceCreationFlags
Gets or sets the creation flags.
public DeviceCreationFlags DeviceCreationFlags { get; set; }
Property Value
- DeviceCreationFlags
The creation flags.
GraphicsProfile
Gets or sets the graphics profile.
public GraphicsProfile GraphicsProfile { get; set; }
Property Value
- GraphicsProfile
The graphics profile.
Exceptions
- ArgumentNullException
if value is null
PresentationParameters
Gets or sets the presentation parameters.
public PresentationParameters PresentationParameters { get; set; }
Property Value
- PresentationParameters
The presentation parameters.
Exceptions
- ArgumentNullException
if value is null
Methods
Clone()
Clones this instance.
public GraphicsDeviceInformation Clone()
Returns
- GraphicsDeviceInformation
A new copy-instance of this GraphicsDeviceInformation.
Equals(GraphicsDeviceInformation)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GraphicsDeviceInformation other)
Parameters
other
GraphicsDeviceInformationAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(GraphicsDeviceInformation, GraphicsDeviceInformation)
public static bool operator ==(GraphicsDeviceInformation left, GraphicsDeviceInformation right)
Parameters
Returns
operator !=(GraphicsDeviceInformation, GraphicsDeviceInformation)
public static bool operator !=(GraphicsDeviceInformation left, GraphicsDeviceInformation right)