我的系统安装了两块显卡:一块是Quadro FX1500,它最多支持DirectX 9;另一块是Quadro600,它最多支持DirectX 11。我正在编写一个针对DirectX 11的C#应用程序(使用SharpDX包装库),所以我想确保我总是选择Quadro600作为我的设备。默认情况下,DirectX 11会选择正确的设备/显卡吗?如果不是,是否有方法可以枚举系统上的设备并选择支持DirectX 11的设备?
现在,我的设备初始化代码如下所示:
//which device do we get?
SharpDX.Direct3D11.Device defaultDevice = new SharpDX.Direct3D11.Device(DriverType.Hardware, DeviceCreationFlags.Debug);谢谢!
https://stackoverflow.com/questions/38312597
复制相似问题