IDirect3DIndexBuffer9 interface (d3d9helper.h)

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

Inheritance

The IDirect3DIndexBuffer9 interface inherits from IDirect3DResource9. IDirect3DIndexBuffer9 also has these types of members:

Methods

The IDirect3DIndexBuffer9 interface has these methods.

 
IDirect3DIndexBuffer9::GetDesc

The IDirect3DIndexBuffer9::GetDesc method (d3d9helper.h) retrieves a description of the index buffer resource.
IDirect3DIndexBuffer9::Lock

The IDirect3DIndexBuffer9::Lock method (d3d9helper.h) locks a range of index data and obtains a pointer to the index buffer memory.
IDirect3DIndexBuffer9::Unlock

The IDirect3DIndexBuffer9::Unlock method (d3d9helper.h) 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

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

See also

Direct3D Interfaces

IDirect3DDevice9::CreateIndexBuffer

IDirect3DResource9

Index Buffers (Direct3D 9)