IDirect3DVertexBuffer9

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

IDirect3DResource9
   IDirect3DVertexBuffer9

IDirect3DVertexBuffer9 Members

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;

See Also

IDirect3DDevice9::CreateVertexBuffer, Vertex Buffers

Requirements

Header: Declared in D3d9.h.

Import Library: Use D3d9.lib.