D3DXGetDeclLength function

Returns the number of elements in the vertex declaration.

Syntax

UINT D3DXGetDeclLength(
  _In_ const D3DVERTEXELEMENT9 *pDecl
);

Parameters

pDecl [in]

Type: const D3DVERTEXELEMENT9*

A pointer to the vertex declaration. See D3DVERTEXELEMENT9.

Return value

Type: UINT

The number of elements in the vertex declaration.

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

Mesh Functions