Microsoft SDK for Java

clear

This method of the Direct3dViewport Class clears the viewport or a set of rectangles in the viewport to the current background material.

Syntax

public void clear(int count, D3dRect rec, int flags);

Parameters

count The number of rectangles pointed to by rec.
rec A D3dRect object.
flags One or more values of D3DCLEAR_ type, indicating what to clear: the rendering target, the z-buffer, or both.

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