D3d model primitive end