|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The IDirect3DMobileDevice::DrawIndexedPrimitiveuses the same primitive types as the IDirect3DMobileDevice::DrawPrimitivemethod 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.