Chaging between DX11 and 12 depending on quality level

Hi,

I think the answer to this is probably no (based on my research) but is it possible to change from DX11 to 12 in HDRP depending on the active quality level? I don’t mind if it has to be done manually through code and even if it requires a restart of the game.

The reason I would like this is that I would like to offer raytracing to players who chose the highest quality setting and this of course requires DX12. However, I have noticed that generally DX11 still outperforms it in most general settings and has less issues so I would like to use DX11 for non raytracing quality levels (That said, the DX12 backend does seem to be getting better)

At worst, if I want to do this will I have to provide two binaries? One that uses DX12 and one that uses DX11? Or just stick to DX12 for everything?

EDIT: Spelling mistake in title… But I can’t edit it… sorry!

iirc there should be a commandline option to force dx version.

EDIT: it seems that there are command line options for forcing particular directx version. Check it out at: Unity - Manual: Unity Standalone Player command line arguments