Orzech
08-09-2003, 03:36 AM
Hello
Yesterday I was browsing some documents from game developers metting. I was reading something about increasing OpenGL applications performance and it was said that we should use only glDrawElements in case of vertex arrays. Why is that so? Is glDrawArrays worse? I always thought that glDrawArrays is faster than glDrawElement because it don't have to read this whole index array. Meaby there are some other reasons but the article was rather speed-related.
What do you think about that?
Thanks
Orzech
Yesterday I was browsing some documents from game developers metting. I was reading something about increasing OpenGL applications performance and it was said that we should use only glDrawElements in case of vertex arrays. Why is that so? Is glDrawArrays worse? I always thought that glDrawArrays is faster than glDrawElement because it don't have to read this whole index array. Meaby there are some other reasons but the article was rather speed-related.
What do you think about that?
Thanks
Orzech