C++ and DirectX 11

Introduction

What I will provide here is a complete guide from start to finish. You begin with an empty file and work your way up to a clean and fast DirectX application. From there you can implement more advanced techniques on your own. A decent understanding of programing is useful to fully benefit from these tutorials.

If you are looking for more advanced topics there are good tutorials out there. One website I really like and have learned from is rastertek.com

Based on my C background you will see a lot of C-style coding. In my experience this is not that bad. If you ever tried to debug a DirectX application with lots of C++ containers you will know why I like my arrays and structs. Of course this approach also has its drawbacks. If you screw up you probably screw up big and may lose a lot of time finding the errors. I show you some neat ways to organize your application in order to minimize the possibility of failure. If you want to use C++ containers and methods, feel free to do so. One way or another these tutorials should be a good start.

In each chapter I will provide you with the complete Visual Studio solution for the current topic. If you have any suggestions for improvement please let me know.

The great thing of programming DirectX on Windows 8 (or newer) is that everything is already included on the system. So no extra downloads or installations are required. For the next Tutorials I will use the following setup:


Continue with the next Chapter: Window