Microsoft DirectX 8.1 (C++) |
Returns the maximum number of vertex influences.
HRESULT GetMaxVertexInfluences( DWORD* maxVertexInfluences );
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
Each vertex can be affected by n bones. If this method returns a value of 17, up to 17 bones affect a single vertex of the skin mesh. So, there are 17 separate weights on that vertex which add up to 1.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.