Arguments in DrawIndexedPrimitive & SetIndices functions

Started by
2 comments, last by TeeCee 22 years, 1 month ago
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
Advertisement
Check out my threads in this same forum about DrawIndexedPrimitive performance..
it should help you alot
THX S1CA
Ride the thrill of your life
Play Motorama
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...

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

Thanks guys,
I''m gonna go over Simon''s example again - still a bit confused at the mo.
TC

This topic is closed to new replies.

Advertisement