IDirect3DDevice9::SetNPatchMode
Enable or disable N-patches.
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 Values
If the method succeeds, the return value is D3D_OK.
Requirements
Header: Declared in D3d9.h.
See Also
IDirect3DDevice9::GetNPatchMode