IDirect3DVertexDeclaration9 interface

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

Members

The IDirect3DVertexDeclaration9 interface inherits from the IUnknown interface. IDirect3DVertexDeclaration9 also has these types of members:

Methods

The IDirect3DVertexDeclaration9 interface has these methods.

MethodDescription
GetDeclaration

Gets the vertex shader declaration.

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

Header

D3D9.h

Library

D3d9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.