Archived

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

TeeCee

Arguments in DrawIndexedPrimitive & SetIndices functions

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