nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Drawing.DirectX / IDXGIFactory2

IDXGIFactory2

Full name Microsoft.VisualBasic.Drawing.DirectX.IDXGIFactory2 Assembly Microsoft.VisualBasic.Drawing.DirectX Members 1

IDXGIFactory2: used for creating a flip model swap chain on a window.

00 Remarks

the slots 3 ~ 14 are the methods of IDXGIObject, IDXGIFactory and IDXGIFactory1, they are declared here on purpose so that the slot of IDXGIFactory2.CreateSwapChainForHwnd() lands on 15, but none of them is ever called.

01 Syntax

Microsoft.VisualBasic.Drawing.DirectX.IDXGIFactory2

02 Methods

NameOverloadsSummary
CreateSwapChainForHwnd 1 create a swap chain that is bound to a window handle

03 Members

method CreateSwapChainForHwnd #
CreateSwapChainForHwnd(IntPtr, IntPtr, DXGI_SWAP_CHAIN_DESC1, IntPtr, IntPtr, IntPtr)

create a swap chain that is bound to a window handle

Parameters
NameTypeDescription
pDeviceIntPtr

the d3d11 device that renders the swap chain back buffer

hwndIntPtr

the target window handle

descDXGI_SWAP_CHAIN_DESC1

the swap chain description

fullscreenDescIntPtr

the fullscreen description, a null pointer is passed here because the canvas is always windowed

restrictToOutputIntPtr

a null pointer, no output restriction