• Advertisement
Sign in to follow this  

Problem with DrawIndexedPrimitive

This topic is 4551 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Here is the DrawIndexedPrimitive description given by the SDK documentation. HRESULT DrawIndexedPrimitive( D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount ); The SDK description is very brief with only 1 sentence of description. Can anyone explain in greater details on what is BaseVertexIndex and MinIndex? I have no idea what values to pass in for these 2 parameters.

Share this post


Link to post
Share on other sites
Advertisement
Don't worry, you aren't alone. I doubt there is a person alive that could understand those docs without help (or lots of trial and error). I'm surprised MS hasn't fixed them by now.

Share this post


Link to post
Share on other sites
In the August SDK, there is a section titled "Rendering from Vertex and Index Buffers" that FINALLY explains how to use DIP. It's about damn time, I say.

neneboricua

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement