Update D3DIndexBuffer, add GetLength()