[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Output

Class Output

Namespace
GrapeCity.Documents.DX.DXGI
Assembly
GcDocs.DX.Windows.dll

IDXGIOutput

[Guid("ae02eedb-c735-4690-8d52-5a8dc20213aa")]
public class Output : DXGIObject, IDisposable, IUnknown
Inheritance
object
Output
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Output(IntPtr)

Initializes a new instance of the Output class.

public Output(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription

public OutputDescription Description { get; }

Property Value

OutputDescription

Methods

CopyDisplaySurfaceTo(Surface)

HRESULT IDXGIOutput::GetDisplaySurfaceData([In] IDXGISurface* pDestination)

public void CopyDisplaySurfaceTo(Surface destinationRef)

Parameters

destinationRef Surface

FindClosestMatchingMode(ref ModeDescription, out ModeDescription, ComObject)

HRESULT 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)

Parameters

modeToMatchRef ModeDescription
closestMatchRef ModeDescription
concernedDeviceRef ComObject

GetClosestMatchingMode(ComObject, ModeDescription, out ModeDescription)

Find the display mode that most closely matches the requested display mode.

public void GetClosestMatchingMode(ComObject device, ModeDescription modeToMatch, out ModeDescription closestMatch)

Parameters

device ComObject
modeToMatch ModeDescription
closestMatch ModeDescription

GetDescription(out OutputDescription)

HRESULT IDXGIOutput::GetDesc([Out] DXGI_OUTPUT_DESC* pDesc)

public void GetDescription(out OutputDescription descRef)

Parameters

descRef OutputDescription

GetDisplayModeList(Format, DisplayModeEnumerationFlags)

Gets the display modes that match the requested format and other input options.

public ModeDescription[] GetDisplayModeList(Format format, DisplayModeEnumerationFlags flags)

Parameters

format Format
flags DisplayModeEnumerationFlags

Returns

ModeDescription[]

GetDisplayModeList(Format, int, ref int, ModeDescription[])

HRESULT 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)

Parameters

enumFormat Format
flags int
numModesRef int
descRef ModeDescription[]

GetFrameStatistics(out FrameStatistics)

HRESULT IDXGIOutput::GetFrameStatistics([Out] DXGI_FRAME_STATISTICS* pStats)

public void GetFrameStatistics(out FrameStatistics statsRef)

Parameters

statsRef FrameStatistics

ReleaseOwnership()

void IDXGIOutput::ReleaseOwnership()

public void ReleaseOwnership()

SetDisplaySurface(Surface)

HRESULT IDXGIOutput::SetDisplaySurface([In] IDXGISurface* pScanoutSurface)

public void SetDisplaySurface(Surface scanoutSurfaceRef)

Parameters

scanoutSurfaceRef Surface

TakeOwnership(ComObject, Bool)

HRESULT IDXGIOutput::TakeOwnership([In] IUnknown* pDevice,[In] BOOL Exclusive)

public void TakeOwnership(ComObject deviceRef, Bool exclusive)

Parameters

deviceRef ComObject
exclusive Bool

WaitForVBlank()

HRESULT IDXGIOutput::WaitForVBlank()

public void WaitForVBlank()

Operators

explicit operator Output(IntPtr)

Performs an explicit conversion from System.IntPtr to Output.

public static explicit operator Output(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Output