游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1585|回复: 2

EnableAutoDepthStencil On 3D and 2D

[复制链接]

414

主题

611

帖子

621

积分

高级会员

Rank: 4

积分
621
发表于 2007-3-3 01:04:00 | 显示全部楼层 |阅读模式
D3DPRESENT_PARAMETERS d3dpp;
ZeroMemory(&d3dpp, sizeof(d3dpp));
//d3dpp.EnableAutoDepthStencil = TRUE;//For 3D
d3dpp.EnableAutoDepthStencil = FALSE;//For 2D

If this value is TRUE, Direct3D will manage depth buffers for the application.

?表示2D不用depth buffer??
如果我同?r要?3D?2D的?D形的?,要重?d3dpp.EnableAutoDepthStencil??
?是在切?Q3D?2D?r,?定不同的FVF就可以了,??rd3dpp.EnableAutoDepthStencil要?定??ALSE或TRUE?

4

主题

31

帖子

31

积分

注册会员

Rank: 2

积分
31
发表于 2009-7-5 16:09:00 | 显示全部楼层

Re:EnableAutoDepthStencil On 3D and 2D

不懂说的什么

34

主题

629

帖子

629

积分

高级会员

Rank: 4

积分
629
发表于 2009-7-5 18:21:00 | 显示全部楼层

Re:EnableAutoDepthStencil On 3D and 2D

好老的帖子,LZ现在终于学成了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-19 20:05

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表