Windows Dev Center

Expand Minimize

D2D1_DEBUG_LEVEL enumeration

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

Syntax


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

Constants

D2D1_DEBUG_LEVEL_NONE

Direct2D does not produce any debugging output.

D2D1_DEBUG_LEVEL_ERROR

Direct2D sends error messages to the debug layer.

D2D1_DEBUG_LEVEL_WARNING

Direct2D sends error messages and warnings to the debug layer.

D2D1_DEBUG_LEVEL_INFORMATION

Direct2D sends error messages, warnings, and additional diagnostic information that can help improve performance to the debug layer.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

See also

Direct2D Debug Layer
D2D1_FACTORY_OPTIONS

 

 

Community Additions

ADD
Show:
© 2015 Microsoft