D3DXGetDeclLength

Returns the number of elements in the vertex declaration.

UINT D3DXGetDeclLength(
  CONST D3DVERTEXELEMENT9 * pDecl
);

Parameters

pDecl
[in] A pointer to the vertex declaration. See D3DVERTEXELEMENT9.

Return Values

The number of elements in the vertex declaration.

Requirements

Header: Declared in D3dx9mesh.h.