IDirect3DIndexBuffer9 interface

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

Methods

The IDirect3DIndexBuffer9 interface has these methods.

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;

Requirements

   
Target Platform Windows
Header d3d9helper.h (include D3D9.h)

See Also

Direct3D Interfaces

IDirect3DDevice9::CreateIndexBuffer

IDirect3DResource9

Index Buffers (Direct3D 9)