Class DxgiOutput1
An IDXGIOutput
interface represents an adapter output (such as a monitor).
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public sealed class DxgiOutput1 : 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(DxgiModeDesc, object)
Finds the display mode that most closely matches the requested display mode.
Declaration
public DxgiModeDesc FindClosestMatchingMode(DxgiModeDesc modeToMatch, object concernedDevice)
Parameters
Type | Name | Description |
---|---|---|
DxgiModeDesc | modeToMatch | The desired display mode. |
object | concernedDevice | The Direct3D device interface. If this parameter is |
Returns
Type | Description |
---|---|
DxgiModeDesc | The mode that most closely matches |
GetDisplayModeList(DxgiFormat, DxgiEnumModes)
Gets the display modes that match the requested format and other input options.
Declaration
public DxgiModeDesc[] GetDisplayModeList(DxgiFormat format, DxgiEnumModes modes)
Parameters
Type | Name | Description |
---|---|---|
DxgiFormat | format | The color format. |
DxgiEnumModes | modes | Options for modes to include. |
Returns
Type | Description |
---|---|
DxgiModeDesc[] | An array of DxgiModeDesc structure. |
GetDisplaySurfaceData(DxgiSurface1)
Gets a copy of the current display surface.
Declaration
public void GetDisplaySurfaceData(DxgiSurface1 destination)
Parameters
Type | Name | Description |
---|---|---|
DxgiSurface1 | destination | A destination 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()