Struct DxgiModeDesc
Describes a display mode.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiModeDesc : IEquatable<DxgiModeDesc>
Properties
| Edit this page View SourceFormat
Gets or sets a member of the DxgiFormat enumeration describing the display format.
Declaration
public DxgiFormat Format { get; set; }
Property Value
Type | Description |
---|---|
DxgiFormat |
Height
Gets or sets a value describing the resolution height.
Declaration
public uint Height { get; set; }
Property Value
Type | Description |
---|---|
uint |
RefreshRate
Gets or sets a DxgiRational structure describing the refresh rate in hertz.
Declaration
public DxgiRational RefreshRate { get; set; }
Property Value
Type | Description |
---|---|
DxgiRational |
Scaling
Gets or sets a member of the DxgiModeScaling enumeration describing the scaling mode.
Declaration
public DxgiModeScaling Scaling { get; set; }
Property Value
Type | Description |
---|---|
DxgiModeScaling |
ScanlineOrdering
Gets or sets a member of the DxgiModeScanlineOrder enumeration describing the scanline drawing mode.
Declaration
public DxgiModeScanlineOrder ScanlineOrdering { get; set; }
Property Value
Type | Description |
---|---|
DxgiModeScanlineOrder |
Width
Gets or sets a value that describes the resolution width.
Declaration
public uint Width { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(DxgiModeDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiModeDesc other)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc | 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 ==(DxgiModeDesc, DxgiModeDesc)
Compares two DxgiModeDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiModeDesc left, DxgiModeDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc | left | The left DxgiModeDesc to compare. |
DxgiModeDesc | right | The right DxgiModeDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiModeDesc, DxgiModeDesc)
Compares two DxgiModeDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiModeDesc left, DxgiModeDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc | left | The left DxgiModeDesc to compare. |
DxgiModeDesc | right | The right DxgiModeDesc to compare. |
Returns
Type | Description |
---|---|
bool |