Dereferencing a List of Array Elements glArrayElement() is good for randomly "hopping around" your data arrays. Similar routines, glDrawElements(), glMultiDrawElements(), and glDrawRangeElements(), are good for hopping around your data arrays in a more orderly manner. void glDrawElements(GLenum mode, GLsizei count, GLenum type, void * indices); Defines a sequence of geometric primitives using count number of […]
Advanced While vertex arrays help reduce the number of function calls to specify geometric objects, the data still resides in the client’s memory. Every time you want to utilize the enabled vertex arrays for rendering, the data is transferred from the client to the OpenGL server. While that may be as simple as sending data […]