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


Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.964)
  • C#
  • VB
  • F#
public void Clear(
	ClearOptions options, 
	Color 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.Color
depth
Type: System.Single
stencil
Type: System.Int32
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web