d3d9.dllIDirect3DIndexBuffer9
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DIndexBuffer9 Interface


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

IDirect3DIndexBuffer9 Members

FreePrivateData Frees the specified private data associated with this resource.
GetDesc Retrieves a description of the index buffer resource.
GetDevice Retrieves the device associated with a resource.
GetPriority Retrieves the priority for this resource.
GetPrivateData Copies the private data associated with the resource to a provided buffer.
GetType Returns the type of the resource.
Lock Locks a range of index data and obtains a pointer to the index buffer memory.
PreLoad Preloads a managed resource.
SetPriority Assigns the resource-management priority for this resource.
SetPrivateData Associates data with the resource that is intended for use by the application, not by Microsoft Direct3D. Data is passed by value, and multiple sets of data can be associated with a single resource.
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 Component Object Model (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;

Interface Information

Stock Implementationd3d9.dll
Custom ImplementationNo
Inherits fromIDirect3DResource9
Headerd3d9.h
Import libraryd3d9.lib
Minimum operating systems Windows 98

See Also

IDirect3DDevice9::CreateIndexBuffer, Index Buffers


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.