?/TD> |
Microsoft DirectX 9.0 |
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
Header d3dx9mesh.h Import library d3dx9.lib Minimum operating systems Windows 98
See Also
D3DXFVFFromDeclarator