?/TD>
Microsoft DirectX 9.0

IDirect3DDevice9::SetVertexDeclaration Method


Sets a vertex shader declaration.

Syntax

HRESULT SetVertexDeclaration(      

    IDirect3DVertexDeclaration9 *pDecl );

Parameters

pDecl
[in] Pointer to an IDirect3DVertexDeclaration9 object, which contains the vertex declaration.

Return Value

If the method succeeds, the return value is D3D_OK.

The return value can be D3DERR_INVALIDCALL.



See Also

IDirect3DDevice9::GetVertexDeclaration


© 2002 Microsoft Corporation. All rights reserved.