GraphicsDevice.Clear Method (Color)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Clears resource buffers.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)
Syntax
'Declaration
Public MustOverride Sub Clear ( _
color As Color _
)
public abstract void Clear(
Color color
)
Parameters
- color
Type: Microsoft.Xna.Framework.Color
Set this color value in all buffers.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.