setDepthStencilState

cgfx->hlsl

StencilFunc={always,1,0xff}->setDepthStencilState(DepthState,0)

StencilFunc={always,0,0xff}->setDepthStencilState(DepthState,1)

 

http://msdn.microsoft.com/en-us/library/windows/hardware/ff569532(v=vs.85).aspx

 

posted on 2014-05-14 11:44  minggoddess  阅读(396)  评论(0编辑  收藏  举报