This method of the Direct3dRMFrame Class specifies a background-depth buffer for a scene.
public void setSceneBackgroundDepth(DirectDrawSurface s);
s | A DirectDrawSurface object that will store the new background depth for the scene. |
The image must have a depth of 16. If the image and viewport sizes are different, the image is scaled first. For best performance when animating the background-depth buffer, the image should be the same size as the viewport. This enables the depth buffer to be updated directly from the image memory without incurring extra overhead.