Struct DxgiModeDesc
Describes a display mode.
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiModeDesc : IEquatable<DxgiModeDesc>
Properties
|
Edit this page
View Source
Gets or sets a member of the DxgiFormat enumeration describing the display format.
Declaration
public DxgiFormat Format { get; set; }
Property Value
|
Edit this page
View Source
Height
Gets or sets a value describing the resolution height.
Declaration
public uint Height { get; set; }
Property Value
|
Edit this page
View Source
RefreshRate
Gets or sets a DxgiRational structure describing the refresh rate in hertz.
Declaration
public DxgiRational RefreshRate { get; set; }
Property Value
|
Edit this page
View Source
Scaling
Gets or sets a member of the DxgiModeScaling enumeration describing the scaling mode.
Declaration
public DxgiModeScaling Scaling { get; set; }
Property Value
|
Edit this page
View Source
ScanlineOrdering
Declaration
public DxgiModeScanlineOrder ScanlineOrdering { get; set; }
Property Value
|
Edit this page
View Source
Width
Gets or sets a value that describes the resolution width.
Declaration
public uint Width { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiModeDesc)
Declaration
public readonly bool Equals(DxgiModeDesc other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DxgiModeDesc NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiModeDesc>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiModeDesc> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DxgiModeDesc)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiModeDesc obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiModeDesc>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiModeDesc> objects)
Parameters
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override readonly string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(DxgiModeDesc, DxgiModeDesc)
Declaration
public static bool operator ==(DxgiModeDesc left, DxgiModeDesc right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiModeDesc, DxgiModeDesc)
Declaration
public static bool operator !=(DxgiModeDesc left, DxgiModeDesc right)
Parameters
Returns
Implements