Direct3D device interfaces later than the first device interface (IDirect3DDevice) support the DrawPrimitive rendering architecture. The DrawPrimitive family of methods—introduced in DirectX 5.0 with the IDirect3DDevice2 interface, and extended by IDirect3DDevice3—can render different types of primitives such as points, lines, or collections of triangles. (Primitives are discussed in detail in Primitive Types.)
You can group vertices for a primitive in two basic ways:
The DrawPrimitive architecture makes it possible to render groups of vertices that define a primitive in a single call, or to render the vertices that comprise a primitive one-by-one. For more information, see Rendering Primitives.