Share via


EffectStateManager.SetNPatchMode(Single) Method (Microsoft.DirectX.Direct3D)

Sets the number of subdivision segments for N-patches.

Definition

Visual Basic MustOverride Public Sub SetNPatchMode( _
    ByVal numberSegments As Single _
)
C# public abstract void SetNPatchMode(
    float numberSegments
);
C++ public:
virtual void SetNPatchMode(
    float numberSegments
) abstract;
JScript public abstract function SetNPatchMode(
    numberSegments : float
);

Parameters

numberSegments System.Single
A float value that represents the number of segments for N-patches.

Remarks

SetNPatchMode is a user-implemented method that is called from an effect during rendering.