# Anton Gerdelan - Vertex Buffer Objects (Highlights)

## Highlights
- All of my students tried to make a wire-frame rendering mode so I thought I'd point this out here - it's much easier to use the [built-in function](http://www.opengl.org/sdk/docs/man4/xhtml/glPolygonMode.xml) than to attempt to draw everything with GL_LINES. Call glPolygonMode(GL_FRONT, GL_LINE); before rendering. ([View Highlight](https://read.readwise.io/read/01j4nq57nkvasbh02kxqds374e)) ^755201892
- Note that we have to bind each VBO before calling [glVertexAttribPointer()](http://www.opengl.org/sdk/docs/man4/xhtml/glVertexAttribPointer.xml), which describes the layout of each buffer to the VAO. ([View Highlight](https://read.readwise.io/read/01j4nq7v5b6fyfr4r58twe133n)) ^755202032
- the vertex attribute object will remember its enabled attributes ([View Highlight](https://read.readwise.io/read/01j4nq9534sc597d0thpxr3eg5)) ^755202068