Microsoft SDK for Java

getBackgroundDepth

This method of the Direct3dViewport Class retrieves a DirectDraw surface that represents the current background-depth field associated with the viewport.

Syntax

public DirectDrawSurface getBackgroundDepth(int[] status);

Return Value

Returns the DirectDrawSurface object if successful; otherwise, returns null.

Parameters

status The array variable that receives the value FALSE if a background depth is not associated with the viewport.

See Also

setBackgroundDepth

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