Microsoft DirectX 8.0 (C++) |
Applications use the methods of the IDirect3DVertexBuffer8 interface to manipulate vertex buffer resources.
The IDirect3DVertexBuffer8 interface is obtained by calling the IDirect3DDevice8::CreateVertexBuffer method.
The IDirect3DVertexBuffer8 interface inherits the following IDirect3DResource8 methods, which can be organized into these groups.
Devices | GetDevice |
Information | GetType |
Private Surface Data | FreePrivateData |
GetPrivateData | |
SetPrivateData | |
Resource Management | GetPriority |
PreLoad | |
SetPriority |
The methods of the IDirect3DVertexBuffer8 interface can be organized into the following groups.
Information | GetDesc |
Locking | Lock |
Unlock |
The IDirect3DVertexBuffer8 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.
IUnknown | AddRef |
QueryInterface | |
Release |
The LPDIRECT3DVERTEXBUFFER8 and PDIRECT3DVERTEXBUFFER8 types are defined as pointers to the IDirect3DVertexBuffer8 interface.
typedef struct IDirect3DVertexBuffer8 *LPDIRECT3DVERTEXBUFFER8, *PDIRECT3DVERTEXBUFFER8;
Header: Declared in D3d8.h.
Import Library: Use D3d8.lib.