Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

See also

Direct3D Interfaces

 

 

Show:
© 2017 Microsoft