Indexed Primitives

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The IDirect3DMobileDevice::DrawIndexedPrimitive uses the same primitive types as the IDirect3DMobileDevice::DrawPrimitive method but the vertices are retrieved differently. Instead of reading consecutive vertices directly from the vertex buffer, consecutive indices are read from the active index buffer. Each index is an offset into the vertex buffer and so it specifies which vertex is to be retrieved from the vertex buffer.

Community Additions

Show: