Returns the number of elements in the vertex declaration.
UINT D3DXGetDeclLength( CONST D3DVERTEXELEMENT9 * pDecl );
The number of elements in the vertex declaration.
Header: Declared in D3dx9mesh.h.