Table of Contents

Class GraphicsDeviceInformation

Namespace
Stride.Games
Assembly
Stride.Games.dll
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 GraphicsDeviceInformation

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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

left GraphicsDeviceInformation
right GraphicsDeviceInformation

Returns

bool

operator !=(GraphicsDeviceInformation, GraphicsDeviceInformation)

public static bool operator !=(GraphicsDeviceInformation left, GraphicsDeviceInformation right)

Parameters

left GraphicsDeviceInformation
right GraphicsDeviceInformation

Returns

bool