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
IDirect3DIndexBuffer9
Bb205865.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb205865.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IDirect3DIndexBuffer9

Applications use the methods of the IDirect3DIndexBuffer9 interface to manipulate an index buffer resource.

IDirect3DResource9
   IDirect3DIndexBuffer9

IDirect3DIndexBuffer9 Members

MethodDescription
IDirect3DIndexBuffer9::GetDescRetrieves a description of the index buffer resource.
IDirect3DIndexBuffer9::LockLocks a range of index data and obtains a pointer to the index buffer memory.
IDirect3DIndexBuffer9::UnlockUnlocks index data.

Remarks

The IDirect3DIndexBuffer9 interface is obtained by calling the IDirect3DDevice9::CreateIndexBuffer method.

This interface inherits additional functionality from the IDirect3DResource9 interface.

This interface, like all COM interfaces, inherits from the IUnknown interface.

The LPDIRECT3DINDEXBUFFER9 and PDIRECT3DINDEXBUFFER9 types are defined as pointers to the IDirect3DIndexBuffer9 interface.

typedef struct IDirect3DIndexBuffer9 *LPDIRECT3DINDEXBUFFER9, *PDIRECT3DINDEXBUFFER9;

See Also

IDirect3DDevice9::CreateIndexBuffer, Index 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