?/TD>
Microsoft DirectX 9.0

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


© 2002 Microsoft Corporation. All rights reserved.