Optimizes the base level of detail (LOD) part of an ID3DXPMesh object.
HRESULT OptimizeBaseLOD( DWORD Flags, DWORD * pFaceRemap );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
After an application generates adjacency information for a mesh, the mesh data can be optimized (reordered) for better drawing performance. This method determines which patches are adjacent (within the provided tolerance).
Header: Declared in D3dx9mesh.h.