Export (0) Print
Expand All

Device.Clear Method

Clears the viewport or a set of rectangles in the viewport to a specified RGBA color, clears the depth buffer, and erases the stencil buffer.

Name Description
Device.Clear (ClearFlags, Color, Single, Int32) Clears the viewport or a set of rectangles in the viewport to a specified RGBA color, clears the depth buffer, and erases the stencil buffer.

Supported by the .NET Compact Framework.

Device.Clear (ClearFlags, Int32, Single, Int32) Clears the viewport or a set of rectangles in the viewport to a specified RGBA color, clears the depth buffer, and erases the stencil buffer.

Supported by the .NET Compact Framework.

Device.Clear (ClearFlags, Color, Single, Int32, Rectangle[]) Clears the viewport or a set of rectangles in the viewport to a specified RGBA color, clears the depth buffer, and erases the stencil buffer.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft