IDirect3DVertexDeclaration9 interface (d3d9helper.h)
Applications use the methods of the IDirect3DVertexDeclaration9 interface to encapsulate the vertex shader declaration.
Inheritance
The IDirect3DVertexDeclaration9 interface inherits from the IUnknown interface. IDirect3DVertexDeclaration9 also has these types of members:
Methods
The IDirect3DVertexDeclaration9 interface has these methods.
| IDirect3DVertexDeclaration9::GetDeclaration Gets the vertex shader declaration. (IDirect3DVertexDeclaration9.GetDeclaration) |
| IDirect3DVertexDeclaration9::GetDevice Gets the current device. (IDirect3DVertexDeclaration9.GetDevice) |
Remarks
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;
Requirements
| Target Platform | Windows |
| Header | d3d9helper.h (include D3D9.h) |