sdk 里SAMPLE的DIRECTX DDEX1示例是否有错

zkhraul 2009-08-03 11:43:26
刚接触DIRECTX ,我运行sdk 里SAMPLE的DIRECTX DDEX1示例好象无法得到想要的效果,好象BACKSUFACE不起作用
...全文
41 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
czbever 2009-08-03
  • 打赏
  • 举报
回复
typedef struct _DDSCAPS{
DWORD dwCaps;
} DDSCAPS, FAR* LPDDSCAPS;


这个结构体表示的是硬件的支持  模拟器上可能不支持

DDSCAPS_BACKBUFFER
Indicates that this surface is the back buffer of a surface flipping structure.

Typically, this capability is set by the CreateSurface method when the DDSCAPS_FLIP flag is used.

Only the surface that immediately precedes the DDSCAPS_FRONTBUFFER surface has this capability set.

The other surfaces are identified as back buffers by the presence of the DDSCAPS_FLIP flag, their attachment order, and the absence of the DDSCAPS_FRONTBUFFER and DDSCAPS_BACKBUFFER capabilities.

If this capability is sent to the CreateSurface method, a stand-alone back buffer is being created.

After this method is called, this surface could be attached to a front buffer, another back buffer, or both to form a flipping surface structure.
czbever 2009-08-03
  • 打赏
  • 举报
回复
要在真机上
xqhrs232 2009-08-03
  • 打赏
  • 举报
回复
玩过没感觉错

7,657

社区成员

发帖
与我相关
我的任务
社区描述
Windows Phone是微软发布的一款手机操作系统,它将微软旗下的Xbox LIVE游戏、Zune音乐与独特的视频体验整合至手机中。
社区管理员
  • Windows客户端开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧