How do you set the current rendering engine?

I want to switch between Direct2D and the Software Renderer in my App (windows 11). What is the best way to do this? Can I do it from one place e.g. the MainAppWindow?

The DemoRunner allows for the current rendering engine to be selected, so you could look at how it’s implemented there.

In short, you need to call setCurrentRenderingEngine() on each component peer (top level window).