Class DxgiOutput3
Represents an adapter output (such as a monitor). The IDXGIOutput2 interface exposes a method to check for multi-plane overlay support on the primary output adapter.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
[SecurityCritical]
public class DxgiOutput3 : DxgiObject, IDisposable
Constructors
| Edit this page View SourceDxgiOutput3(nint)
Initializes a new instance of the DxgiOutput3 class.
Declaration
public DxgiOutput3(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceDxgiOutput3Guid
The interface GUID.
Declaration
public static readonly Guid DxgiOutput3Guid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets a description of the output.
Declaration
public DxgiOutputDesc Description { get; }
Property Value
| Type | Description |
|---|---|
| DxgiOutputDesc |
SupportsOverlays
Gets a value indicating whether the output adapter supports multi-plane overlay.
Declaration
public bool SupportsOverlays { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceFindClosestMatchingMode(in DxgiModeDesc1, nint)
Finds the display mode that most closely matches the requested display mode.
Declaration
public DxgiModeDesc1 FindClosestMatchingMode(in DxgiModeDesc1 modeToMatch, nint concernedDevice)
Parameters
| Type | Name | Description |
|---|---|---|
| DxgiModeDesc1 | modeToMatch | The desired display mode. |
| nint | concernedDevice | The Direct3D device interface. If this parameter is |
Returns
| Type | Description |
|---|---|
| DxgiModeDesc1 | The mode that most closely matches |
GetDisplayModeList(DxgiFormat, DxgiEnumModes)
Gets the display modes that match the requested format and other input options.
Declaration
public DxgiModeDesc1[] GetDisplayModeList(DxgiFormat format, DxgiEnumModes modes)
Parameters
| Type | Name | Description |
|---|---|---|
| DxgiFormat | format | The color format. |
| DxgiEnumModes | modes | Options for modes to include. |
Returns
| Type | Description |
|---|---|
| DxgiModeDesc1[] | An array of DxgiModeDesc1 structure. |
GetDisplayModeList(DxgiFormat, DxgiEnumModes, Span<DxgiModeDesc1>)
Gets the display modes that match the requested format and other input options.
Declaration
public int GetDisplayModeList(DxgiFormat format, DxgiEnumModes modes, Span<DxgiModeDesc1> displayModes)
Parameters
| Type | Name | Description |
|---|---|---|
| DxgiFormat | format | The color format. |
| DxgiEnumModes | modes | Options for modes to include. |
| Span<DxgiModeDesc1> | displayModes | An span of DxgiModeDesc1 structure. |
Returns
| Type | Description |
|---|---|
| int | The count of structure. |
GetDisplayModeListCount(DxgiFormat, DxgiEnumModes)
Gets the display modes count that match the requested format and other input options.
Declaration
public int GetDisplayModeListCount(DxgiFormat format, DxgiEnumModes modes)
Parameters
| Type | Name | Description |
|---|---|---|
| DxgiFormat | format | The color format. |
| DxgiEnumModes | modes | Options for modes to include. |
Returns
| Type | Description |
|---|---|
| int | The count. |
GetDisplaySurfaceData(DxgiResource3?)
Copies the display surface (front buffer) to a user-provided resource.
Declaration
public void GetDisplaySurfaceData(DxgiResource3? destination)
Parameters
| Type | Name | Description |
|---|---|---|
| DxgiResource3 | destination | A resource interface that represents the resource to which copies the display surface. |
GetFrameStatistics()
Gets statistics about recently rendered frames.
Declaration
public DxgiFrameStatistics GetFrameStatistics()
Returns
| Type | Description |
|---|---|
| DxgiFrameStatistics | The frame statistics. |
WaitForVBlank()
Halt a thread until the next vertical blank occurs.
Declaration
public void WaitForVBlank()