Retrieves index data.
HRESULT GetIndices( IDirect3DIndexBuffer9 ** ppIndexData, UINT * pBaseVertexIndex );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
Calling this method will increase the internal reference count on the IDirect3DIndexBuffer9 interface. Failure to call IUnknown::Release when finished using this IDirect3DIndexBuffer9 interface results in a memory leak.
Header: Declared in D3d9.h.
IDirect3DDevice9::SetIndices , IDirect3DDevice9::DrawIndexedPrimitive, IDirect3DDevice9::DrawIndexedPrimitiveUP, IDirect3DDevice9::DrawPrimitive, IDirect3DDevice9::DrawPrimitiveUP, Index Buffers