Renders TargetViewport3D to bitmap with specifed backgroundBrush and dpi. The size of the created bitmap is the same as the size of the TargetViewport3D.
|RenderToBitmap(Int32, Int32, Int32, Brush, Int32)|
Renders TargetViewport3D to bitmap. It is possible to specify custom bitmap width and height (when customWidth and customHeight are bigger than 0). When antialiasingLevel is bigger than 1, the bitmap is rendered into bigger image and than scaled down to create an antialiasing effect.