I create a new project. Then make a shortcut for it and open it’s properties. The Target is this;
“C:\Users\Tonguc\Documents\Unreal Projects\test49\test49.uproject” -DX12
By that shortcut, I open my project and open Project Settings. In Platforms section I select Windows. And in it I see Targeted RHIs title. So my question is, why DirectX 12 is not there? How can I check if my project is a DX12 project? And I know that it is experimental now but, if possible, how can I make a DirectX 12 ONLY project?
If you’re on Windows 10, it’s an automatic conversion to DX12. So as long as you’ve created this project on Windows 10 and haven’t changed the settings, you’ll be set up for DX12.
But in “Targeted RHI” I don’t see DirectX 12, shouldn’t I? And is it possible to make a DirectX 12 only project that won’t run with DX10 or DX11? Thanks.
If you want your project to only work on DX12 and you’re on Windows 11, you can go into the Project Settings > Platforms > Windows and uncheck the boxes for DirectX 10 & 11.
im not so sure that his method of using a uproject with a parameter for dx version is working at all.
And as far as i experienced on win 10 a project is not automatically dx12 because i get artifacts when using dx12 in the viewport and i only get this when specific using a editor shortcut with -dx12. So i suspect that the defualt version of dx is still dx11 on win 10.