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

The IDirect3DVertexDeclaration9::GetDeclaration method (d3d9helper.h) gets the vertex shader declaration.
IDirect3DVertexDeclaration9::GetDevice

The IDirect3DVertexDeclaration9::GetDevice method (d3d9helper.h) gets the current device.

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

Requirement Value
Target Platform Windows
Header d3d9helper.h (include D3D9.h)

See also

Direct3D Interfaces