IDirect3DDevice8::DrawTriPatch
Draws a triangular high-order patch using the currently set streams.
HRESULT DrawTriPatch(
UINT Handle,
CONST float* pNumSegs,
CONST D3DTRIPATCH_INFO* pTriPatchInfo
);
Parameters
- Handle
- [in] Handle to the triangular 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.
- pTriPatchInfo
- [in, out] Pointer to a D3DTRIPATCH_INFO structure, describing the triangular 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