Sets index data.
HRESULT SetIndices( IDirect3DIndexBuffer9 * pIndexData );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be: D3DERR_INVALIDCALL.
When an application no longer holds a references to this interface, the interface will automatically be freed.
The IDirect3DDevice9::SetIndices method sets the current index array to an index buffer. The single set of indices is used to index all streams.
Header: Declared in D3d9.h.
IDirect3DDevice9::GetIndices , IDirect3DDevice9::DrawIndexedPrimitive, IDirect3DDevice9::DrawIndexedPrimitiveUP, IDirect3DDevice9::DrawPrimitive, IDirect3DDevice9::DrawPrimitiveUP , Index Buffers