
3
Introduction to
DirectX
3.1 Introduction to DirectX
DirectX is an application programming interface (API) for writing programs that need high
performance graphics, sound, or specialized interaction with peripheral devices. e code
in this book uses DirectX9, which is compatible with Windows XP, Windows Vista, Win-
dows 7 and Windows 8. (DirectX 9 is also the version used by the Xbox 360, but running
our games on an Xbox 360 would require an Xbox 360 Development Kit, which is only
available to registered developers.) ere are newer versions of DirectX available, so the
question might be asked, “Why not use the latest version?” e reason is all ...