Beginning DirectX11 Game Programming

DirectX11相比DirectX10引入了多项重大更新,包括通用GPU计算(DirectCompute)、真实多线程渲染、硬件级曲面细分、Shader Model 5.0以及更高的纹理分辨率等。DirectX11还改进了压缩技术,如BC6用于HDR图像和BC7用于LDR图像。从DirectX9升级到DirectX11需要重新编写图形处理接口。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. DirectX11 or 10 made a big change comparing to DirectX9

The fixed-function pipeline was removed in DirectX10, and totally replaced by programmable shaders. Comparing to DirectX10, DirectX11 add some new features:

  • General-purpose computing on the GPU(DirectCompute)
  • True mult-threaded rendering
  • New hardware tessellation
  • Shader Model 5.0, object-oriented programming
  • BC6 compression HDR images, BC7 compression for LDR images
  • Increased texture resolution sizes

If you checked some new versions samples, you will find that they made huge change for the API. So if you want to port your old-version (like D3D9) with the latest one, you have to re-write the Graphic process interface for your game. If you were family with D3D9 before, you will get touch with D3D11 very easily, the basic fundamental concept still there.

  1. DirectX11 Samples

Those are some samples from the book <Beginning DirectX11 Game Programming> which will give you a good start.

The full source code could be downloaded from here.

  1. Something More

Here are some questions that I uncounted when I tried to use the DirectX11 SDK.

  1. Error code: S1023 when trying to install DirectX on Win7

Solution:

Control Panel>Program & Features and uninstall all the

Microsoft Visual C++ 2010 x86/x64 redistributable - 10.0.(number over 30319) then try to install again.

  1. Failed to create DirectX11 device with flag "D3D11_CREATE_DEVICE_DEBUG".

转载于:https://www.cnblogs.com/open-coder/p/3283812.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值