IDirect3DDevice8::DrawRectPatch
Draws a rectangular high-order patch using the currently set streams.
HRESULT DrawRectPatch(
UINT Handle,
CONST float* pNumSegs,
CONST D3DRECTPATCH_INFO* pRectPatchInfo
);
Parameters
- Handle
- [in] Handle to the rectangular high-order patch to draw.
- pNumSegs
- [in, out] Pointer to a floating-point value identifying the number of segments that each edge of the high-order primitive should be divided into when tessellated.
- pRectPatchInfo
- [in, out] Pointer to a D3DRECTPATCH_INFO structure, describing the rectangular high-order patch to draw.
Return Values
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.
See Also
IDirect3DDevice8::DeletePatch, Drawing Patches