IDirect3DIndexBuffer9

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

IDirect3DResource9
   IDirect3DIndexBuffer9

IDirect3DIndexBuffer9 Members

Method Description
IDirect3DIndexBuffer9::GetDesc Retrieves a description of the index buffer resource.
IDirect3DIndexBuffer9::Lock Locks a range of index data and obtains a pointer to the index buffer memory.
IDirect3DIndexBuffer9::Unlock Unlocks 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

Requirements

Header: Declared in D3d9.h.

Import Library: Use D3d9.lib.