Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 9
Reference
Direct3D Reference
Interfaces

  Switch on low bandwidth view
IDirect3DVertexBuffer9
Bb205915.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb205915.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IDirect3DVertexBuffer9

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

IDirect3DResource9
   IDirect3DVertexBuffer9

IDirect3DVertexBuffer9 Members

MethodDescription
IDirect3DVertexBuffer9::GetDescRetrieves a description of the vertex buffer resource.
IDirect3DVertexBuffer9::LockLocks a range of vertex data and obtains a pointer to the vertex buffer memory.
IDirect3DVertexBuffer9::UnlockUnlocks 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 (Direct3D 9)

Requirements

Header: Declared in D3D9.h.

Library: Use D3d9.lib.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker