Click or drag to resize
AB4D logo

DXDeviceCreateSwapChain(IntPtr, Int32, Int32, SampleDescription, SwapEffect) Method

CreateSwapChain returns a SwapChain for the specified window handle, size and multisample description.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public SwapChain CreateSwapChain(
	IntPtr hWnd,
	int width,
	int height,
	SampleDescription sampleDescription,
	out SwapEffect usedSwapEffect
)

Parameters

hWnd  IntPtr
window handle
width  Int32
width
height  Int32
height
sampleDescription  SampleDescription
multisample description
usedSwapEffect  SwapEffect
out as SwapEffect that is used to create the SwapChain

Return Value

SwapChain
SwapChain
See Also