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.

IDirect3DVertexBuffer9 interface

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

Members

The IDirect3DVertexBuffer9 interface inherits from IDirect3DResource9. IDirect3DVertexBuffer9 also has these types of members:

Methods

The IDirect3DVertexBuffer9 interface has these methods.

MethodDescription
GetDesc

Retrieves a description of the vertex buffer resource.

Lock

Locks a range of vertex data and obtains a pointer to the vertex buffer memory.

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

Header

D3D9.h

Library

D3d9.lib

See also

IDirect3DDevice9::CreateVertexBuffer
Vertex Buffers (Direct3D 9)

 

 

Community Additions

Show:
© 2014 Microsoft