PageRenderTime 102ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 59ms app.codeStats 0ms

/Utilities/Graphics/DepthBufferMode.cs

#
C# | 41 lines | 14 code | 6 blank | 21 comment | 0 complexity | 1d3fb6ce947e4e20e29c9c3d5fc0402e MD5 | raw file
 1using System;
 2
 3namespace Delta.Utilities.Graphics
 4{
 5	/// <summary>
 6	/// Which kind of depth Buffer is used on current platform
 7	/// </summary>
 8	[Flags]
 9	public enum DepthBufferMode
10	{
11		/// <summary>
12		/// Use no depth buffer. (e.g. for 2D games) 
13		/// </summary>
14		None = 0,
15
16		/// <summary>
17		/// Use a 16bit Depth Buffer
18		/// </summary>
19		BitDepth16 = 1,
20
21		/// <summary>
22		/// Use a 24bit Depth Buffer (usually +8 bit for stencil or unused)
23		/// </summary>
24		BitDepth24 = 2,
25
26		/// <summary>
27		/// Use a 32bit Depth Buffer
28		/// </summary>
29		BitDepth32 = 4,
30
31		/// <summary>
32		/// Use Floating point Z buffer
33		/// </summary>
34		FloatingPoint = 32,
35
36		/// <summary>
37		/// Use non linear
38		/// </summary>
39		NonLinearZ = 64,
40	}
41}