GraphicsDevice.Clear Method (Microsoft.Xna.Framework.Graphics)


Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void Clear(
	ClearOptions options, 
	Vector4 color, 
	float depth, 
	int stencil
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

options
Type: Microsoft.Xna.Framework.Graphics.ClearOptions
color
Type: Microsoft.Xna.Framework.Vector4
depth
Type: System.Single
stencil
Type: System.Int32
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web