GraphicsDevice.Clear Method (Color)
Clears resource buffers.
Syntax
'Declaration
Public Sub Clear ( _
color As Color _
)
public void Clear (
Color color
)
public:
void Clear(
Color color
)
Parameters
- color
Type: Color
Set this color value in all buffers.
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone