This method of the Direct3dViewport Class sets the viewport background depth field.
public void setBackgroundDepth(IDirectDrawSurface surface);
surface | The DirectDrawSurface object representing the background depth. |
The z-buffer is filled with the specified depth field when the clear method is called and the D3DCLEAR_ZBUFFER flag is specified. The bit depth must be 16 bits.