Class DxgiOutput2
An IDXGIOutput1
interface represents an adapter output (such as a monitor).
Inherited Members
Namespace: JeremyAnsel .DirectX .Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public sealed class DxgiOutput2 : DxgiObject, IDisposable, IDxgiReleasable
Properties
| Edit this page View SourceDescription
Gets a description of the output.
Declaration
public DxgiOutputDesc Description { get; }
Property Value
Type | Description |
---|---|
Dxgi |
Handle
Gets an handle representing the DXGI object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
Methods
| Edit this page View SourceFindClosestMatchingMode(DxgiModeDesc1, object)
Finds the display mode that most closely matches the requested display mode.
Declaration
public DxgiModeDesc1 FindClosestMatchingMode(DxgiModeDesc1 modeToMatch, object concernedDevice)
Parameters
Type | Name | Description |
---|---|---|
Dxgi |
modeToMatch | The desired display mode. |
object | concernedDevice | The Direct3D device interface. If this parameter is |
Returns
Type | Description |
---|---|
Dxgi |
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 |
---|---|---|
Dxgi |
format | The color format. |
Dxgi |
modes | Options for modes to include. |
Returns
Type | Description |
---|---|
Dxgi |
An array of Dxgi |
GetDisplaySurfaceData(DxgiResource2)
Copies the display surface (front buffer) to a user-provided resource.
Declaration
public void GetDisplaySurfaceData(DxgiResource2 destination)
Parameters
Type | Name | Description |
---|---|---|
Dxgi |
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 |
---|---|
Dxgi |
The frame statistics. |
WaitForVBlank()
Halt a thread until the next vertical blank occurs.
Declaration
public void WaitForVBlank()