Using the Visual Studio Graphics Diagnostics

One of the hard things to do in DirectX applications is to determine the cause of a visual glitch or bug on the screen. Despite the best efforts of developers to avoid bugs, there are many websites featuring screenshots taken by gamers of weird things happening in a game.

Visual Studio addresses some of the debugging issues for DirectX applications by including a new Graphics Diagnostics toolset that lets you look at pixel history to determine just how a specific pixel came to be rendered on the screen. Let's see how it works.

Getting ready

Simply start VS2015 Community or one of the premium editions on Windows 10, and you're ready to go.

Tip

Unlike VS2013, a paid version is no longer required to use the ...

Get Visual Studio 2015 Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.