This method of the Direct3dRMFrame Class sets the z-buffer mode (that is, whether z-buffering is enabled or disabled).
public void setZbufferMode(int val);
val | One value of the D3DRMZBUFFER_ type, specifying the z-buffer mode. |
By default, a frame's initial z-buffer mode is D3DRMZBUFFER_FROMPARENT.