Microsoft SDK for Java

setBackgroundDepth

This method of the Direct3dViewport Class sets the viewport background depth field.

Syntax

public void setBackgroundDepth(IDirectDrawSurface surface);

Parameters

surface The DirectDrawSurface object representing the background depth.

Remarks

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.

See Also

getBackgroundDepth

© 1999 Microsoft Corporation. All rights reserved. Terms of use.