I was confused about the VBO,
glGenBuffers(1, &positionBufferObject); glBindBuffer(GL_ARRAY_BUFFER, positionBufferObject);
Besides GL_ARRA
However, the Opengl manual doesn't mention what these targets mean.
OpenGL 2.1 spec, page 38, section 2.9.1: "Vertex Arrays In Buffer Objects"
Does this mean the targets (like GL_ARRAY_BUFFER) are addresses?
Nope, they're just unsigned ints used like enums.
unsigned int
enum