Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
CullMode.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core;
4 
5 namespace SiliconStudio.Paradox.Graphics
6 {
7  /// <summary>
8  /// Indicates triangles facing a particular direction are not drawn.
9  /// </summary>
10  /// <remarks>
11  /// This enumeration is part of a rasterizer-state object description (see <see cref="RasterizerState"/>).
12  /// </remarks>
13  [DataContract]
14  public enum CullMode
15  {
16  /// <summary>
17  /// Always draw all triangles.
18  /// </summary>
19  None = 1,
20 
21  /// <summary>
22  /// Do not draw triangles that are front-facing.
23  /// </summary>
24  Front = 2,
25 
26  /// <summary>
27  /// Do not draw triangles that are back-facing.
28  /// </summary>
29  Back = 3,
30  }
31 }
CullMode
Indicates triangles facing a particular direction are not drawn.
Definition: CullMode.cs:14