GraphicsDeviceInformation Class
Namespace: Stride.GamesAssembly: Stride.Games.dll
System.Object →
GraphicsDeviceInformation
Derived from GraphicsDeviceInformation:
public class GraphicsDeviceInformation : IEquatable<GraphicsDeviceInformation>
| Name | Description | |
|---|---|---|
| Constructors | ||
| GraphicsDeviceInformation() | Initializes a new instance of the GraphicsDeviceInformation class. |
|
| Properties | ||
| Adapter | Gets or sets the adapter. |
|
| DeviceCreationFlags | Gets or sets the creation flags. |
|
| GraphicsProfile | Gets or sets the graphics profile. |
|
| PresentationParameters | Gets or sets the presentation parameters. |
|
| Methods | ||
| Clone() | Clones this instance. |
|
| Equals(GraphicsDeviceInformation) | ||
| Equals(Object) | ||
| GetHashCode() | ||
| Operators | ||
| Equality(GraphicsDeviceInformation, GraphicsDeviceInformation) | ||
| Inequality(GraphicsDeviceInformation, GraphicsDeviceInformation) | ||
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
| Type | Description |
|---|---|
| GraphicsAdapter | The adapter. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | if value is null |
DeviceCreationFlags
Gets or sets the creation flags.
public DeviceCreationFlags DeviceCreationFlags { get; set; }
Property Value
| Type | Description |
|---|---|
| DeviceCreationFlags | The creation flags. |
GraphicsProfile
Gets or sets the graphics profile.
public GraphicsProfile GraphicsProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| GraphicsProfile | The graphics profile. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | if value is null |
PresentationParameters
Gets or sets the presentation parameters.
public PresentationParameters PresentationParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| PresentationParameters | The presentation parameters. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | if value is null |
Methods
Clone()
Clones this instance.
public GraphicsDeviceInformation Clone()
Returns
| Type | Description |
|---|---|
| GraphicsDeviceInformation | A new copy-instance of this GraphicsDeviceInformation. |
Equals(GraphicsDeviceInformation)
public bool Equals(GraphicsDeviceInformation other)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDeviceInformation | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Object)
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
Operators
Equality(GraphicsDeviceInformation, GraphicsDeviceInformation)
public static bool operator ==(GraphicsDeviceInformation left, GraphicsDeviceInformation right)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDeviceInformation | left | |
| GraphicsDeviceInformation | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(GraphicsDeviceInformation, GraphicsDeviceInformation)
public static bool operator !=(GraphicsDeviceInformation left, GraphicsDeviceInformation right)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDeviceInformation | left | |
| GraphicsDeviceInformation | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |