[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.Factory2.CreateSwapChain1ForHwnd

CreateSwapChain1ForHwnd Method

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)

Declaration
public SwapChain1 CreateSwapChain1ForHwnd(ComObject deviceRef, IntPtr hWnd, ref SwapChainDescription1 descRef, SwapChainFullScreenDescription? fullscreenDescRef, Output restrictToOutputRef)
Parameters
Type Name Description
ComObject deviceRef
IntPtr hWnd
SwapChainDescription1 descRef
SwapChainFullScreenDescription? fullscreenDescRef
Output restrictToOutputRef
Returns
Type Description
SwapChain1