Partager via


CullMode Enumeration

Defines winding orders that may be used to identify back faces for culling.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public enum CullMode

Members

  Member name Description
CullClockwiseFace Cull back faces with clockwise vertices.
CullCounterClockwiseFace Cull back faces with counterclockwise vertices.
None Do not cull back faces.

See Also

Reference

RenderState.CullMode Property
RenderState.TwoSidedStencilMode Property
GraphicsDeviceCapabilities.PrimitiveCaps.SupportsCullClockwiseFace Property
GraphicsDeviceCapabilities.PrimitiveCaps.SupportsCullCounterClockwiseFace Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista