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 |
---|---|
DxgiOutputDesc |
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 |
---|---|---|
DxgiModeDesc1 | modeToMatch | The desired display mode. |
object | 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 DxgiModeDesc structure. |
GetDisplaySurfaceData(DxgiResource2)
Copies the display surface (front buffer) to a user-provided resource.
Declaration
public void GetDisplaySurfaceData(DxgiResource2 destination)
Parameters
Type | Name | Description |
---|---|---|
DxgiResource2 | 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()