Applications use the methods of the IDirect3DVertexShader9 interface to encapsulate the functionality of a vertex shader.
Method | Description |
---|---|
IDirect3DVertexShader9::GetDevice | Gets the device. |
IDirect3DVertexShader9::GetFunction | Gets a pointer to the shader data. |
The LPDIRECT3DVERTEXSHADER9 and PDIRECT3DVERTEXSHADER9 types are defined as pointers to the IDirect3DVertexShader9 interface.
typedef struct IDirect3DVertexShader9 *LPDIRECT3DVERTEXSHADER9, *PDIRECT3DVERTEXSHADER9;
Header: Declared in D3d9.h.
Import Library: Use D3d9.lib.