Just feed the CanvasRenderTarget2D directly to the SceneCapture (“TextureTarget” variable). To create the CanvasRenderTarget2D at runtime use CreateCanvasRenderTarget2D().
Just feed the CanvasRenderTarget2D directly to the SceneCapture (“TextureTarget” variable). To create the CanvasRenderTarget2D at runtime use CreateCanvasRenderTarget2D().