D3DXGetDeclVertexSize
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXGetDeclVertexSize Function


Returns the size of a vertex for a flexible vertex format (FVF).

Syntax

UINT WINAPI D3DXGetDeclVertexSize(      

    CONST D3DVERTEXELEMENT9 *pDecl,     DWORD Stream );

Parameters

pDecl
[in] A pointer to the vertex declaration. See D3DVERTEXELEMENT9.
Stream
[in] The zero-based stream index.

Return Value

The vertex declaration size, in bytes.

Function Information

Headerd3dx9mesh.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.