Click or drag to resize
AB4D logo

DXDeviceCreateDXSceneWithSwapChain Method

CreateDXSceneWithSwapChain creates a DXScene that is using SwapChain to show its content.

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

Parameters

hWnd  IntPtr
handle to window that will show the DXScene content
width  Int32
width
height  Int32
height
preferedMultisampleCount  Int32
preferedMultisampleCount
supersamplingCount  Int32  (Optional)
super-sampling count (1 for no super-sampling)
dpiScaleX  Single  (Optional)
dpiScaleX
dpiScaleY  Single  (Optional)
dpiScaleY
sceneName  String  (Optional)
sceneName

Return Value

DXScene
DXScene
See Also