Click or drag to resize
AB4D logo

DXSceneInitializeBackBuffer Method

InitializeWithBackBuffer

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

Parameters

width  Int32
width that is already multiplied by dpiScaleX (if 0, swap chain and buffers will be created on first Resize)
height  Int32
height that is already multiplied by dpiScaleY (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 (possible values: 1 no super-sampling, 4, 16, 64)
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