D2D1_DEBUG_LEVEL enumeration (d2d1.h)

Indicates the type of information provided by the Direct2D Debug Layer.

Syntax

typedef enum D2D1_DEBUG_LEVEL {
  D2D1_DEBUG_LEVEL_NONE = 0,
  D2D1_DEBUG_LEVEL_ERROR = 1,
  D2D1_DEBUG_LEVEL_WARNING = 2,
  D2D1_DEBUG_LEVEL_INFORMATION = 3,
  D2D1_DEBUG_LEVEL_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_DEBUG_LEVEL_NONE
Value: 0
Direct2D does not produce any debugging output.
D2D1_DEBUG_LEVEL_ERROR
Value: 1
Direct2D sends error messages to the debug layer.
D2D1_DEBUG_LEVEL_WARNING
Value: 2
Direct2D sends error messages and warnings to the debug layer.
D2D1_DEBUG_LEVEL_INFORMATION
Value: 3
Direct2D sends error messages, warnings, and additional diagnostic information that can help improve performance to the debug layer.
D2D1_DEBUG_LEVEL_FORCE_DWORD
Value: 0xffffffff

Remarks

To receive debugging messages, you must install the Direct2D Debug Layer.

Requirements

   
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_FACTORY_OPTIONS

Direct2D Debug Layer