[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.SwapChain1

Class SwapChain1

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

IDXGISwapChain1

[Guid("790a45f7-0d42-4876-983a-0a55cfe6f4aa")]
public class SwapChain1 : SwapChain, IDisposable, IUnknown
Inheritance
object
SwapChain1
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

SwapChain1(IntPtr)

Initializes a new instance of the SwapChain1 class.

public SwapChain1(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description1

GetDescription1

public SwapChainDescription1 Description1 { get; }

Property Value

SwapChainDescription1

FullScreenDescription

GetFullScreenDescription

public SwapChainFullScreenDescription FullScreenDescription { get; }

Property Value

SwapChainFullScreenDescription

Methods

GetBackgroundColor()

HRESULT IDXGISwapChain1::GetBackgroundColor([Out] D3DCOLORVALUE* pColor)

public ColorF GetBackgroundColor()

Returns

ColorF

GetCoreWindow(Guid)

HRESULT IDXGISwapChain1::GetCoreWindow([In] const GUID& refiid,[Out] void** ppUnk)

public IntPtr GetCoreWindow(Guid refiid)

Parameters

refiid System.Guid

Returns

System.IntPtr

GetDescription1(out SwapChainDescription1)

HRESULT IDXGISwapChain1::GetDesc1([Out] DXGI_SWAP_CHAIN_DESC1* pDesc)

public void GetDescription1(out SwapChainDescription1 descRef)

Parameters

descRef SwapChainDescription1

GetFullScreenDescription(out SwapChainFullScreenDescription)

HRESULT IDXGISwapChain1::GetFullScreenDesc([Out] DXGI_SWAP_CHAIN_FULLSCREEN_DESC* pDesc)

public void GetFullScreenDescription(out SwapChainFullScreenDescription descRef)

Parameters

descRef SwapChainFullScreenDescription

GetHwnd()

HRESULT IDXGISwapChain1::GetHwnd([Out] HWND* pHwnd)

public IntPtr GetHwnd()

Returns

System.IntPtr

GetRestrictToOutput()

HRESULT IDXGISwapChain1::GetRestrictToOutput([Out] IDXGIOutput** ppRestrictToOutput)

public Output GetRestrictToOutput()

Returns

Output

GetRotation()

HRESULT IDXGISwapChain1::GetRotation([Out] DXGI_MODE_ROTATION* pRotation)

public DisplayModeRotation GetRotation()

Returns

DisplayModeRotation

IsTemporaryMonoSupported()

BOOL IDXGISwapChain1::IsTemporaryMonoSupported()

public bool IsTemporaryMonoSupported()

Returns

bool

Present1(int, PresentFlags, ref PresentParameters)

HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)

public bool Present1(int syncInterval, PresentFlags presentFlags, ref PresentParameters presentParameters)

Parameters

syncInterval int
presentFlags PresentFlags
presentParameters PresentParameters

Returns

bool

Present1(int, PresentFlags, RectL[])

HRESULT IDXGISwapChain1::Present1([In] unsigned int SyncInterval,[In] DXGI_PRESENT_FLAGS PresentFlags,[In] const void* pPresentParameters)

public bool Present1(int syncInterval, PresentFlags presentFlags, RectL[] dirtyRectangles)

Parameters

syncInterval int
presentFlags PresentFlags
dirtyRectangles RectL[]

Returns

bool

SetBackgroundColor(ColorF)

HRESULT IDXGISwapChain1::SetBackgroundColor([In] const D3DCOLORVALUE* pColor)

public void SetBackgroundColor(ColorF colorRef)

Parameters

colorRef ColorF

SetRotation(DisplayModeRotation)

HRESULT IDXGISwapChain1::SetRotation([In] DXGI_MODE_ROTATION Rotation)

public void SetRotation(DisplayModeRotation rotation)

Parameters

rotation DisplayModeRotation

Operators

explicit operator SwapChain1(IntPtr)

Performs an explicit conversion from System.IntPtr to SwapChain1.

public static explicit operator SwapChain1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

SwapChain1