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.
Overload List
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. |
See Also
Reference
Device Class
Device Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace