Device.Clear Method
.NET Framework 2.0
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: