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 Dxgi
Declaration
public DxgiFormat Format { get; set; }
Property Value
Type | Description |
---|---|
Dxgi |
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 Dxgi
Declaration
public DxgiRational RefreshRate { get; set; }
Property Value
Type | Description |
---|---|
Dxgi |
Scaling
Gets or sets a member of the Dxgi
Declaration
public DxgiModeScaling Scaling { get; set; }
Property Value
Type | Description |
---|---|
Dxgi |
ScanlineOrdering
Gets or sets a member of the Dxgi
Declaration
public DxgiModeScanlineOrder ScanlineOrdering { get; set; }
Property Value
Type | Description |
---|---|
Dxgi |
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 |
---|---|---|
Dxgi |
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 Dxgi
Declaration
public static bool operator ==(DxgiModeDesc left, DxgiModeDesc right)
Parameters
Type | Name | Description |
---|---|---|
Dxgi |
left | The left Dxgi |
Dxgi |
right | The right Dxgi |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiModeDesc, DxgiModeDesc)
Compares two Dxgi
Declaration
public static bool operator !=(DxgiModeDesc left, DxgiModeDesc right)
Parameters
Type | Name | Description |
---|---|---|
Dxgi |
left | The left Dxgi |
Dxgi |
right | The right Dxgi |
Returns
Type | Description |
---|---|
bool |