Retrieve information about an index buffer by calling the IDirect3DIndexBuffer8::GetDesc method. This method fills the members of the D3DINDEXBUFFER_DESC structure with information about the vertex buffer.