The best way to begin learning DirectX is to start at the beginning by creating simple demo applications. In this chapter we’ll take you step-by-step through the process of creating your very first DirectX application, specifically focusing on Direct3D. By the end of this chapter you will have a firm understanding of the setup of Direct3D from start to finish.
In this chapter:
How to create a project
How to set up a Windows application
How to initialize DirectX
How to clear the screen
How to display a scene
This book assumes you’ve already had experience creating C++ projects and working within Visual Studio. In this section and the one to follow we’ll briefly cover the initial setup of a Win32 ...