Manipulating the Depth Buffer

Depth buffers are associated with the device. Applications are required to move the depth buffers when they set render targets. The Device.DepthStencilSurface property is used to manipulate depth buffers.