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