Chapter 10. Project Setup and Window Initialization

In this chapter, you establish the foundation of your rendering engine. You create the necessary Visual Studio projects, implement a game loop, and present a window to the screen.

A New Beginning

Now that you’ve reached the C++ chapters (the sections of the book that focus on the DirectX API using C++), it’s important to set your expectations about how quickly you can get to rendering something to the screen. Put simply, it’s going take awhile. You need to build quite a bit of scaffolding, but the net result will pay dividends in your capability to reuse the code over multiple projects. If you’d prefer to use the existing codebase from the book’s companion website and skip ahead a couple chapters ...

Get Real-Time 3D Rendering with DirectX® and HLSL: A Practical Guide to Graphics Programming 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.