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 3.8.0.1018)
  • C#
  • VB
  • F#
[FlagsAttribute]
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. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web