[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Factory2

Class Factory2

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

IDXGIFactory2

[Guid("50c83a1c-e072-4c48-87b0-3630fa36a6d0")]
public class Factory2 : Factory1, IDisposable, IUnknown
Inheritance
object
Factory2
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

Factory2(IntPtr)

Initializes a new instance of the Factory2 class.

public Factory2(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create()

Creates an Factory2 object.

public static Factory2 Create()

Returns

Factory2

CreateSwapChain1ForComposition(ComObject, ref SwapChainDescription1, Output)

HRESULT IDXGIFactory2::CreateSwapChainForComposition([In] IUnknown* pDevice,[In] const DXGI_SWAP_CHAIN_DESC1* pDesc,[In, Optional] IDXGIOutput* pRestrictToOutput,[Out, Fast] IDXGISwapChain1** ppSwapChain)

public SwapChain1 CreateSwapChain1ForComposition(ComObject deviceRef, ref SwapChainDescription1 descRef, Output restrictToOutputRef)

Parameters

deviceRef ComObject
descRef SwapChainDescription1
restrictToOutputRef Output

Returns

SwapChain1

CreateSwapChain1ForCoreWindow(ComObject, ComObject, ref SwapChainDescription1, Output)

HRESULT IDXGIFactory2::CreateSwapChainForCoreWindow([In] IUnknown* pDevice,[In] IUnknown* pWindow,[In] const DXGI_SWAP_CHAIN_DESC1* pDesc,[In, Optional] IDXGIOutput* pRestrictToOutput,[Out, Fast] IDXGISwapChain1** ppSwapChain)

public SwapChain1 CreateSwapChain1ForCoreWindow(ComObject deviceRef, ComObject windowRef, ref SwapChainDescription1 descRef, Output restrictToOutputRef)

Parameters

deviceRef ComObject
windowRef ComObject
descRef SwapChainDescription1
restrictToOutputRef Output

Returns

SwapChain1

CreateSwapChain1ForHwnd(ComObject, IntPtr, ref SwapChainDescription1, SwapChainFullScreenDescription?, Output)

HRESULT IDXGIFactory2::CreateSwapChainForHwnd([In] IUnknown* pDevice,[In] HWND hWnd,[In] const DXGI_SWAP_CHAIN_DESC1* pDesc,[In, Optional] const DXGI_SWAP_CHAIN_FULLSCREEN_DESC* pFullscreenDesc,[In, Optional] IDXGIOutput* pRestrictToOutput,[Out, Fast] IDXGISwapChain1** ppSwapChain)

public SwapChain1 CreateSwapChain1ForHwnd(ComObject deviceRef, IntPtr hWnd, ref SwapChainDescription1 descRef, SwapChainFullScreenDescription? fullscreenDescRef, Output restrictToOutputRef)

Parameters

deviceRef ComObject
hWnd System.IntPtr
descRef SwapChainDescription1
fullscreenDescRef SwapChainFullScreenDescription?
restrictToOutputRef Output

Returns

SwapChain1

GetSharedResourceAdapterLuid(IntPtr)

HRESULT IDXGIFactory2::GetSharedResourceAdapterLuid([In] void* hResource,[Out] LUID* pLuid)

public long GetSharedResourceAdapterLuid(IntPtr hResource)

Parameters

hResource System.IntPtr

Returns

long

IsWindowedStereoEnabled()

BOOL IDXGIFactory2::IsWindowedStereoEnabled()

public bool IsWindowedStereoEnabled()

Returns

bool

RegisterOcclusionStatusEvent(IntPtr)

HRESULT IDXGIFactory2::RegisterOcclusionStatusEvent([In] void* hEvent,[Out] unsigned int* pdwCookie)

public int RegisterOcclusionStatusEvent(IntPtr hEvent)

Parameters

hEvent System.IntPtr

Returns

int

RegisterOcclusionStatusWindow(IntPtr, int)

HRESULT IDXGIFactory2::RegisterOcclusionStatusWindow([In] HWND WindowHandle,[In] unsigned int wMsg,[Out] unsigned int* pdwCookie)

public int RegisterOcclusionStatusWindow(IntPtr windowHandle, int wMsg)

Parameters

windowHandle System.IntPtr
wMsg int

Returns

int

RegisterStereoStatusEvent(IntPtr)

HRESULT IDXGIFactory2::RegisterStereoStatusEvent([In] void* hEvent,[Out] unsigned int* pdwCookie)

public int RegisterStereoStatusEvent(IntPtr hEvent)

Parameters

hEvent System.IntPtr

Returns

int

RegisterStereoStatusWindow(IntPtr, int)

HRESULT IDXGIFactory2::RegisterStereoStatusWindow([In] HWND WindowHandle,[In] unsigned int wMsg,[Out] unsigned int* pdwCookie)

public int RegisterStereoStatusWindow(IntPtr windowHandle, int wMsg)

Parameters

windowHandle System.IntPtr
wMsg int

Returns

int

UnregisterOcclusionStatus(int)

void IDXGIFactory2::UnregisterOcclusionStatus([In] unsigned int dwCookie)

public void UnregisterOcclusionStatus(int dwCookie)

Parameters

dwCookie int

UnregisterStereoStatus(int)

void IDXGIFactory2::UnregisterStereoStatus([In] unsigned int dwCookie)

public void UnregisterStereoStatus(int dwCookie)

Parameters

dwCookie int

Operators

explicit operator Factory2(IntPtr)

Performs an explicit conversion from System.IntPtr to Factory2.

public static explicit operator Factory2(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Factory2