IDirect3DVertexBuffer9 interface

Applications use the methods of the IDirect3DVertexBuffer9 interface to manipulate vertex buffer resources.

Methods

The IDirect3DVertexBuffer9 interface has these methods.

Method Description
IDirect3DVertexBuffer9::GetDesc Retrieves a description of the vertex buffer resource.
IDirect3DVertexBuffer9::Lock Locks a range of vertex data and obtains a pointer to the vertex buffer memory.
IDirect3DVertexBuffer9::Unlock 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

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

See Also

Direct3D Interfaces

IDirect3DDevice9::CreateVertexBuffer

IDirect3DResource9

Vertex Buffers (Direct3D 9)