toggle between dx11 and dx12

It would be great if you could share it!