DepthFormat Enumeration (Microsoft.Xna.Framework.Graphics)

Defines formats for depth-stencil buffer.

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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The DepthFormat type exposes the following members.

  Platforms Name Description
Depth16 16-bit depth buffer. 
Depth24 24-bit depth buffer. Equivalent of Depth24Stencil8 for DirectX platforms. 
Depth24Stencil8 32-bit depth-stencil buffer. Where 24-bit depth and 8-bit for stencil used. 
None Depth-stencil buffer will not be created. 
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop