D3D_FEATURE_LEVEL enumeration (d3dcommon.h)

Describes the set of features targeted by a Direct3D device.

Syntax

typedef enum D3D_FEATURE_LEVEL {
  D3D_FEATURE_LEVEL_1_0_GENERIC,
  D3D_FEATURE_LEVEL_1_0_CORE,
  D3D_FEATURE_LEVEL_9_1,
  D3D_FEATURE_LEVEL_9_2,
  D3D_FEATURE_LEVEL_9_3,
  D3D_FEATURE_LEVEL_10_0,
  D3D_FEATURE_LEVEL_10_1,
  D3D_FEATURE_LEVEL_11_0,
  D3D_FEATURE_LEVEL_11_1,
  D3D_FEATURE_LEVEL_12_0,
  D3D_FEATURE_LEVEL_12_1,
  D3D_FEATURE_LEVEL_12_2
} ;

Constants

 
D3D_FEATURE_LEVEL_1_0_CORE
Value: (0x1000)
Allows Microsoft Compute Driver Model (MCDM) devices to be used, or more feature-rich devices (such as traditional GPUs) that support a superset of the functionality. MCDM is the overall driver model for compute-only; it's a scaled-down peer of the larger scoped Windows Device Driver Model (WDDM).
D3D_FEATURE_LEVEL_9_1
Value: (0x9100)
Targets features supported by feature level 9.1, including shader model 2.
D3D_FEATURE_LEVEL_9_2
Value: (0x9200)
Targets features supported by feature level 9.2, including shader model 2.
D3D_FEATURE_LEVEL_9_3
Value: (0x9300)
Targets features supported by feature level 9.3, including shader model 2.0b.
D3D_FEATURE_LEVEL_10_0
Value: (0xa000)
Targets features supported by Direct3D 10.0, including shader model 4.
D3D_FEATURE_LEVEL_10_1
Value: (0xa100)
Targets features supported by Direct3D 10.1, including shader model 4.
D3D_FEATURE_LEVEL_11_0
Value: (0xb000)
Targets features supported by Direct3D 11.0, including shader model 5.
D3D_FEATURE_LEVEL_11_1
Value: (0xb100)
Targets features supported by Direct3D 11.1, including shader model 5 and logical blend operations. This feature level requires a display driver that is at least implemented to WDDM for Windows 8 (WDDM 1.2).
D3D_FEATURE_LEVEL_12_0
Value: (0xc000)
Targets features supported by Direct3D 12.0, including shader model 5.
D3D_FEATURE_LEVEL_12_1
Value: (0xc100)
Targets features supported by Direct3D 12.1, including shader model 5.
D3D_FEATURE_LEVEL_12_2
Value: (0xc200)
Targets features supported by Direct3D 12.2, including shader model 6.5. For more information about feature level 12_2, see its specification page. Feature level 12_2 is available in Windows SDK builds 20170 and later.

Remarks

For an overview of the capabilities of each feature level, see Direct3D feature levels.

For information about limitations creating non-hardware-type devices on certain feature levels, see Limitations creating WARP and reference devices.

Requirements

Requirement Value
Header d3dcommon.h

See also