change render system by code

hi all!
it’s possible choose d3d11 or d3d12 by code (at startup?)

thanks

thanks, but by code isn’t possible choose between directx11 or direct12?

No. The rendering platform has to be set before you build the app. If you want your users to be able to select between rendering platforms, you have to build several versions of the game and ship them.

thanks @Baste ,
and if I set like this:

what means? it uses dx12 but if is not able to use dx12, it uses dx11?