DirectX
文章平均质量分 64
剑客箫心
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【ZT】D3DFVF_XYZ和D3DFVF_XYZRHW的区别
D3DFVF_XYZ和D3DFVF_XYZRHW有什么区别?以前好像没有仔细思考过,只是见到Beginning DirectX9中如是说:The RHW value, which stands for Reciprocal of Homogeneous W[1], tells Direct3D that the vertices that are being used are already in转载 2012-03-13 11:31:44 · 422 阅读 · 0 评论 -
关于D3D中LockRect的pitch大小问题
这几天做3D地形。以前做的时候用的是自己写的读取高度图函数,这次做直接调用引擎的多线程函数读取8位高度纹理,然后按字节解析。用的513 * 513*8bit的纹理,但LockRect得出的pitch大小是516,这是因为LockRect的每行是按4字节对齐的(32位系统),每行的末尾会补上3个0字节。如果用16位或32位字节的高度图就不会出现这问题,因为pitch是描述的是D3DSurface内存原创 2012-11-06 12:02:13 · 1640 阅读 · 0 评论 -
Common HRESULT Values
http://msdn.microsoft.com/en-us/library/windows/desktop/aa378137(v=vs.85).aspxCommon HRESULT Values28 out of 42 rated this helpful - Rate this topicThe following HRESULT values转载 2013-08-20 11:46:51 · 754 阅读 · 0 评论 -
I have a DirectX related bug I cannot track down!
http://www.toymaker.info/Games/html/directx_q_a.htmlI have a DirectX related bug I cannot track down!The first thing to do is to check the debug output in Viz, DirectX puts warnings and er转载 2013-08-20 14:06:48 · 863 阅读 · 0 评论 -
Walkthrough: Hosting Direct3D9 Content in WPF
Walkthrough: Hosting Direct3D9 Content in WPF.NET Framework 4.5Other Versions0 out of 1 rated this helpful - Rate this topicThis walkthrough shows h转载 2013-08-22 17:27:46 · 919 阅读 · 0 评论 -
Performance Considerations for Direct3D9 and WPF Interoperability
Performance Considerations for Direct3D9 and WPF Interoperability.NET Framework 4.5Other Versions0 out of 1 rated this helpful - Rate this topicYou转载 2013-08-22 17:21:35 · 1133 阅读 · 0 评论 -
Walkthrough: Creating Direct3D9 Content for Hosting in WPF
Walkthrough: Creating Direct3D9 Content for Hosting in WPF.NET Framework 4.5Other VersionsThis walkthrough shows how to create Direct3D9 content that is sui转载 2013-08-22 17:20:25 · 1295 阅读 · 0 评论
分享