共用方式為


DXCoreAdapterPreference 列舉 (dxcore_interface.h)

定義常數,指定要當做清單排序準則使用的 DXCore 配接器喜好設定。 您可以將 DXCoreAdapterPreference 陣列傳遞至 IDXCoreAdapterList::Sort,以排序 DXCore 配接器清單。

Syntax

typedef enum DXCoreAdapterPreference {
  Hardware = 0,
  MinimumPower = 1,
  HighPerformance = 2
} ;

常數

 
Hardware
值: 0
指定硬體介面卡 (的喜好設定,而不是軟體介面卡) 。
MinimumPower
值: 1
指定最低電源 GPU (的喜好設定,例如整合式圖形處理器或 iGPU) 。
HighPerformance
值: 2
指定最高效能 GPU 的喜好設定,例如外部圖形處理器 (xGPU) ,如果有的話,或離散圖形處理器 (dGPU) 。

需求

   
最低支援的用戶端 Windows 10 (組建 18936)
標頭 dxcore_interface.h (包含 dxcore.h)

另請參閱

IDXCoreAdapterList::SortDXCore 參考使用 DXCore 列舉配接