|  | 
| SharpEngineSceneViewRenderToBitmap(Boolean) Method | 
            RenderToBitmap method renders the current scene to a new WinUI's WriteableBitmap.
            To reuse the WriteableBitmap, call the method that takes the WriteableBitmap by ref.
            See also the RenderToXXXX methods in the SceneView object.
            
Namespace: Ab4d.SharpEngine.WinUIAssembly: Ab4d.SharpEngine.WinUI (in Ab4d.SharpEngine.WinUI.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
 Syntax
Syntaxpublic WriteableBitmap? RenderToBitmap(
	bool renderNewFrame = true
)
Parameters
- renderNewFrame  Boolean  (Optional)
- true (by default) to always render a new frame
Return Value
WriteableBitmapWinUI's WriteableBitmap or null if the scene cannot be rendered (for example if SceneView was not yet initialized)
 See Also
See Also