Direct2D Debug Layer

The Direct2D debug layer provides a feedback mechanism for reporting errors when writing Direct2D applications. It equips developers with a richer programming/debugging environment by providing valuable information regarding correct usage of the Direct2D API. The debug layer’s primary goal is to provide feedback when the API constructs are not used appropriately and help developers understand potential errors in their application.


Minimum supported clientWindows 7
Windows SDKWindows Software Development Kit (SDK) for Windows 7


Downloading the Debug Layer

This sample is available in the following locations.

Code GalleryDownload the Direct2D Debug Layer and Debug Layer Documentation


Send comments about this topic to Microsoft

Build date: 10/29/2009

Community Additions