d3d9.dllSetNPatchMode
Microsoft DirectX 9.0 SDK Update (October 2004)

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


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.