IDirect3DVertexDeclaration9 interface

Applications use the methods of the IDirect3DVertexDeclaration9 interface to encapsulate the vertex shader declaration.

Methods

The IDirect3DVertexDeclaration9 interface has these methods.

Method Description
IDirect3DVertexDeclaration9::GetDeclaration Gets the vertex shader declaration.
IDirect3DVertexDeclaration9::GetDevice 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

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

See Also

Direct3D Interfaces