How to disable Depth Buffering in DX 10?
Hi
I know in DX9, we disable Depth Buffering using:
SetRenderState( D3DRS_ZENABLE, D3DZB_FALSE );
How should we achieve the same effect in DX10?
Thank you ahead!
--John
Create a ID3D10DepthStencilState object with your settings (i.e., depth disabled). Then call ID3D10Device::OMSetDepthStencilState.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement