- Home /
Question by
Erdroy · Jun 24, 2015 at 10:34 AM ·
renderingdirectxdirectx 11
Switch DirectX at Runtime
Hello, is there any option' to switch DirectX eg. 9 to 11 at Runtime(By code)?
Comment
Best Answer
Answer by LaneFox · Jun 30, 2015 at 12:15 PM
Nope.
You can do so in UnityEngine.Editor
but not manually at runtime. Unity does have built-in fallbacks if the runtime hardware does not support the specified build version. You should probably code in your own fallbacks to properly deal with things in the event that the user does not support some DX11 feature you're using.
Answer by DryreL · Jun 20, 2021 at 09:25 AM
SystemInfo.graphicsDeviceVersion = directXText.text;
I know it's read only but why is this code don't work. Any idea?