Sean You

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2010年9月20日

摘要: 4.7 SummaryDirect3D can be thought of as a mediator between the programmer and the graphics hardware. For example, the programmer calls Direct3D functions to bind resource views to the hardware render... 阅读全文
posted @ 2010-09-20 02:42 Sean You 阅读(194) 评论(0) 推荐(0)

摘要: 4.8 ExercisesInstead of using D3D10CreateDeviceAndSwapChain to create the device and swap chain at once, you can use D3D10CreateDevice and IDXGIFactory::CreateSwapChain to create the device and swap c... 阅读全文
posted @ 2010-09-20 02:42 Sean You 阅读(301) 评论(0) 推荐(0)

摘要: 4.6 Debugging Direct3D ApplicationsIn order to shorten the code and minimize distractions, we omit most error handling in this book. However, we do implement a macro to check the HRESULT return codes ... 阅读全文
posted @ 2010-09-20 02:41 Sean You 阅读(317) 评论(0) 推荐(0)

摘要: 4.5 The Demo Application FrameworkThe demos in this book use code from the d3dUtil.h, d3dApp.h, and d3dApp.cpp files, which can be downloaded from the book’s website. These common files, which a... 阅读全文
posted @ 2010-09-20 02:39 Sean You 阅读(345) 评论(0) 推荐(0)

摘要: OverviewThe initialization process of Direct3D requires us to be familiar with some basic Direct3D types and basic graphics concepts; the first section of this chapter addresses these requirements. We... 阅读全文
posted @ 2010-09-20 02:37 Sean You 阅读(232) 评论(0) 推荐(0)

摘要: 4.4 Text OutputIt is important to be able to display textual information to the user. For example, you may want your game to display subtitles or game statistics (e.g., the number of units killed). In... 阅读全文
posted @ 2010-09-20 02:35 Sean You 阅读(364) 评论(0) 推荐(0)

摘要: 4.3 Timing and AnimationTo do animation correctly, we need to keep track of the time. In particular, we need to measure the amount of time that elapses between frames of animation. If the frame rate i... 阅读全文
posted @ 2010-09-20 02:34 Sean You 阅读(266) 评论(0) 推荐(0)

摘要: 4.2 Initializing Direct3DThe following subsections show how to initialize Direct3D. Our process of initializing Direct3D can be broken down into the following steps:Describe the characteristics of the... 阅读全文
posted @ 2010-09-20 02:30 Sean You 阅读(1144) 评论(0) 推荐(1)

摘要: 4.1 PreliminariesThe Direct3D initialization process requires us to be familiar with some basic graphics concepts and Direct3D types. We introduce these ideas and types in this section, so that we do ... 阅读全文
posted @ 2010-09-20 02:25 Sean You 阅读(987) 评论(0) 推荐(1)