DXGI_GPU_PREFERENCE enumeration (dxgi1_6.h)

The preference of GPU for the app to run on.

Syntax

typedef enum DXGI_GPU_PREFERENCE {
  DXGI_GPU_PREFERENCE_UNSPECIFIED = 0,
  DXGI_GPU_PREFERENCE_MINIMUM_POWER,
  DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE
} ;

Constants

 
DXGI_GPU_PREFERENCE_UNSPECIFIED
Value: 0
No preference of GPU.
DXGI_GPU_PREFERENCE_MINIMUM_POWER
Preference for the minimum-powered GPU (such as an integrated graphics processor, or iGPU).
DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE
Preference for the highest performing GPU, such as a discrete graphics processor (dGPU) or external graphics processor (xGPU).

Remarks

This enumeration is used in the IDXGIFactory6::EnumAdapterByGpuPreference method.

Requirements

Requirement Value
Header dxgi1_6.h

See also

DXGI Enumerations

xGPU UWP sample

xGPU desktop sample