Archived

This topic is now archived and is closed to further replies.

Arguments in DrawIndexedPrimitive & SetIndices functions

This topic is 5775 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

Hi all, I am trying to get to grips with index buffers, and am kinda there, except for 2 function arguments which are confusing the hell outa me. Can anyone explain 1. what the "MinIndex" parameter in the DrawIndexedPrimitive function does? 2. what the "BaseVertexIndex" parameter in the SetIndices function is for? Thanks for any help you can give, TC

Share this post


Link to post
Share on other sites
No problem

I''ve sorted out the example code in that post too so that the i variable doesn''t cause it to go into italic and the less than in the loop doesn''t become a HTML tag - should make it a bit clearer...

Share this post


Link to post
Share on other sites