Where can I learn DirectX programming?

Janman picture Janman · May 5, 2011 · Viewed 45.8k times · Source

I want to learn DirectX in C++ programming. I decided to learn DirectX, so I found some tutorials online, but they all were very complicated and hard to understand. I have spent 3 days on a tutorial, and I have read everything, but I still can't even make an program that initializes DirectX. I think its very hard to learn that way.

Can anyone recommend a good tutorial/book?

Answer

Jeff Linahan picture Jeff Linahan · May 5, 2011

The best resource I know of for learning DirectX is Frank Luna's book. It does assume you know C++. If you can get up to the chapter on the rendering pipeline and understand it, you're probably ready for DirectX. As for being hard to remember and complicated, this book does a great job of making sense out of the madness, and besides I don't memorize most of the structs used for initialization.