D2D1_FEATURE_LEVEL enumeration (d2d1.h)

Describes the minimum DirectX support required for hardware rendering by a render target.

Syntax

typedef enum D2D1_FEATURE_LEVEL {
  D2D1_FEATURE_LEVEL_DEFAULT = 0,
  D2D1_FEATURE_LEVEL_9,
  D2D1_FEATURE_LEVEL_10,
  D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_FEATURE_LEVEL_DEFAULT
Value: 0
Direct2D determines whether the video card provides adequate hardware rendering support.
D2D1_FEATURE_LEVEL_9
The video card must support DirectX 9.
D2D1_FEATURE_LEVEL_10
The video card must support DirectX 10.
D2D1_FEATURE_LEVEL_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h

See also

D2D1_RENDER_TARGET_PROPERTIES