DirectX SDK

CONST_D3DCLEARFLAGS

The CONST_D3DCLEARFLAGS enumeration defines flags that are used to determine the behavior of the Direct3DDevice7.Clear method.

Enum CONST_D3DCLEARFLAGS
    D3DCLEAR_ALL = 7 
    D3DCLEAR_STENCIL = 4 
    D3DCLEAR_TARGET = 1 
    D3DCLEAR_ZBUFFER = 2 
End Enum
D3DCLEAR_ALL
Clear the rendering target, stencil buffer, and depth-buffer surfaces.
D3DCLEAR_STENCIL
Clear the stencil buffer to the value in the stencil parameter.
D3DCLEAR_TARGET
Clear the rendering target to the color in the color parameter.
D3DCLEAR_ZBUFFER
Clear the depth-buffer to the value in the z parameter.