Tutorial 1: Creating a Device
Microsoft DirectX 9.0 SDK Update (October 2004)

Tutorial 1: Creating a Device


To use Microsoft Direct3D, you first create an application window, then you create and initialize Direct3D objects. You use the Component Object Model (COM) interfaces that these objects implement to manipulate them and to create other objects required to render a scene. The CreateDevice sample project on which this tutorial is based illustrates these tasks by creating a Direct3D device and rendering a blue screen.

This tutorial uses the following steps to initialize Direct3D, render a scene, and eventually shut down.

Steps

Note  The path of the CreateDevice sample project is:

(SDK root)\Samples\C++\Direct3D\Tutorials\Tut01_CreateDevice



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.