Microsoft DirectX 8.0 (C++) |
Tessellates a mesh.
HRESULT D3DXTesselateMesh( LPD3DXMESH pMeshIn, CONST DWORD* pAdjacency, FLOAT NumSegs, BOOL bQuadraticNormals LPD3DXMESH* ppMeshOut );
If the function succeeds, the return value is D3D_OK.
If the function fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DXERR_INVALIDDATA |
E_OUTOFMEMORY |
Note This function tessellates by using the n-Patch algorithm.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.