[]
IDXGIOutput
[Guid("ae02eedb-c735-4690-8d52-5a8dc20213aa")]
public class Output : DXGIObject, IDisposable, IUnknown
Initializes a new instance of the Output class.
public Output(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
GetDescription
public OutputDescription Description { get; }
HRESULT IDXGIOutput::GetDisplaySurfaceData([In] IDXGISurface* pDestination)
public void CopyDisplaySurfaceTo(Surface destinationRef)
destinationRef SurfaceHRESULT IDXGIOutput::FindClosestMatchingMode([In] const DXGI_MODE_DESC* pModeToMatch,[Out] DXGI_MODE_DESC* pClosestMatch,[In, Optional] IUnknown* pConcernedDevice)
public void FindClosestMatchingMode(ref ModeDescription modeToMatchRef, out ModeDescription closestMatchRef, ComObject concernedDeviceRef)
modeToMatchRef ModeDescriptionclosestMatchRef ModeDescriptionconcernedDeviceRef ComObjectFind the display mode that most closely matches the requested display mode.
public void GetClosestMatchingMode(ComObject device, ModeDescription modeToMatch, out ModeDescription closestMatch)
device ComObjectmodeToMatch ModeDescriptionclosestMatch ModeDescriptionHRESULT IDXGIOutput::GetDesc([Out] DXGI_OUTPUT_DESC* pDesc)
public void GetDescription(out OutputDescription descRef)
descRef OutputDescriptionGets the display modes that match the requested format and other input options.
public ModeDescription[] GetDisplayModeList(Format format, DisplayModeEnumerationFlags flags)
format Formatflags DisplayModeEnumerationFlagsHRESULT IDXGIOutput::GetDisplayModeList([In] DXGI_FORMAT EnumFormat,[In] unsigned int Flags,[InOut] unsigned int* pNumModes,[Out, Buffer, Optional] DXGI_MODE_DESC* pDesc)
public void GetDisplayModeList(Format enumFormat, int flags, ref int numModesRef, ModeDescription[] descRef)
enumFormat Formatflags intnumModesRef intdescRef ModeDescription[]HRESULT IDXGIOutput::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats)
public void GetFrameStatistics(out FrameStatistics statsRef)
statsRef FrameStatisticsvoid IDXGIOutput::ReleaseOwnership()
public void ReleaseOwnership()
HRESULT IDXGIOutput::SetDisplaySurface([In] IDXGISurface* pScanoutSurface)
public void SetDisplaySurface(Surface scanoutSurfaceRef)
scanoutSurfaceRef SurfaceHRESULT IDXGIOutput::TakeOwnership([In] IUnknown* pDevice,[In] BOOL Exclusive)
public void TakeOwnership(ComObject deviceRef, Bool exclusive)
HRESULT IDXGIOutput::WaitForVBlank()
public void WaitForVBlank()
Performs an explicit conversion from System.IntPtr to Output.
public static explicit operator Output(IntPtr nativePointer)
nativePointer System.IntPtr