Changing Depth Buffer Write Access (Windows CE 5.0)
By default, Microsoft® Direct3D® Mobile is allowed to write to the depth buffer. Most applications leave writing to the depth buffer enabled, but you can achieve some special effects by not allowing the Direct3D Mobile middleware to write to the depth buffer.
You can disable depth buffer writes by calling the IDirect3DMobileDevice::SetRenderState method with the State parameter set to D3DMRS_ZWRITEENABLE (see D3DMRENDERSTATETYPE) and the Value parameter set to 0.
See Also
Send Feedback on this topic to the authors