?/TD>
Microsoft DirectX 9.0

D3DXDeclaratorFromFVF Function


Returns a declarator from a flexible vertex format (FVF) code.

Syntax

HRESULT D3DXDeclaratorFromFVF(      

    DWORD FVF,     D3DVERTEXELEMENT9 Declaration[MAX_FVF_DECL_SIZE] );

Parameters

FVF
[in] Combination of D3DFVF that describes the FVF from which to generate the returned declarator array.
Declaration
[in, out] An array of D3DVERTEXELEMENT9 elements describing the vertex format of the mesh vertices. The upper limit of this declarator array is MAX_FVF_DECL_SIZE.

Return Value

If the function succeeds, the return value is D3D_OK.

If the function fails, the return value can be D3DXERR_INVALIDMESH.



Function Information

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

See Also

D3DXFVFFromDeclarator


© 2002 Microsoft Corporation. All rights reserved.