O'Reilly logo

Visual Studio 2012 Cookbook by Richard Banks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Visual Studio Graphics Debugger

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

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

Getting ready

Simply start Visual Studio 2012 and you’re ready to go.

How to do it...

Perform the following steps:

  1. Create a new Visual C++ | Windows Store | Direct3D App project and leave the default name as it is.
  2. The project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required