Share via


RenderStateManager.CullMode Property (Microsoft.DirectX.Direct3D)

Specifies how back-facing triangles are culled, if at all.

Definition

Visual Basic Public Property CullMode As Cull
C# public Cull CullMode { get; set; }
C++ public:
property Cull CullMode {
        Cull get();
        void set(Cull value);
}
JScript public function get CullMode() : Cull
public function set CullMode(Cull);

Property Value

Microsoft.DirectX.Direct3D.Cull
Value of the Cull enumeration that specifies the culling mode to set or retrieve.

This property is read/write. 

Remarks

The default value is Cull.CounterClockwise.