DXGI_GPU_PREFERENCE enumeration

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The preference of GPU for the app to run on.

Syntax

typedef enum DXGI_GPU_PREFERENCE {
  DXGI_GPU_PREFERENCE_UNSPECIFIED,
  DXGI_GPU_PREFERENCE_MINIMUM_POWER,
  DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE
} ;

Constants

DXGI_GPU_PREFERENCE_UNSPECIFIED 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

   
Header dxgi1_6.h

See also

DXGI Enumerations

xGPU UWP sample

xGPU desktop sample