D3DXDeclaratorFromFVF
Returns a declarator from a flexible vertex format (FVF) code.
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 Values
If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DXERR_INVALIDMESH.
Requirements
Header: Declared in D3dx9mesh.h.
See Also
D3DXFVFFromDeclarator