DXCoreAdapterPreference enumeration (dxcore_interface.h)
Defines constants that specify DXCore adapter preferences to be used as list-sorting criteria. You can sort a DXCore adapter list by passing an array of DXCoreAdapterPreference to IDXCoreAdapterList::Sort.
Syntax
typedef enum DXCoreAdapterPreference {
Hardware = 0,
MinimumPower = 1,
HighPerformance = 2
} ;
Constants
Hardware Value: 0 Specifies a preference for hardware adapters (as opposed to software adapters). |
MinimumPower Value: 1 Specifies a preference for the minimum-powered GPU (such as an integrated graphics processor, or iGPU). |
HighPerformance Value: 2 Specifies a preference for the highest-performance GPU, such as an external graphics processor (xGPU), if available, or discrete graphics processor (dGPU) if available. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 (Build 18936) |
Header | dxcore_interface.h (include dxcore.h) |
See also
IDXCoreAdapterList::Sort, DXCore Reference, Using DXCore to enumerate adapters
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for