client state vertex

Hi, I hear from other people saying that client state array, is the fastest way to draw triangles. but it requires you data be organized in a special way.

I would like to ask how do the data need to be organized in a special way?


Could someone move this to the beginner’s board?

Also, look up DrawRangeElements() in the spec; that’s what you’re after.

Last, there’s a link at which explains how to prepare the data.