?/TD> |
Microsoft DirectX 9.0 |
Applications use the methods of the IDirect3DVertexBuffer9 interface to manipulate vertex buffer resources.
IDirect3DVertexBuffer9 Members
FreePrivateData Frees the specified private data associated with this resource.
GetDesc Retrieves a description of the vertex buffer resource. GetDevice Retrieves the device associated with a resource.
GetPriority Retrieves the priority for this resource.
GetPrivateData Copies the private data associated with the resource to a provided buffer.
GetType Returns the type of the resource.
Lock Locks a range of vertex data and obtains a pointer to the vertex buffer memory. PreLoad Preloads a managed resource.
SetPriority Assigns the resource-management priority for this resource.
SetPrivateData Associates data with the resource that is intended for use by the application, not by Microsoft?Direct3D? Data is passed by value, and multiple sets of data can be associated with a single resource.
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 Component Object Model (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;
Interface Information
Inherits from IDirect3DResource9 Header d3d9.h Import library d3d9.lib Minimum operating systems Windows 98
See Also
IDirect3DDevice9::CreateVertexBuffer