O'Reilly logo

DirectX 11.1 Game Programming by Pooya Eimandar

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

Building your first Metro app

We have introduced C++/CX and ran our first sample; now it is time to build our own framework gradually in order to get familiar with DirectX 11.1 programming:

  1. Open the First Metro App project from the source code of Chapter 1. If you cannot find the Solution Explorer pane, press Ctrl + Alt + L or navigate to View | Solution Explorer to enable it.
  2. In the Solution Explorer pane , enable Show All Files. This feature lets us use Folder instead of Filter in our project. However, you can add Filter and just change it to the path of includes in your project.

Let's check the pch.h and pch.cpp files from the source code. The pch.h file is shown in the following code:

#pragma once #include <wrl/client.h> #include <d3d11_1.h> #include ...

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