Struct DxgiModeDesc1
Describes a display mode and whether the display mode supports stereo.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiModeDesc1 : IEquatable<DxgiModeDesc1>
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 |
Stereo
Gets or sets a value indicating whether the full-screen display mode is stereo.
Declaration
public bool Stereo { get; set; }
Property Value
Type | Description |
---|---|
bool |
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(DxgiModeDesc1)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiModeDesc1 other)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc1 | 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 ==(DxgiModeDesc1, DxgiModeDesc1)
Compares two DxgiModeDesc1 objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiModeDesc1 left, DxgiModeDesc1 right)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc1 | left | The left DxgiModeDesc1 to compare. |
DxgiModeDesc1 | right | The right DxgiModeDesc1 to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiModeDesc1, DxgiModeDesc1)
Compares two DxgiModeDesc1 objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiModeDesc1 left, DxgiModeDesc1 right)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc1 | left | The left DxgiModeDesc1 to compare. |
DxgiModeDesc1 | right | The right DxgiModeDesc1 to compare. |
Returns
Type | Description |
---|---|
bool |