?/TD>
Microsoft DirectX 9.0

IDirect3DDevice9::SetNPatchMode Method


Enable or disable N-patches.

Syntax

HRESULT SetNPatchMode(      

    float nSegments );

Parameters

nSegments
[in] Specifies the number of subdivision segments. If the number of segments is less than 1.0, N-patches are disabled. The default value is 0.0.

Return Value

If the method succeeds, the return value is D3D_OK.



See Also

IDirect3DDevice9::GetNPatchMode


© 2002 Microsoft Corporation. All rights reserved.