d3d9.dllGetVertexDeclaration
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DDevice9::GetVertexDeclaration Method


Gets a vertex shader declaration.

Syntax

HRESULT GetVertexDeclaration(      

    IDirect3DVertexDeclaration9** ppDecl );

Parameters

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

Return Value

If the method succeeds, the return value is D3D_OK.

The return value can be D3DERR_INVALIDCALL.

See Also

IDirect3DDevice9::SetVertexDeclaration


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.