Microsoft DirectX 8.1 (C++)

ID3DXBaseMesh::GetDeclaration

Retrieves a declaration describing the vertices in the mesh.

HRESULT GetDeclaration(
  DWORD Declaration[MAX_FVF_DECL_SIZE]
);

Parameters

Declaration
[in, out] A returned array describing the vertex format of the vertices in the queried mesh. The upper limit of this declarator array is MAX_FVF_DECL_SIZE, limiting the declarator to a maximum of 20 DWORDs.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Applies To

This method applies to the following interfaces, which inherit from ID3DXBaseMesh.

Requirements

  Header: Declared in D3dx8mesh.h.
  Import Library: Use D3dx8.lib.

See Also

ID3DXBaseMesh::GetFVF