Bagikan melalui


CullMode Enumeration

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

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.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

RasterizerState.CullMode Property
DepthStencilState.TwoSidedStencilMode Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP