IDirect3DVertexBuffer9 interface (d3d9helper.h)
Applications use the methods of the IDirect3DVertexBuffer9 interface to manipulate vertex buffer resources.
Inheritance
The IDirect3DVertexBuffer9 interface inherits from IDirect3DResource9. IDirect3DVertexBuffer9 also has these types of members:
Methods
The IDirect3DVertexBuffer9 interface has these methods.
IDirect3DVertexBuffer9::GetDesc The IDirect3DVertexBuffer9::GetDesc method (d3d9.h) retrieves a description of the vertex buffer resource. |
IDirect3DVertexBuffer9::Lock The IDirect3DVertexBuffer9::Lock method (d3d9helper.h) locks a range of vertex data and obtains a pointer to the vertex buffer memory. |
IDirect3DVertexBuffer9::Unlock The IDirect3DVertexBuffer9::Unlock method (d3d9helper.h) unlocks vertex data. |
Remarks
The IDirect3DVertexBuffer9 interface is obtained by calling the IDirect3DDevice9::CreateVertexBuffer method.
This interface inherits additional functionality from the IDirect3DResource9 interface.
This interface, like all COM interfaces, inherits from the IUnknown interface.
The LPDIRECT3DVERTEXBUFFER9 and PDIRECT3DVERTEXBUFFER9 types are defined as pointers to the IDirect3DVertexBuffer9 interface.
typedef struct IDirect3DVertexBuffer9 *LPDIRECT3DVERTEXBUFFER9, *PDIRECT3DVERTEXBUFFER9;
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9helper.h (include D3D9.h) |