next up previous contents
Next: 18.5.3 Using Display Lists Up: 18.5 Rendering Geometry Efficiently Previous: 18.5.1 Using Peak-Performance Primitives   Contents

18.5.2 Using Vertex Arrays

Vertex arrays are available in OpenGL 1.1. They offer the following benefits:

If you use glBegin() and glEnd() instead of glDrawArrays() or glDrawElements() calls, put as many vertices as possible between the glBegin() and the glEnd() calls.


next up previous contents
Next: 18.5.3 Using Display Lists Up: 18.5 Rendering Geometry Efficiently Previous: 18.5.1 Using Peak-Performance Primitives   Contents
2001-01-10