Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ClearFlags Enumeration
Collapse the table of content
Expand the table of content

ClearFlags Enumeration

Specifies the buffer to use when calling the Clear method.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

public enum ClearFlags
/** @attribute FlagsAttribute() */ 
public enum ClearFlags
public enum ClearFlags

 Member nameDescription
Supported by the .NET Compact FrameworkStencilSpecifies a buffer that contains stencil data. Stencil data is commonly used to mask drawing to particular screen pixels. 
Supported by the .NET Compact FrameworkTargetSpecifies a rendering surface. For example, a 3-D renderer writes per-pixel scene data (such as color) to a render target. 
Supported by the .NET Compact FrameworkZBufferSpecifies a buffer that stores a depth value for each pixel in a scene. Pixels with a small z-value overwrite pixels with a large z-value. 

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft