ClearOptions Enumeration (Microsoft.Xna.Framework.Graphics)

Defines the buffers for clearing when calling Clear(ClearOptions, Color, float, int) operation.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public enum ClearOptions

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ClearOptions type exposes the following members.

  Platforms Name Description
DepthBuffer Depth buffer. 
Stencil Stencil buffer. 
Target Color buffer. 
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop