Applications use the methods of the IDirect3DVertexDeclaration9 interface to encapsulate the vertex shader declaration.
Method | Description |
---|---|
IDirect3DVertexDeclaration9::GetDeclaration | Gets the vertex shader declaration. |
IDirect3DVertexDeclaration9::GetDevice | Gets the current device. |
A vertex shader declaration is made up of an array of vertex elements.
The LPDIRECT3DVERTEXDECLARATION9 and PDIRECT3DVERTEXDECLARATION9 types are defined as pointers to the IDirect3DVertexDeclaration9 interface.
typedef struct IDirect3DVertexDeclaration9 *LPDIRECT3DVERTEXDECLARATION9, *PDIRECT3DVERTEXDECLARATION9;
Header: Declared in D3d9.h.
Import Library: Use D3d9.lib.