- Learning Windows 8 Game Development
- Michael Quandt
- 203字
- 2021-07-23 15:36:03
Chapter 1. Getting Started with Direct3D
They say the first steps are the hardest, and beginning a new game is no exception. Therefore, we should use as much help as possible to make those first steps easier, and get into the fun parts of game development. To support the new WinRT platform, we need some new templates, and there are plenty to be had in Visual Studio 2012. Most important to us is the Direct3D App template, which provides the base code for a C++ Windows Store application, without any of the XAML that the other templates include.
The template that we've chosen will provide us with the code to create a WinRT window, as well as the code for the Direct3D components that will allow us to create the game world. This chapter will focus on explaining the code included so that you understand how it all works, as well as the changes needed to prepare the project for our own code.
In this chapter we will cover the following topics:
- Creating the application window
- Initialising Direct3D
- Direct3D devices and contexts
- Render targets and depth buffers
- The graphics pipeline
- What a game loop looks like
- Clearing and presenting the screen
- 通信網絡基礎與設備
- EDA技術與VHDL編程
- Spring Boot 2.0 Projects
- 網絡創新指數研究
- 計算機網絡安全實訓教程(第二版)
- 互聯網基礎資源技術與應用發展態勢(2021—2023)
- 物聯網與無線傳感器網絡
- Building RESTful Web services with Go
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- 物聯網長距離無線通信技術應用與開發
- Master Apache JMeter:From Load Testing to DevOps
- SAE原理與網絡規劃
- Microsoft Power Platform Enterprise Architecture
- 互聯網安全的40個智慧洞見(2016)
- 物聯網基礎及應用