Microsoft DirectX 8.0 (C++) |
Uses an epsilon value to generate face adjacency information that is more flexible for optimization and simplification operations.
HRESULT GenerateAdjacency( FLOAT Epsilon, DWORD* pAdjacency );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DXERR_INVALIDDATA |
E_OUTOFMEMORY |
This method only logically welds the vertices and no changes are made to the mesh. D3DXWeldVertices should be called after this method if modifying the mesh is desired.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.