Struct DxgiOutputDesc
Describes an output or physical connection between the adapter (video card) and a device.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiOutputDesc : IEquatable<DxgiOutputDesc>
Properties
| Edit this page View SourceDesktopCoordinates
Gets a DxgiRect structure containing the bounds of the output in desktop coordinates. Desktop coordinates depend on the dots per inch (DPI) of the desktop.
Declaration
public DxgiRect DesktopCoordinates { get; }
Property Value
Type | Description |
---|---|
DxgiRect |
DeviceName
Gets a string that contains the name of the output device.
Declaration
public string DeviceName { get; }
Property Value
Type | Description |
---|---|
string |
IsAttachedToDesktop
Gets a value indicating whether the output is attached to the desktop.
Declaration
public bool IsAttachedToDesktop { get; }
Property Value
Type | Description |
---|---|
bool |
Monitor
Gets an handle that represents the display monitor.
Declaration
public nint Monitor { get; }
Property Value
Type | Description |
---|---|
nint |
Rotation
Gets a member of the DxgiModeRotation enumeration describing on how an image is rotated by the output.
Declaration
public DxgiModeRotation Rotation { get; }
Property Value
Type | Description |
---|---|
DxgiModeRotation |
Methods
| Edit this page View SourceEquals(DxgiOutputDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiOutputDesc other)
Parameters
Type | Name | Description |
---|---|---|
DxgiOutputDesc | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DxgiOutputDesc, DxgiOutputDesc)
Compares two DxgiOutputDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiOutputDesc left, DxgiOutputDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiOutputDesc | left | The left DxgiOutputDesc to compare. |
DxgiOutputDesc | right | The right DxgiOutputDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiOutputDesc, DxgiOutputDesc)
Compares two DxgiOutputDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiOutputDesc left, DxgiOutputDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiOutputDesc | left | The left DxgiOutputDesc to compare. |
DxgiOutputDesc | right | The right DxgiOutputDesc to compare. |
Returns
Type | Description |
---|---|
bool |