PageRenderTime 82ms CodeModel.GetById 41ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/Utilities/Graphics/TextureFilterMode.cs

#
C# | 20 lines | 8 code | 1 blank | 11 comment | 0 complexity | 279d270211e07cd902ce42d0a38968c7 MD5 | raw file
 1namespace Delta.Utilities.Graphics
 2{
 3	/// <summary>
 4	/// Texture filter modes for textures.
 5	/// </summary>
 6	public enum TextureFilterMode
 7	{
 8		/// <summary>
 9		/// Basic filtering which just picks the nearest pixel value, without
10		/// any interpolation
11		/// </summary>
12		Nearest,
13
14		/// <summary>
15		/// Takes an average of surrounding pixels, looses some sharpness,
16		/// but looks better most of the time. (Except for 2D un-scaled images)
17		/// </summary>
18		Linear,
19	}
20}