Share via


RenderStateManager.PatchEdgeStyle Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the tessellation mode for patch edges.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.PatchEdge
Value of the PatchEdge enumeration that represents the degree of interpolation to set or retrieve.

This property is read/write. 

Remarks

The default render state is PatchEdge.Discrete.

Using the PatchEdge.Continuous tessellation mode helps reduce rendering artifacts.