Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Windows 8 Game Development

You're reading from   Learning Windows 8 Game Development Windows 8 brings touchscreens to the tablet and PC. This book will show you how to develop games for both by following clear, hands-on examples. Takes your C++ skills into exciting areas of 3D development.

Arrow left icon
Product type Paperback
Published in Oct 2013
Publisher Packt
ISBN-13 9781849697446
Length 244 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Michael Quandt Michael Quandt
Author Profile Icon Michael Quandt
Michael Quandt
Arrow right icon
View More author details
Toc

Summary

Now you should understand how to get started with a basic Direct3D 11.1 application in Windows 8. We've covered the creation of the application, including how to create the new modern window, and how to initialize Direct3D with all of its individual parts.

We have also covered the graphics pipeline; how each stage works together to produce the final image. From there we looked at all of the components we created, such as the device, context, swap chain, render target, and depth stencil. We then looked at how to apply those to start creating frames to display. By clearing the screen, we ensured that there is a fresh slate for the images and effects we want to draw later, and then we presented those frames, looking at how to specify regions of the screen to optimize for performance when you only change part of the screen.

Next steps

Now we have a running Direct3D app that displays a nice single color (or nothing at all), ready to start rendering textures and other objects onto the screen. In the next chapter we'll start drawing images and text to the screen before we can move on to creating a game.

This chapter skipped over some smaller topics such as lost devices and the correct way to resize the screen; however, the generated code provides all of this. I'd encourage you to take a look at the rest of the code in Direct3DBase.cpp; it has plenty of comments to help you understand the rest of the code.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime