Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Enable or disable N-patches.
Syntax
HRESULT SetNPatchMode(
[in] float nSegments
);
Parameters
[in] nSegments
Type: float
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
Type: HRESULT
If the method succeeds, the return value is D3D_OK.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d9.h (include D3D9.h) |
| Library | D3D9.lib |