Click or drag to resize
AB4D logo

DXSceneInitializeSwapChain Method

InitializeWithSwapChain

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void InitializeSwapChain(
	IntPtr hWnd,
	int width,
	int height,
	int preferedMultisampleCount,
	int supersamplingCount = 1,
	float dpiScaleX = 1f,
	float dpiScaleY = 1f
)

Parameters

hWnd  IntPtr
window handle
width  Int32
width (if 0, swap chain and buffers will be created on first Resize)
height  Int32
height (if 0, swap chain and buffers will be created on first Resize)
preferedMultisampleCount  Int32
multi-sample count that is used if supported by device
supersamplingCount  Int32  (Optional)
super-sampling count (1 for no super-sampling)
dpiScaleX  Single  (Optional)
float that represents a DPI scale factor in X direction: 1 means 96 DPI, 1.5 means 144 DPI, etc.
dpiScaleY  Single  (Optional)
float that represents a DPI scale factor in Y direction: 1 means 96 DPI, 1.5 means 144 DPI, etc.
See Also