D3DCLEAR
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DCLEAR


These flags identify a surface to reset when calling IDirect3DDevice9::Clear.

#defineDescription
D3DCLEAR_STENCILClear the stencil buffer.
D3DCLEAR_TARGETClear a render target, or all targets in a multiple render target. See Multiple Render Targets.
D3DCLEAR_ZBUFFERClear the depth buffer.

Constant Information

Headerd3d9types.h
Minimum operating systemWindows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.