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

原文地址:https://www.cnblogs.com/minggoddess/p/3727398.html