Microsoft DirectX 8.1 (C++) |
Returns a flexible vertex format (FVF) code from a declarator.
HRESULT D3DXFVFFromDeclarator( CONST DWORD* pDeclarator, DWORD* pFVF );
If the function succeeds, the return value is D3D_OK.
If the function fails, the return value can be D3DERR_INVALIDCALL.
Note This function will fail for any declarator that doesn't map directly to an FVF.
Header: Declared in D3dx8mesh.h.
Import Library: Use D3dx8.lib.