IDirect3DDevice9::GetVertexDeclaration

Gets a vertex shader declaration.

HRESULT GetVertexDeclaration(
  IDirect3DVertexDeclaration9** ppDecl
);

Parameters

ppDecl
[out] Pointer to an IDirect3DVertexDeclaration9 object that is returned.

Return Values

If the method succeeds, the return value is D3D_OK. The return value can be D3DERR_INVALIDCALL.

Requirements

Header: Declared in D3d9.h.

See Also

IDirect3DDevice9::SetVertexDeclaration