/Utilities/Graphics/DepthBufferMode.cs
C# | 41 lines | 14 code | 6 blank | 21 comment | 0 complexity | 1d3fb6ce947e4e20e29c9c3d5fc0402e MD5 | raw file
Possible License(s): Apache-2.0
- using System;
-
- namespace Delta.Utilities.Graphics
- {
- /// <summary>
- /// Which kind of depth Buffer is used on current platform
- /// </summary>
- [Flags]
- public enum DepthBufferMode
- {
- /// <summary>
- /// Use no depth buffer. (e.g. for 2D games)
- /// </summary>
- None = 0,
-
- /// <summary>
- /// Use a 16bit Depth Buffer
- /// </summary>
- BitDepth16 = 1,
-
- /// <summary>
- /// Use a 24bit Depth Buffer (usually +8 bit for stencil or unused)
- /// </summary>
- BitDepth24 = 2,
-
- /// <summary>
- /// Use a 32bit Depth Buffer
- /// </summary>
- BitDepth32 = 4,
-
- /// <summary>
- /// Use Floating point Z buffer
- /// </summary>
- FloatingPoint = 32,
-
- /// <summary>
- /// Use non linear
- /// </summary>
- NonLinearZ = 64,
- }
- }