Click or drag to resize
AB4D logo

DXViewRenderToBitmap(WriteableBitmap, Int32, Int32) Method


Namespace: Ab3d.DirectX.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public void RenderToBitmap(
	WriteableBitmap writeableBitmap,
	int preferedMultisampling = -1,
	int supersamplingCount = 1
)

Parameters

writeableBitmap  WriteableBitmap
WriteableBitmap that will be used to render the 3D scene to
preferedMultisampling  Int32  (Optional)
multisampling count that is used to render the image (used if possible). When -1 is specified (by default), then the current multisampling count from DXScene is used.
supersamplingCount  Int32  (Optional)
super-sampling count (possible values: 1 no super-sampling, 4, 16, 64)
See Also